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
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
Ilia Rostovtsev
09a5ba06cf
Fix regex for translated strings
2020-02-28 02:57:21 +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
Joe Cooper
d2d3a912cd
Dead code
2018-11-17 04:17:34 -06:00
Joe Cooper
0d8f5b1907
Oops, remove dead code
2018-11-17 04:15:34 -06:00
Joe Cooper
11bafbf540
Make --help work either before or after subcommand
2018-11-16 20:55:25 -06:00
Joe Cooper
f42e860a97
Pager on --man
2018-11-16 20:13:54 -06:00
Joe Cooper
3709c33834
Move disable-twofactor back to base dir
2018-11-16 17:08:23 -06:00
Joe Cooper
12a8683be3
Add disable-twofactor, which probably works
2018-11-15 22:41:07 -06:00
Joe Cooper
587acc2ac4
Added --man option for manpage
2018-11-15 20:32:49 -06:00
Joe Cooper
1a6cd46975
typo
2018-11-15 03:31:33 -06:00
Joe Cooper
72df582043
disable-proxy and typo
2018-11-15 03:22:28 -06:00
Joe Cooper
7f5e7fb753
disable-proxy added
2018-11-15 02:46:28 -06:00
Joe Cooper
3a20762df1
POD updates
2018-11-15 01:45:17 -06:00
Joe Cooper
f733f93c58
enable-proxy command, fix missing =back in pods
2018-11-15 01:39:02 -06:00
Joe Cooper
004bda9992
Don't include webmin in list-commands
2018-11-14 22:15:14 -06:00
Joe Cooper
b8ba96ca94
List commands with describe option added
2018-11-14 21:36:10 -06:00
Joe Cooper
0314af1d72
Add --describe option for displaying config.info description
2018-11-14 18:02:34 -06:00
Joe Cooper
ba1838eff7
Validate module config options
2018-11-14 17:05:32 -06:00
Joe Cooper
a6be4107be
Add set-config and list-config commands
2018-11-14 02:44:24 -06:00
Joe Cooper
d65db8a283
Accept either .pl or no extension
2018-11-13 03:01:30 -06:00
Joe Cooper
ad5a6c6901
Strip module name from command before run
2018-11-12 23:14:15 -06:00
Joe Cooper
63f81b5485
Remove debug messages
2018-11-12 22:46:30 -06:00
Joe Cooper
40b12569a0
It's alive!
2018-11-12 22:45:37 -06:00
Joe Cooper
2e9bba958a
Initial commit with some options parsing and POD
2018-11-12 06:49:12 -06:00