Athanasius
eb8b357e27
l10n script: 'No comment for' on stderr
2021-06-07 16:51:08 +01:00
Athanasius
2de39f60ab
l10n script: Complain if there's no current/prev LANG comment
2021-06-07 16:50:28 +01:00
Athanasius
1b58e91fa2
l10n script: Only report 'Unknown comment' if we didn't find a LANG one
...
So if we have a before LANG comment, then don't report the actual line
for a bad comment.
And if we have a current_line valid LANG comment, then don't report the
above_line as unknown.
2021-06-07 15:27:09 +01:00
Athanasius
06725467f9
l10n script: --lang takes a filename argument now
...
This allows for forcing unix-style line endings to the file, rather than
needing to mess with dos2unix after on a Windows system.
2021-06-07 15:05:26 +01:00
Athanasius
be46c47c1c
l10n script: Adjust !Language header
2021-06-07 14:50:18 +01:00
Athanasius
82fd3cd577
l10n script: With --lang output the !Language header
2021-06-07 14:34:12 +01:00
Athanasius
1b3046a4f9
l10n script: Fix comparison for picking up 'before' LANG comments
2021-06-07 14:07:44 +01:00
Athanasius
a1abb46ff5
l10n script: Fix/add some args help
2021-06-07 13:37:27 +01:00
A_D
18c1bb1102
Made quoting consistent
2021-06-07 12:43:21 +02:00
A_D
7d77e4586b
Appeased the flake8 gods
2021-06-07 12:43:21 +02:00
A_D
398bc76056
returned string rather than printing
2021-06-07 12:43:21 +02:00
A_D
9c4bc182ca
Added LANG file generation and comment extraction
2021-06-07 12:43:16 +02:00
A_D
0c5806e12c
Made json output easier to work with
2021-06-07 12:42:07 +02:00
A_D
dbea29194b
Added the ability to compare to another LANG file
2021-06-07 12:42:07 +02:00
A_D
b19f956219
use stderr
2021-06-07 12:42:06 +02:00
A_D
ce8fea9f1a
its not globbed
2021-06-07 12:42:06 +02:00
A_D
2281124807
Added AST based LANG translation string detection
2021-06-07 12:42:06 +02:00