Commit Graph

79 Commits

Author SHA1 Message Date
Ilia Rostovtsev
fbe6354a65 Fix system processing error for un-quoted $1, $2, $3 2020-03-04 01:39:02 +03:00
Ilia Rostovtsev
fc3a8dc6ea Don't wrap for links 2020-03-03 18:36:04 +03:00
Ilia Rostovtsev
772eb98b72 Always consider / between actual words to be a delimiter 2020-03-03 18:29:50 +03:00
Ilia Rostovtsev
2d7d4439a0 Fit commit text 2020-03-03 17:13:33 +03:00
Ilia Rostovtsev
fcd1e97a51 Fix auto-commit feature 2020-03-03 17:10:44 +03:00
Ilia Rostovtsev
2199c9c371 Path may start with ~ 2020-03-03 16:14:56 +03:00
Ilia Rostovtsev
8293fc267a Catch sigint and add git auto-commit 2020-03-03 15:52:43 +03:00
Ilia Rostovtsev
76851e2b2e Add explicit "testing message" when testing 2020-03-03 12:56:28 +03:00
Ilia Rostovtsev
c260dd634f Ask "yes" or "no" more times before failing 2020-03-03 12:47:01 +03:00
Ilia Rostovtsev
f5c0a3870a Display a message for testing only 2020-03-03 12:23:48 +03:00
Ilia Rostovtsev
847c58661a Move lang code to the beginning of the string 2020-03-03 00:23:47 +03:00
Ilia Rostovtsev
96f006735c Always fix properly included path 2020-03-02 17:31:52 +03:00
Ilia Rostovtsev
853312eca4 Less tags to restore 2020-03-02 17:15:11 +03:00
Ilia Rostovtsev
90b9a1db6c Support new formatting as based on (lang) in root 2020-03-02 17:07:49 +03:00
Ilia Rostovtsev
2014f245ea Display current language in messages 2020-03-02 16:46:26 +03:00
Ilia Rostovtsev
7c4b8134d5 Add auto-retry message 2020-03-02 14:03:56 +03:00
Ilia Rostovtsev
a3a8b4ac68 Fix bugs 2020-03-02 14:00:23 +03:00
Ilia Rostovtsev
833cdce1e0 Don't process comments 2020-03-02 13:40:12 +03:00
Ilia Rostovtsev
13b462faa0 Fix docs and add new error message 2020-03-02 13:32:17 +03:00
Ilia Rostovtsev
e88266ff8e Manage all from go loop; fix docs 2020-03-02 12:40:38 +03:00
Ilia Rostovtsev
5e8c9aac16 Rename option to only-diff 2020-03-02 12:14:54 +03:00
Ilia Rostovtsev
349b2626ce Add an option to transcode to new format only and exit 2020-03-02 11:58:34 +03:00
Ilia Rostovtsev
ed51fca37f Renamed script, and now delete old 2020-03-02 00:33:04 +03:00
Ilia Rostovtsev
4bba8eec6a On error just try again automatically 2020-03-02 00:27:21 +03:00
Ilia Rostovtsev
34b64f9cf4 Renamed to language-manager 2020-03-01 21:06:49 +03:00
Ilia Rostovtsev
16534cd47d Add ability to test and exclude keys from translation 2020-03-01 21:05:59 +03:00
Ilia Rostovtsev
65f4b7483c Add ability to ignore keys 2020-03-01 18:51:23 +03:00
Ilia Rostovtsev
6fc8a59b88 Really return translated value on error 2020-03-01 16:08:14 +03:00
Ilia Rostovtsev
8fe291a235 Add ability to exclude human translated languages; fix regexps 2020-03-01 15:40:00 +03:00
Ilia Rostovtsev
03640725b3 Change invalid encoding for he lang 2020-03-01 12:48:06 +03:00
Ilia Rostovtsev
2e377b5140 Don't fail on translator error; add exclude target languages option 2020-03-01 03:02:06 +03:00
Ilia Rostovtsev
8b5ae4f3a1 Reduce token check time to avoid expirations 2020-02-29 22:34:25 +03:00
Ilia Rostovtsev
16d938b8ed Fix another uninitialized value warning 2020-02-29 22:00:41 +03:00
Ilia Rostovtsev
afe732e975 Preserve original string formatting - text : or text : $1 2020-02-29 21:43:34 +03:00
Ilia Rostovtsev
23f50510c4 Preserve dates example formatting 2020-02-29 21:09:28 +03:00
Ilia Rostovtsev
bac28ccd35 Preserve inner formatting for tag's attrs 2020-02-29 20:48:46 +03:00
Ilia Rostovtsev
59c3c014f2 Fix another uninitialized value warning 2020-02-29 19:56:19 +03:00
Ilia Rostovtsev
d428cbeb1e Fix uninitialized value warning 2020-02-29 19:55:04 +03:00
Ilia Rostovtsev
359e47a332 Fix type uninitialized error 2020-02-29 19:49:03 +03:00
Ilia Rostovtsev
4c4bb4fa97 Fix to update start time 2020-02-29 01:31:19 +03:00
Ilia Rostovtsev
9fd353a857 Unescape single quotes 2020-02-29 00:47:12 +03:00
Ilia Rostovtsev
33fed8d5ed Quote path for Google Translate to prevent translation logic corruption
.. unless path is quoted, the translation results are broken for some languages. It's obviously Goole Translate bug that we need to work around.
2020-02-29 00:24:37 +03:00
Ilia Rostovtsev
c301989c9f Auch, "quantifier" cannot be "greedy" - retranslating the last .. 2020-02-28 23:33:29 +03:00
Ilia Rostovtsev
62ca456cfa Fix missing $opt ref 2020-02-28 23:25:35 +03:00
Ilia Rostovtsev
c90848b59a Translate module info always using HTML format
This is all very tricky and hacky - we need to preserve the path that can be wrapped to span with notranslate attr, and while `module.info` strings doesn't have any extra HTML it will work just fine
2020-02-28 23:14:45 +03:00
Ilia Rostovtsev
27dde7c488 This time update GT API token properly 2020-02-28 21:43:17 +03:00
Ilia Rostovtsev
38cc53cc71 Update GT API token properly 2020-02-28 21:42:25 +03:00
Ilia Rostovtsev
9ef21468db Remove all spaces from path when broken by translator 2020-02-28 21:37:02 +03:00
Ilia Rostovtsev
aa6adca01d Fix to preserve paths in string as it is, e.g. /etc/rpc 2020-02-28 21:17:19 +03:00
Ilia Rostovtsev
82b4bde6b4 Add token expiration check and module exclude option 2020-02-28 20:45:44 +03:00