aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_translations/po_parser.cpp
AgeCommit message (Collapse)Author
2016-11-08I18N: Read language name preferably from custom 'X-Language-name' headerThierry Crozat
We have been abusing the 'Language' field to store the language name that appears in the GUI for a translation. But this field is officially supposed to store the language code, and most tools that edit po file set it automatically. This has caused the language being changed by mistake in the paste. There is a provision for custom fields with a name starting with 'X-' though. So Now, if defined, it will use the custom 'X-Language-name' field, and fall back to 'Language' in case that custom field is not defined. This should prevent the language being lost when not careful while editing the translation.
2014-11-29I18N: Fix missing translation entriesBen Castricum
The last translation entry of a .po file was not properly handled.
2014-02-18DEVTOOLS: Make GPL headers consistent in themselves.Johannes Schickel
2012-03-17DEVTOOLS: Print error message to stderr, not stdout.Christoph Mallon
2012-03-17JANITORIAL: Simplify stripLine().Christoph Mallon
Simply use pointers to the source and destination chars instead of multiple indices.
2011-04-09DEVTOOLS: Renamed 'tools' directory to 'devtools'Max Horn