From 9eeeef3b3b2dbd34c0b4910b2385445e4b862179 Mon Sep 17 00:00:00 2001 From: Julio Reyes Date: Wed, 03 Jul 2013 15:31:06 +0000 Subject: Added some translations --- diff --git a/extensions/cpsection/aboutcomputer/model.py b/extensions/cpsection/aboutcomputer/model.py index 26d37ca..d7f7959 100644 --- a/extensions/cpsection/aboutcomputer/model.py +++ b/extensions/cpsection/aboutcomputer/model.py @@ -56,7 +56,7 @@ def print_aboutcomputer(): def get_lease_days(): lease_file = _read_file('/security/lease.sig') if lease_file == None: - return 'Information not available!' + return _('Information not available!') encoded_date = str(str.split(lease_file)[3]) expiry_date = datetime.strptime(encoded_date , '%Y%m%dT%H%M%SZ') diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py index 92262eb..92441e6 100644 --- a/extensions/deviceicon/network.py +++ b/extensions/deviceicon/network.py @@ -349,7 +349,8 @@ class GsmPalette(Palette): title = _('Error: %s') % error self.error_title_label.set_markup('%s' % title) self.error_title_label.show() - + if not suggestion: + suggestion = _('reboot XO') message = _('Suggestion: %s') % suggestion self.error_description_label.set_text(message) self.error_description_label.show() diff --git a/po/es.po b/po/es.po index 881b1e6..d4c3c9b 100644 --- a/po/es.po +++ b/po/es.po @@ -1950,3 +1950,11 @@ msgstr "Privado (Click para compartir)" #: ../extensions/deviceicon/network.py:398 msgid "Neighborhood (Click to unshare)" msgstr "Vecindario (Click para dejar de compartir)" + +#: ../extensions/deviceicon/network.py:353 +msgid "reboot XO" +msgstr "reinicie la XO" + +#: ../extensions/cpsection/aboutcomputer/model.py:59 +msgid "Information not available!" +msgstr "InformaciĆ³n no disponible" -- cgit v0.9.1