Commit Graph

14 Commits

Author SHA1 Message Date
Marco Ciampa d67cb8d0c6 Updated string updating script
(cherry picked from commit b38d62cf98521b0799200d8b0336c6b470d55c72)
2019-12-04 12:44:45 +01:00
Simon Richter a1b146a2cd Do not create locations or fuzzy translations for English
This is easier to work with, as translations are generally auto-generated,
but need to be reviewed manually to make sure the quoting style is correct.

Removing locations makes diffs more readable, and not having msgmerge
provide a fuzzy translation allows msgen to actually work.
2019-01-31 13:08:02 +01:00
Simon Richter ae729cd565 Sort file list for xgettext
The find command still returns files in arbitrary order, so explicitly sort.
2018-06-05 16:09:17 +02:00
Simon Richter 9ab216cb09 Generate file list for xgettext in a pipeline 2018-06-05 16:09:17 +02:00
Simon Richter fd5af143d2 Use LC_ALL instead of LANG to force locale to C
This is an explicit override that even works if one of the other LC_*
variables are set. The LC_ALL variable also needs to be exported.
2018-06-05 16:09:17 +02:00
Marco Ciampa cf243acf9c Updated statistics script: deleted temp file 2017-12-30 03:46:18 +01:00
Simon Richter e64c58e540 Support wxPLURAL( singular, plural, number )
This allows selecting the appropriate form for messages that use plural
forms that depend on the preceding number:

Old:

    _( "%d item(s)" )

New:

    wxPLURAL( "%d item", "%d items", num )
2017-12-21 19:31:27 +01:00
Simon Richter 247cf7e714 Add English "translation"
This allows using UTF-8 characters in English texts. This translation can
be kept up-to-date using the "msgen" tool.
2017-08-10 15:05:39 +02:00
Nick Østergaard 8388e1761e Add argument for path to source 2016-08-02 18:26:52 +02:00
Nick Østergaard 4f450743f2 Add support for plotting stats from update script 2016-08-02 18:26:52 +02:00
Nick Østergaard 2e727616ce Add improved statistics for the update po files script 2016-08-02 18:25:53 +02:00
Marco Ciampa 31b49fe8a6 Added keep pot template option to script 2015-11-20 11:58:03 +01:00
Marco Ciampa e559193222 Added ability to update single locale to script 2015-11-16 10:57:39 +01:00
Marco Ciampa 781e284fc3 Added global string update script 2015-11-02 18:10:07 +01:00