GNOME Bugzilla – Bug 760422
[PATCH] gegl-tester --help shows translated characters as question marks on some locales
Last modified: 2016-02-12 09:58:59 UTC
Please see the attached patch. gegl-tester should call setlocale in main function in order to correctly show translated messages. Running 'gegl-tester --help' with zh_TW.UTF-8 locale shows: ??? gegl-tester [???] ????? -h, --help ??????? --help-all ????????? --help-gegl Show GEGL Options ??????? -d, --data-directory Root directory of files used in the composition -r, --reference-directory Directory where reference images are located -o, --output-directory Directory where composition output and diff files are saved -p, --pattern Regular expression used to match names of operations to be tested -e, --exclusion-pattern Regular expression used to match names of operations not to be tested -a, --all Create output for all operations using a standard composition if no composition is specified
Created attachment 318690 [details] [review] gegl-tester: Call setlocale in main function It is required to correctly show translated messages on some locales.
This patch looks correct, and is absolutely required.
commit e597a3e66903e4eaa2fe4ae6657dedd6387dcef2 Author: Ting-Wei Lan <lantw@src.gnome.org> Date: Mon Jan 11 13:46:42 2016 +0800 gegl-tester: Call setlocale in main function It is required to correctly show translated messages on some locales. https://bugzilla.gnome.org/show_bug.cgi?id=760422