Bug 93662

Summary: [PATCH] zeitgeist-daemon --help shows translated characters as question marks on some locales
Product: Zeitgeist Reporter: Ting-Wei Lan <lantw44>
Component: EngineAssignee: zeitgeist-bugs <zeitgeist-bugs>
Status: RESOLVED FIXED QA Contact: zeitgeist-bugs <zeitgeist-bugs>
Severity: normal    
Priority: medium    
Version: 0.9.x   
Hardware: Other   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Attachments: Call setlocale in main function of zeitgeist-daemon

Description Ting-Wei Lan 2016-01-11 07:12:13 UTC
Please see the attached patch. zeitgeist-daemon should call setlocale in main function in order to correctly show translated messages.

Running 'zeitgeist-daemon --help' with zh_TW.UTF-8 locale shows:
???
  zeitgeist-daemon [???]  - Zeitgeist daemon

?????
  -h, --help            ???????

???????
  -v, --version         Print program's version number and exit
  --no-datahub          Do not start zeitgeist-datahub automatically
  -r, --replace         If another Zeitgeist instance is already running, replace it
  -q, --quit            Quit running Zeitgeist daemon instance
  --log-level=LEVEL     How much information should be printed; possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL
  --log-file            File to which the log output will be appended
Comment 1 Ting-Wei Lan 2016-01-11 07:13:34 UTC
Created attachment 120946 [details] [review]
Call setlocale in main function of zeitgeist-daemon
Comment 2 Ting-Wei Lan 2016-07-16 16:27:53 UTC
Ping ... This is a trivial patch but didn't get reviewed in 6 months. I hope I don't have to wait for another 6 months ...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.