GNOME Bugzilla – Bug 749485
Don't put unexpanded search string in the window title
Last modified: 2015-05-18 13:16:23 UTC
I recently noticed a gnome-software notification about 'Additional fonts required'. When I clicked on it, I got a gnome-software window with the title Available software for :lang=nqo I think that should be improved to say something like: Available fonts for the N'Ko script There's probably similar improvements that can be made for other kinds of packages where we have specific API to install them.
Created attachment 303518 [details] [review] Port GpkLanguage code for parsing /usr/share/xml/iso-codes/iso_639.xml No other changes besides simple search-and-replace Gpk -> Gs.
Created attachment 303519 [details] [review] extras: Show the language name instead of raw :lang= search string When searching for fontconfig resources, parse the passed in :lang= search string and show the localised language name in user visible places, instead of the raw search string.
Created attachment 303520 [details] [review] extras: Improve user visible font search strings
screenshot: https://kalev.fedorapeople.org/gnome-software-nko-language.png
Not to get too technical here, but I think we're talking about scripts (as in writing systems) here, not languages.
See e.g. here: http://en.wikipedia.org/wiki/N%27Ko_alphabet
Attachment 303518 [details] pushed as 79b9b38 - Port GpkLanguage code for parsing /usr/share/xml/iso-codes/iso_639.xml Attachment 303519 [details] pushed as cf8857f - extras: Show the language name instead of raw :lang= search string Attachment 303520 [details] pushed as 97adb3d - extras: Improve user visible font search strings
(In reply to Matthias Clasen from comment #5) > Not to get too technical here, but I think we're talking about scripts (as > in writing systems) here, not languages. Fair enough, changed to 'script' in https://git.gnome.org/browse/gnome-software/commit/?id=64301b698ab1867d96fedab05f33a03a2e4635cf Thanks!