[gnome-dvb-daemon] Added additional countries for dvb-t initial tuning data



commit d0035029f3fba00d9480c55b78be33e71dc7e0c1
Author: Sebastian PÃlsterl <sebp k-d-w org>
Date:   Mon Oct 10 11:37:44 2011 +0200

    Added additional countries for dvb-t initial tuning data
    
    Andorra, Azerbaijan, Croatia, Hungary, Israel, Iran, Lithuania, Latvia, Romania, Slovenia, Viet Nam

 .../ui/wizard/pages/InitialTuningDataPage.py       |   54 ++++++++++++++++++--
 1 files changed, 49 insertions(+), 5 deletions(-)
---
diff --git a/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py b/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py
index 973477c..f9343d4 100644
--- a/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py
+++ b/client/gnomedvb/ui/wizard/pages/InitialTuningDataPage.py
@@ -33,7 +33,9 @@ DVB_APPS_DIRS = ("/usr/share/dvb",
                  "/usr/share/doc/dvb-utils/examples/scan")
                  
 COUNTRIES = {
+    "ad": "Andorra",
     "at": "Austria",
+    "az": "Azerbaijan",
     "au": "Australia",
     "be": "Belgium",
     "ch": "Switzerland",
@@ -45,20 +47,65 @@ COUNTRIES = {
     "fr": "France",
     "gr": "Greece",
     "hk": "Hong Kong",
-    "hr": "Hungary",
+    "hr": "Croatia",
+    "hu": "Hungary",
+    "il": "Israel",
+    "ir": "Iran, Islamic Republic of",
     "is": "Iceland",
     "it": "Italy",
+    "lt": "Lithuania",
     "lu": "Luxemburg",
+    "lv": "Latvia",
     "nl": "Netherlands",
     "no": "Norway",
     "nz": "New Zealand",
     "pl": "Poland",
+    "ro": "Romania",
     "se": "Sweden",
+    "si": "Slovenia",
     "sk": "Slovakia",
     "tw": "Taiwan",
     "uk": "United Kingdom",
+    "vn": "Viet Nam",
 }
 
+COUNTRIES_DVB_T = (
+    "ad",
+    "at",
+    "az",
+    "au",
+    "be",
+    "ch",
+    "cz",
+    "de",
+    "dk",
+    "es",
+    "fi",
+    "fr",
+    "gr",
+    "hk",
+    "hr",
+    "hu",
+    "il",
+    "ir",
+    "is",
+    "it",
+    "lt",
+    "lu",
+    "lv",
+    "nl",
+    "no",
+    "nz",
+    "pl",
+    "ro",
+    "se",
+    "si",
+    "sk",
+    "tw",
+    "uk",
+    "vn",
+)
+
 class InitialTuningDataPage(BasePage):
     
     __gsignals__ = {
@@ -140,11 +187,8 @@ class InitialTuningDataPage(BasePage):
         self.providers_view = None
         
         countries = {self.NOT_LISTED: _("Not listed")}
-        country_codes = ("at", "au", "be", "ch", "cz", "de", "dk", "es", "fi", "fr",
-            "gr", "hr", "hk", "is", "it", "lu", "nl", "nz", "pl", "se", "sk",
-            "tw", "uk",)
         t = gettext.translation("iso_3166", fallback=True)
-        for lang in country_codes:
+        for lang in COUNTRIES_DVB_T:
             countries[lang] = t.ugettext(COUNTRIES[lang])
         
         self._create_table()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]