8 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
6bb8d5e92b a couple languages don't use "other" in plurals: be pl ru 2018-03-06 23:44:30 +01:00
Hans-Christoph Steiner
1e0200fa30 add standard pre-commit hook that does quick checks, e.g. l18n scripts 2018-02-06 00:17:43 +01:00
Hans-Christoph Steiner
f4766a93c5 translation tools: detect missing "other" <item> from <plurals>
"other" is the only <item> that is required, or crashes are possible.
2017-09-12 17:38:59 +02:00
Hans-Christoph Steiner
dc6eccc218 workaround Weblate bug for languages with no plurals
https://github.com/WeblateOrg/weblate/issues/520
2017-05-31 12:29:25 +02:00
Hans-Christoph Steiner
2ef9b279a8 remove all blank items from plurals 2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
38403338da remove xmlns tools:ignore from translations
XML namespaces are a massive pain to deal with in, and they are totally
unneeded in the translation files.  xmlns:tools is only needed in the
source file to ignore some lint warnings.
2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
3df626aed1 sync up translation scripts to use the same code
To keep these scripts simple and readible, it makes sense to keep them
as separate scripts.  But they should use the same approach as much as
possible.
2017-05-10 23:18:28 +02:00
Hans-Christoph Steiner
082b6091fc move all translation scripts to tools/
I think we should just move all the scripts to tools/, app/tools is
confusing, not very visible, and non-standard.
2017-05-10 23:18:28 +02:00