summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-04-28 22:59:47 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-04-28 22:59:47 +0200
commit5beee1801b2847ed60ac560fa4655951bf9eda02 (patch)
tree8dc4c666dafde15452f1a7caa6929ba02cfe898b /SoftwareProperties/SoftwareProperties.py
parent913c45306237246a0a1236fb31a5955eb143282a (diff)
parentd19de868ff0230aebfc0920bd31caa64d51ec920 (diff)
downloadpython-apt-5beee1801b2847ed60ac560fa4655951bf9eda02.tar.gz
* merged from glatzor
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index 237ffbdd..8c3e4878 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -100,16 +100,16 @@ class SoftwareProperties(SimpleGladeApp):
update_days = apt_pkg.Config.FindI(CONF_MAP["autoupdate"])
- self.combobox_update_interval.append_text("Daily")
- self.combobox_update_interval.append_text("Every two days")
- self.combobox_update_interval.append_text("Weekly")
- self.combobox_update_interval.append_text("Every two weeks")
+ self.combobox_update_interval.append_text(_("Daily"))
+ self.combobox_update_interval.append_text(_("Every two days"))
+ self.combobox_update_interval.append_text(_("Weekly"))
+ self.combobox_update_interval.append_text(_("Every two weeks"))
# If a custom period is defined add an corresponding entry
if not update_days in self.combobox_interval_mapping.values():
if update_days > 0:
- self.combobox_update_interval.append_text(_("Every %s days"
- % update_days))
+ self.combobox_update_interval.append_text(_("Every %s days")
+ % update_days)
self.combobox_interval_mapping[4] = update_days
for key in self.combobox_interval_mapping:
@@ -131,15 +131,15 @@ class SoftwareProperties(SimpleGladeApp):
delete_days = apt_pkg.Config.FindI(CONF_MAP["max_age"])
- self.combobox_delete_interval.append_text("After one week")
- self.combobox_delete_interval.append_text("After two weeks")
- self.combobox_delete_interval.append_text("After one month")
+ self.combobox_delete_interval.append_text(_("After one week"))
+ self.combobox_delete_interval.append_text(_("After two weeks"))
+ self.combobox_delete_interval.append_text(_("After one month"))
# If a custom period is defined add an corresponding entry
if not delete_days in self.combobox_delete_interval_mapping.values():
if delete_days > 0 and CONF_MAP["autoclean"] != 0:
- self.combobox_delete_interval.append_text(_("After %s days"
- % delete_days))
+ self.combobox_delete_interval.append_text(_("After %s days")
+ % delete_days)
self.combobox_delete_interval_mapping[3] = delete_days
for key in self.combobox_delete_interval_mapping: