[f20-branch][PATCH] Specify query territory when getting language native name

Vratislav Podzimek vpodzime at redhat.com
Wed Oct 30 12:08:33 UTC 2013


Territory may affect the native language name.

Related: rhbz#1001446

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/localization.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyanaconda/localization.py b/pyanaconda/localization.py
index 7e473dd..c3f845a 100644
--- a/pyanaconda/localization.py
+++ b/pyanaconda/localization.py
@@ -240,6 +240,7 @@ def get_native_name(locale):
                                    territoryId=parts.get("territory", ""),
                                    scriptId=parts.get("script", ""),
                                    languageIdQuery=parts["language"],
+                                   territoryIdQuery=parts.get("territory", ""),
                                    scriptIdQuery=parts.get("script", ""))
 
     return upcase_first_letter(name)
-- 
1.7.11.7



More information about the anaconda-patches mailing list