Bug 93662 - [PATCH] zeitgeist-daemon --help shows translated characters as question marks on some locales
Summary: [PATCH] zeitgeist-daemon --help shows translated characters as question marks...
Status: RESOLVED FIXED
Alias: None
Product: Zeitgeist
Classification: Unclassified
Component: Engine (show other bugs)
Version: 0.9.x
Hardware: Other FreeBSD
: medium normal
Assignee: zeitgeist-bugs@lists.freedesktop.org
QA Contact: zeitgeist-bugs@lists.freedesktop.org
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-11 07:12 UTC by Ting-Wei Lan
Modified: 2016-09-04 20:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Call setlocale in main function of zeitgeist-daemon (926 bytes, patch)
2016-01-11 07:13 UTC, Ting-Wei Lan
Details | Splinter Review

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.