Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activity.py8
-rw-r--r--locale/SimpleGraph.pot (renamed from po/SimpleGraph.pot)42
-rw-r--r--locale/es/es.po82
-rw-r--r--po/es.po82
4 files changed, 110 insertions, 104 deletions
diff --git a/activity.py b/activity.py
index 02703ce..ddf4723 100644
--- a/activity.py
+++ b/activity.py
@@ -27,7 +27,13 @@ import os
import gconf
import logging
-from gettext import gettext as _
+import gettext
+
+gettext.textdomain("SimpleGraph")
+gettext.bindtextdomain("SimpleGraph", "./locale")
+
+_ = gettext.gettext
+
from sugar.activity import activity
from sugar.activity.widgets import ActivityToolbarButton
diff --git a/po/SimpleGraph.pot b/locale/SimpleGraph.pot
index 257fd2f..b2f04f0 100644
--- a/po/SimpleGraph.pot
+++ b/locale/SimpleGraph.pot
@@ -1,14 +1,14 @@
-# SimpleGraph Internationalization.
-# Copyright (C) 2012
-# This file is distributed under the license GPLv3+
-# Agustin Zubiaga <aguz@sugarlabs.org>, 2012.
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-01 22:58-0200\n"
+"POT-Creation-Date: 2012-02-02 00:07-0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,66 +17,66 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: activity.py:111
+#: activity.py:112
msgid "Save as image"
msgstr ""
-#: activity.py:126
+#: activity.py:127
msgid "Add a value"
msgstr ""
-#: activity.py:132
+#: activity.py:133
msgid "Remove the selected value"
msgstr ""
-#: activity.py:143
+#: activity.py:144
msgid "Create a vertical bar chart"
msgstr ""
-#: activity.py:148
+#: activity.py:152
msgid "Create a horizontal bar chart"
msgstr ""
-#: activity.py:153
+#: activity.py:159
msgid "Create a line chart"
msgstr ""
-#: activity.py:158
+#: activity.py:166
msgid "Create a pie chart"
msgstr ""
-#: activity.py:168
+#: activity.py:183
msgid "Show or hide options"
msgstr ""
-#: activity.py:418
+#: activity.py:438
msgid "Label"
msgstr ""
-#: activity.py:429
+#: activity.py:449
msgid "Value"
msgstr ""
-#: activity.py:497
+#: activity.py:517
msgid "Horizontal label:"
msgstr ""
-#: activity.py:510
+#: activity.py:530
msgid "Vertical label:"
msgstr ""
-#: activity.py:523
+#: activity.py:543
msgid "Chart color:"
msgstr ""
-#: activity.py:526 activity.py:543
+#: activity.py:546 activity.py:563
msgid "Color"
msgstr ""
-#: activity.py:538
+#: activity.py:558
msgid "Lines Color:"
msgstr ""
-#: activity.py:560
+#: activity.py:580
msgid "Color Selector"
msgstr ""
diff --git a/locale/es/es.po b/locale/es/es.po
new file mode 100644
index 0000000..eeaa587
--- /dev/null
+++ b/locale/es/es.po
@@ -0,0 +1,82 @@
+# Spanish translations for SimpleGraph.
+# Traducciones al espaƱol para SimpleGraph.
+# This file is distributed under license GPLv3+
+# Agustin Zubiaga <aguz@sugarlabs.org>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-02-02 00:07-0200\n"
+"PO-Revision-Date: 2012-02-02 00:07-0200\n"
+"Last-Translator: Agustin Zubiaga <aguz@sugarlabs.org>\n"
+"Language-Team: Spanish\n"
+"Language: es_UY\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: activity.py:112
+msgid "Save as image"
+msgstr "Guardar como una imagen"
+
+#: activity.py:127
+msgid "Add a value"
+msgstr "Agregar un valor"
+
+#: activity.py:133
+msgid "Remove the selected value"
+msgstr "Eliminar el valor seleccionado"
+
+#: activity.py:144
+msgid "Create a vertical bar chart"
+msgstr "Crear un grafico de barras verticales"
+
+#: activity.py:152
+msgid "Create a horizontal bar chart"
+msgstr "Crear un grafico de barras horizontales"
+
+#: activity.py:159
+msgid "Create a line chart"
+msgstr "Crear un grafico de lineas"
+
+#: activity.py:166
+msgid "Create a pie chart"
+msgstr "Crear grafico torta"
+
+#: activity.py:183
+msgid "Show or hide options"
+msgstr "Mostrar o ocultar las opciones"
+
+#: activity.py:438
+msgid "Label"
+msgstr "Etiqueta"
+
+#: activity.py:449
+msgid "Value"
+msgstr "Valor"
+
+#: activity.py:517
+msgid "Horizontal label:"
+msgstr "Etiqueta horizontal:"
+
+#: activity.py:530
+msgid "Vertical label:"
+msgstr "Etiqueta vertical:"
+
+#: activity.py:543
+msgid "Chart color:"
+msgstr "Color del grafico:"
+
+#: activity.py:546 activity.py:563
+msgid "Color"
+msgstr "Color"
+
+#: activity.py:558
+msgid "Lines Color:"
+msgstr "Color de las lineas:"
+
+#: activity.py:580
+msgid "Color Selector"
+msgstr "Selector de colores"
diff --git a/po/es.po b/po/es.po
deleted file mode 100644
index aad88d9..0000000
--- a/po/es.po
+++ /dev/null
@@ -1,82 +0,0 @@
-# SimpleGraph Internationalization.
-# Copyright (C) 2012
-# This file is distributed under the license GPLv3+
-# Agustin Zubiaga <aguz@sugarlabs.org>, 2012.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-01 22:58-0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: activity.py:111
-msgid "Save as image"
-msgstr "Guardar como una imagen"
-
-#: activity.py:126
-msgid "Add a value"
-msgstr "Agregar un valor"
-
-#: activity.py:132
-msgid "Remove the selected value"
-msgstr "Remover el valor seleccionado"
-
-#: activity.py:143
-msgid "Create a vertical bar chart"
-msgstr "Crear un grafico de barras vertical"
-
-#: activity.py:148
-msgid "Create a horizontal bar chart"
-msgstr "Crear un grafico de barras horizontal"
-
-#: activity.py:153
-msgid "Create a line chart"
-msgstr "Crear un grafico de lineas"
-
-#: activity.py:158
-msgid "Create a pie chart"
-msgstr "Crear una grafico torta"
-
-#: activity.py:168
-msgid "Show or hide options"
-msgstr "Mostrar o ocultar las opciones"
-
-#: activity.py:418
-msgid "Label"
-msgstr "Etiqueta"
-
-#: activity.py:429
-msgid "Value"
-msgstr "Valor"
-
-#: activity.py:497
-msgid "Horizontal label:"
-msgstr "Etiqueta horizontal:"
-
-#: activity.py:510
-msgid "Vertical label:"
-msgstr "Etiqueta vertical:"
-
-#: activity.py:523
-msgid "Chart color:"
-msgstr "Color del grafico:"
-
-#: activity.py:526 activity.py:543
-msgid "Color"
-msgstr "Color"
-
-#: activity.py:538
-msgid "Lines Color:"
-msgstr "Color de las lineas"
-
-#: activity.py:560
-msgid "Color Selector"
-msgstr "Selector de colores"