Commit Graph

188 Commits

Author SHA1 Message Date
Ilia Rostovtsev
fa717574b0 Fix to work with bin/webmin command 2020-06-18 18:29:15 +03:00
Ilia Rostovtsev
918645c7a5 Fix Perl warning 2020-06-18 17:50:30 +03:00
Ilia Rostovtsev
870893521e Fix typo in pod 2020-06-18 17:00:54 +03:00
Ilia Rostovtsev
7002d0cd32 Fix translator regex bugs 2020-05-02 22:31:31 +03:00
Ilia Rostovtsev
5bd7023956 Fix to substitute reserved for help/ as well 2020-04-29 20:51:42 +03:00
Ilia Rostovtsev
93d2e2d8dd Fix altered escaped HTML (ja) 2020-04-29 15:11:52 +03:00
Ilia Rostovtsev
80b0801937 Add support for symlinked modules 2020-04-28 18:07:30 +03:00
Ilia Rostovtsev
a81ae41f3e Substitute reserved words, which are broken for some languages 2020-04-28 12:36:33 +03:00
Ilia Rostovtsev
092e146b9e Fix language (ru) specific bug 2020-04-28 00:19:54 +03:00
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