Commit Graph

24451 Commits

Author SHA1 Message Date
Ilia Rostovtsev
8fe291a235 Add ability to exclude human translated languages; fix regexps 2020-03-01 15:40:00 +03:00
Ilia Rostovtsev
4c1691be11 Mark more language to go auto as translation seems very decent
Aside from that, we will generate user-friendly notice on UI
2020-03-01 13:55:40 +03:00
Ilia Rostovtsev
1a8051c571 Fix minor issues with translations for webmin module 2020-03-01 13:29:48 +03:00
Ilia Rostovtsev
c3929a7535 Merge branch 'master' of github.com:webmin/webmin 2020-03-01 12:50:46 +03:00
Ilia Rostovtsev
8dfbf94f03 Add complete translation for webmin module 2020-03-01 12:49:43 +03:00
Ilia Rostovtsev
03640725b3 Change invalid encoding for he lang 2020-03-01 12:48:06 +03:00
Jamie Cameron
aab3c255fc Remove ancient check for old old BIND versions https://github.com/webmin/webmin/issues/1167 2020-02-29 16:23:32 -08:00
Jamie Cameron
19e00b1be6 Merge branch 'master' of github.com:webmin/webmin 2020-02-29 16:20:48 -08: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
0585f34fec Set default charset if possible 2020-03-01 02:58:11 +03:00
Ilia Rostovtsev
02e3722b01 Display charset details 2020-02-29 23:59:31 +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
80d34a59d5 Language Transform: All modules transcode/translate (module) to utf-8 3/3 2020-02-29 07:48:18 +03:00
Ilia Rostovtsev
4c4bb4fa97 Fix to update start time 2020-02-29 01:31:19 +03:00
Ilia Rostovtsev
c84155f9e9 Fix previous translations for module.info with broken paths 2020-02-29 00:47:52 +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
6a1bea4c75 Properly escape path when translating 2020-02-28 22:32:02 +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
Ilia Rostovtsev
dbdf540ea3 Language Transform: All modules transcode/translate (module) to utf-8 2/3 2020-02-28 20:27:12 +03:00
Ilia Rostovtsev
453d7ae027 Fix broken .bg translations (was broken forever) 2020-02-28 19:09:01 +03:00
Ilia Rostovtsev
4e5b9d9a1e Language Transform: All modules transcode/translate (module.info) to new UTF-8 format 1/3 2020-02-28 18:59:13 +03:00
Ilia Rostovtsev
039b23958c Fix to reduce the rate to prenent 503 error 2020-02-28 16:38:17 +03:00
Ilia Rostovtsev
42ae9658e3 Language Transform: All modules transcode (config) to new UTF-8 format 2020-02-28 16:08:10 +03:00
Ilia Rostovtsev
908ddfaa61 Print error clearly 2020-02-28 15:56:53 +03:00
Ilia Rostovtsev
3d9c809a16 Try first if encoding works out for decode sub 2020-02-28 15:53:19 +03:00
Ilia Rostovtsev
aba0337d24 Fix to support module and config types for mass operations 2020-02-28 15:34:14 +03:00
Jamie Cameron
57869c5840 Sort cron files to make read order stable https://sourceforge.net/p/webadmin/bugs/5313/ 2020-02-27 21:27:05 -08:00
Ilia Rostovtsev
09b6994115 Language Transform: ACL module transcode/translate (module) 2020-02-28 03:39:12 +03:00
Ilia Rostovtsev
876fe28633 Language Transform: ACL module transcode/translate (config) 2020-02-28 03:30:49 +03:00
Ilia Rostovtsev
99bb889e8b Language Transform: ACL module transcode/translate (lang) 2020-02-28 03:24:07 +03:00
Ilia Rostovtsev
b854eef86d Drop no longer used language files 2020-02-28 03:22:35 +03:00
Ilia Rostovtsev
9e365d7341 Drop few languages that are hard to manage (for now) 2020-02-28 03:20:06 +03:00
Ilia Rostovtsev
09a5ba06cf Fix regex for translated strings 2020-02-28 02:57:21 +03:00
Ilia Rostovtsev
adb4ad1797 Language Transform: Switch to using utf-8 only, drop all convert scripts 2020-02-28 01:17:50 +03:00
Ilia Rostovtsev
c2006d1dfa Language Transform: Add manipulate-language main script
This is the first version of the script which at the moment can only do bulk transcoding/translate for given or all modules/languages. Add/remove and spell check functionality is coming in the near future.
Run `manipulate-language -h` for more details.
2020-02-28 00:50:08 +03:00