The list of locales returned from gnome_get_all_locales() already filters out the locales for which we don't have translations so this is a redundant check since users of get_initial_languages() only show a language if it exists in gnome_get_all_locales() . In fact, this code stopped working correctly since we started passing locales including the codeset suffix to insert_language() because the translation directories usually don't include the suffix and we weren't stripping the suffix here. https://bugzilla.gnome.org/show_bug.cgi?id=710412 |
||
---|---|---|
.. | ||
cc-common-language.c | ||
cc-common-language.h | ||
cc-language-chooser.c | ||
cc-language-chooser.h | ||
cc-util.c | ||
cc-util.h | ||
common.gresource.xml | ||
gnome-control-center.rules | ||
language-chooser.ui | ||
Makefile.am |