GNOME Bugzilla – Bug 773995
Take advantage of Unicode
Last modified: 2016-11-07 16:51:36 UTC
Created attachment 339189 [details] [review] Use Unicode in translatable strings Attached patch converts ASCII characters to Unicode, as recommended by <https://developer.gnome.org/hig/stable/typography.html>.
Review of attachment 339189 [details] [review]: ::: caribou/antler/antler_settings.py @@ +11,3 @@ _("The keyboard geometry determines the shape " "and complexity of the keyboard, it could range from " + "a “natural” look and feel good for composing simple " Can't this be done with the en@quot catalog instead of hard-coding the Unicode quotation characters?
I don't know anything about en@quot. My assumption is that it's beneficial to just use correct typography in UI strings.
Review of attachment 339189 [details] [review]: Sorry, you are right. I'm a bit tired of this kind of change and hoped a generic mechanism to handle I18N quotations, like quotearg in coreutils: https://www.gnu.org/software/coreutils/manual/html_node/Formatting-the-file-names.html#Formatting-the-file-names ::: daemon/daemon.vala @@ +216,2 @@ var option_context = new OptionContext (_( + "— accessibility event monitoring daemon for screen keyboard")); Now that 'caribou' is installed under libexec, which means that it is not used interactively, I doubt it is worthwhile to have such a fancy help message. Maybe we could simply pass NULL here?
Thank you, I pushed the patch.
This breaks the jhbuild build Traceback (most recent call last):
+ Trace 236838
module = __import__(modulename, locals(), globals(), [settings_obj])
from .antler_settings import AntlerSettings
(In reply to Mario Wenzel from comment #5) > This breaks the jhbuild build > > Traceback (most recent call last): It should be fixed now with: https://git.gnome.org/browse/caribou/commit/?id=0d52ffe408c3f5c0bb8411f8d504dfe97b9124c2