208 Commits

Author SHA1 Message Date
Ilia Rostovtsev
75f0ca4ba5 Add search/replace feature, executed against original template values 2020-04-14 00:56:20 +03:00
Ilia Rostovtsev
d80bbaeb79 Question mark is a part of regex, just use some other char 2020-04-09 22:15:41 +03:00
Ilia Rostovtsev
82a2d13268 Add fixes to initial files first 2020-04-09 21:48:33 +03:00
Ilia Rostovtsev
8b25ff7c98 Fix few comments 2020-04-08 20:31:01 +03:00
Ilia Rostovtsev
5663b90a58 Transcode "config.info" files properly 2020-04-08 20:07:39 +03:00
Ilia Rostovtsev
24facaec53 Drop pointless, untranslated copies of main "config.info" file 2020-04-08 18:03:36 +03:00
Ilia Rostovtsev
032da8f594 Add support for exluding processing symlinks 2020-03-29 15:02:45 +03:00
Ilia Rostovtsev
fceb41b21a Add Usermin config support 2020-03-27 19:49:56 +03:00
Ilia Rostovtsev
d26cbcc2eb Fix typo 2020-03-14 21:41:25 +03:00
Ilia Rostovtsev
2fc10e9c67 Add better way to just transcode all other modules 2020-03-14 20:32:48 +03:00
Ilia Rostovtsev
98ee113c42 Fix last known bug .. translate script is finished! 🎉 🥳 2020-03-14 18:24:09 +03:00
Ilia Rostovtsev
d971277e95 Don't print in-sync message for certain modes; fix bugs 2020-03-14 18:14:53 +03:00
Ilia Rostovtsev
c5bf395d25 If all in-sync, just print such message 2020-03-14 18:03:39 +03:00
Ilia Rostovtsev
3ebb597f4d Don't print stored strings in sync mode, only translated 2020-03-14 17:19:11 +03:00
Ilia Rostovtsev
a5c33d4fc7 Keep order for human translations based on template language (en) 2020-03-14 16:59:40 +03:00
Ilia Rostovtsev
e865cab021 Consider skipping source auto 2020-03-14 16:46:47 +03:00
Ilia Rostovtsev
6aec7fa7ba Add support to sync strings between template file (en) and all other languages
It's a default option and should be used as `language-manager -m=module` to sync all strings language files based on template language (def. en). If you add or remove anything to/from `en` language file, it has to be either translated or removed from other language files
2020-03-14 16:43:55 +03:00
Ilia Rostovtsev
5900266199 Process % surrounded with spaces 2020-03-11 12:30:12 +03:00
Ilia Rostovtsev
16896241b5 Make exclusions work as well for modules manually picked 2020-03-08 23:50:44 +03:00
Ilia Rostovtsev
26329cc5e4 Fix to skip transcoding already processed modules 2020-03-08 00:17:19 +03:00
Ilia Rostovtsev
f37fe607fe No more translations for Urdu with tags in strings 2020-03-06 12:08:26 +03:00
Ilia Rostovtsev
a9b004bbfc Better way of getting rid from undesirable spaces in parentheses 2020-03-06 01:49:58 +03:00
Ilia Rostovtsev
cdfd246a00 Fix values in parentheses 2020-03-06 01:42:36 +03:00
Ilia Rostovtsev
9ca62f80b0 Add language specific fixes 2020-03-06 00:58:39 +03:00
Ilia Rostovtsev
1965a4a674 Fix bug preventing keeping initial order for .auto files 2020-03-05 00:08:24 +03:00
Ilia Rostovtsev
342aac785a Support additional replacements for Urdu 2020-03-05 00:01:15 +03:00
Ilia Rostovtsev
1bc8b8ad41 Add ability to preserve order for .auto files based on source (en) 2020-03-04 23:10:30 +03:00
Ilia Rostovtsev
22cf40093d New, much smarter post translation parser 2020-03-04 22:16:57 +03:00
Ilia Rostovtsev
e203831eba Treat + it is not not as + 2020-03-04 12:28:10 +03:00
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