Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulio Reyes <nemesiscodex@gmail.com>2013-07-03 15:31:06 (GMT)
committer Julio Reyes <nemesiscodex@gmail.com>2013-07-03 15:31:06 (GMT)
commit9eeeef3b3b2dbd34c0b4910b2385445e4b862179 (patch)
treecbab3aa548cffc176f0aa9c4be2ee6efcec3dc0f
parent898746bc175b9235d66e6119af33d2aa5eef2054 (diff)
Added some translations
-rw-r--r--extensions/cpsection/aboutcomputer/model.py2
-rw-r--r--extensions/deviceicon/network.py3
-rw-r--r--po/es.po8
3 files changed, 11 insertions, 2 deletions
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('<b>%s</b>' % 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"