aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/update-translations.py
AgeCommit message (Collapse)Author
2018-12-10Compare to None with is/is notDaniel Ingram
2018-06-05utils: checking for bitcoin addresses in translationsMax Kaplan
Checking for and removing any bitcoin addresses in translations
2018-03-26Change all python files to use Python3John Newbery
2017-08-28Use sys.exit(...) instead of exit(...): exit(...) should not be used in programspracticalswift
2017-02-10devtools: Handle Qt formatting characters edge-case in update-translations.pyWladimir J. van der Laan
If both numeric format specifiers and "others" are used, assume we're dealing with a Qt-formatted message. In the case of Qt formatting (see https://doc.qt.io/qt-5/qstring.html#arg) only numeric formats are replaced at all. This means "(percentage: %1%)" is valid (which was introduced in #9461), without needing any kind of escaping that would be necessary for strprintf. Without this, this function would wrongly detect '%)' as a printf format specifier.
2016-06-26Use portable #! in python scripts (/usr/bin/env)Matthew King
2016-01-04Merge pull request #7253Wladimir J. van der Laan
0d59589 Bugfix: update-translations: Allow numerus translations to omit %n specifier (usually when it only has one possible value) (Luke Dashjr)
2015-12-25Bugfix: update-translations: Allow numerus translations to omit %n specifier ↵Luke Dashjr
(usually when it only has one possible value)
2015-12-02qt: Final translation update before 0.12 forkWladimir J. van der Laan
- Add new translations (finally, after a long time) - update-translation script was not considering new translations - oops - fixed this, also remove (nearly) empty translations - Update translation process, it was still describing the old repository structure
2014-12-16Remove references to X11 licenceMichael Ford
2014-09-01Add deeper XML checking to update-translation scriptWladimir J. van der Laan
- Catch problems such as mismatched formatting characters. Remove messages that can give problems at runtime. - Also remove unfinished/untranslated messages, they just take up space in the ts and waste parsing time. Fixes #4774.
2014-05-01devtools: add a script to fetch and postprocess translationsWladimir J. van der Laan
Run this script from the root of the repository to update all translations from transifex. It will do the following automatically: - create a transifex configuration file - fetch all translations - post-process them into valid and committable format