summaryrefslogtreecommitdiff
path: root/src/plugins/generate-translations.c
AgeCommit message (Collapse)AuthorFilesLines
2016-07-10HULD generator: Show the amount of strings parsedHaru1-1/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-07-10HULD generator: added .pot file headerHaru1-2/+19
- For compliance with gettext's specifications (and compatibility with online translation management services Signed-off-by: Haru <haru@dotalux.com>
2016-06-25generate-translations: code style and optimizationsHaru1-30/+36
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Added mesf() command (combination of mes() and sprintf())Haru1-1/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Added _$() macro to the script engine to mark a translatable string as ↵Haru1-4/+21
format string - Strings passed to sprintf should use the _$() macro instead of _(), to generate the .pot translation template with a directive to correctly handle the % sign. - Strings passed through _() are instead explicitly marked as regular (non format) strings if they contain '%'. Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Moved translations template generator to a pluginHaru1-0/+231
Signed-off-by: Haru <haru@dotalux.com>