Commit Graph

179 Commits

Author SHA1 Message Date
Ilia Rostovtsev
1487e8dcf8 Add a work-around to fix translator bug for Russian specifically 2020-04-27 23:58:23 +03:00
Ilia Rostovtsev
61740a82f0 Handle "\n" new line char in text mode translations 2020-04-27 21:53:30 +03:00
Ilia Rostovtsev
e1242a3f81 Automatically detect if we can upgrade to HTML mode 2020-04-27 21:10:41 +03:00
Ilia Rostovtsev
4f449dc577 Fix heal mode 2020-04-27 20:58:32 +03:00
Ilia Rostovtsev
777ca23ece Add a feature to recover double-encoded language files 2020-04-27 18:05:46 +03:00
Ilia Rostovtsev
203a7f5baa Add ability to force re-translate and force HTML format for certain keys
Usage: `language-manager -m=bind8 -kft=mass_desc -kfh=mass_desc`
2020-04-27 14:02:39 +03:00
Ilia Rostovtsev
fc0676c857 Fix to drop using a delay 2020-04-26 11:43:48 +03:00
Ilia Rostovtsev
d63f86c7da Enforce permissions for help files too 2020-04-25 13:56:09 +03:00
Ilia Rostovtsev
ccd9657fa9 Remove files if empty 2020-04-25 13:22:29 +03:00
Ilia Rostovtsev
a0c6e588bd Fix nasty variable scope bug 2020-04-25 12:19:32 +03:00
Ilia Rostovtsev
605b72f440 Fix module.info processing bug 2020-04-24 15:05:32 +03:00
Ilia Rostovtsev
dc1b14d8b5 Remove debug prints 2020-04-24 13:09:03 +03:00
Ilia Rostovtsev
2f663d3692 Fix regex to really get file extension 2020-04-24 13:06:34 +03:00
Ilia Rostovtsev
561c753e40 Fix small bugs 2020-04-23 23:16:36 +03:00
Ilia Rostovtsev
e4b9a59e73 Add final steps in supporting "help/" transcoding/translation 2020-04-23 18:09:10 +03:00
Ilia Rostovtsev
41e5ae2a46 Add supporting "help/" transcoding/translation /4 2020-04-22 21:36:01 +03:00
Ilia Rostovtsev
cced2fe589 Add supporting "help/" transcoding/translation /3 2020-04-20 17:20:18 +03:00
Ilia Rostovtsev
b6a62e62d7 Add second step in supporting "help/" transcoding/translation 2020-04-19 19:58:17 +03:00
Ilia Rostovtsev
65c1891d9d Add first step in supporting "help/" transcoding/translation 2020-04-15 21:01:16 +03:00
Ilia Rostovtsev
7535c1318c Fix not wring a file in transcode only mode 2020-04-14 01:30:48 +03:00
Ilia Rostovtsev
5f8e23218f Fix no to write empty files 2020-04-14 01:24:52 +03:00
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