diff options
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 4 | ||||
| -rw-r--r-- | SoftwareProperties/dialog_add_sources_list.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 983a8cce..a3f0c340 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -317,8 +317,8 @@ class SoftwareProperties(SimpleGladeApp): self.distro.main_server]) if self.distro.country != None: # TRANSLATORS: %s is a country - server_store.append([_("Server for %s") % gettext.dgettext("iso-3166", - self.distro.country).rstrip(), + server_store.append([_("Server for %s") % gettext.dgettext("iso_3166", + self.distro.country.rstrip()).rstrip(), self.distro.nearest_server]) else: server_store.append([_("Nearest server"), diff --git a/SoftwareProperties/dialog_add_sources_list.py b/SoftwareProperties/dialog_add_sources_list.py index 3b581c6c..509a77b2 100644 --- a/SoftwareProperties/dialog_add_sources_list.py +++ b/SoftwareProperties/dialog_add_sources_list.py @@ -122,6 +122,6 @@ class AddSourcesList: class SingleSourcesList(SourcesList): def __init__(self, file): - self.matcher = SourceEntryMatcher() + self.matcher = SourceEntryMatcher("/usr/share/update-manager/channels/") self.list = [] self.load(file) |
