Permalink
Browse files

fixed i18n; added skeletons for Spanish and Brazilian Portuguese tran…

…slations
  • Loading branch information...
1 parent 7b8b512 commit 479e2eaacfc934c37746c172892cd2193fc55764 @hvelarde hvelarde committed Jul 23, 2012
View
@@ -0,0 +1,30 @@
+#! /bin/sh
+
+PATH=bin:$PATH
+I18NDOMAIN="collective.weather"
+BASE_DIRECTORY="src/collective/weather"
+
+# Synchronise the templates and scripts with the .pot.
+i18ndude rebuild-pot --pot ${BASE_DIRECTORY}/locales/${I18NDOMAIN}.pot \
+ --merge ${BASE_DIRECTORY}/locales/manual.pot \
+ --create ${I18NDOMAIN} \
+ ${BASE_DIRECTORY}
+
+# Synchronise the resulting .pot with all .po files
+for po in ${BASE_DIRECTORY}/locales/*/LC_MESSAGES/${I18NDOMAIN}.po; do
+ i18ndude sync --pot ${BASE_DIRECTORY}/locales/${I18NDOMAIN}.pot $po
+done
+
+# Synchronise the templates and scripts with the .pot.
+i18ndude rebuild-pot --pot ${BASE_DIRECTORY}/locales/plone.pot \
+ --create plone \
+ ${BASE_DIRECTORY}/configure.zcml \
+ ${BASE_DIRECTORY}/profiles/default
+
+# Synchronise the plone's pot file (Used for the workflows)
+for po in ${BASE_DIRECTORY}/locales/*/LC_MESSAGES/plone.po; do
+ i18ndude sync --pot ${BASE_DIRECTORY}/locales/plone.pot $po
+done
+
+# Report of errors and suspect untranslated messages
+i18ndude find-untranslated -n ${BASE_DIRECTORY}
@@ -0,0 +1,92 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2012-07-23 17:37+0000\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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"Language-Code: en\n"
+"Language-Name: English\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: DOMAIN\n"
+
+#: collective/weather/browser/interfaces.py:25
+msgid "Available options"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:26
+msgid "Enter here all available locations that will be shown in the locations drop down."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:74
+msgid "Enter here all available locations that will be shown in the locations drop down. Check http://code.google.com/p/python-weather-api/#NOAA for further information."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:51
+msgid "Enter here all available locations that will be shown in the locations drop down.Check http://code.google.com/p/python-weather-api/#Yahoo!_Weather for further information."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:32
+msgid "Enter the language code to show the content."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:14
+msgid "Imperial"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:31
+msgid "Language"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:39
+msgid "Lets you configure several weather locations"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:13
+msgid "Metric"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:31
+msgid "NOAA"
+msgstr ""
+
+#: configure.zcml
+msgid "Uninstall profile for the collective.weather package."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:35
+msgid "Units"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:36
+msgid "Units to show the results."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:22
+msgid "Use Google weather service"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:70
+msgid "Use NOAA weather service"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:47
+msgid "Use Yahoo weather service"
+msgstr ""
+
+#: collective/weather/profiles/default/controlpanel.xml
+msgid "Weather"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:38
+msgid "Weather setup"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:26
+msgid "Yahoo"
+msgstr ""
+
@@ -0,0 +1,93 @@
+# Héctor Velarde <hector.velarde@gmail.com>, 2011, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: collective.weather\n"
+"POT-Creation-Date: 2012-07-23 17:37+0000\n"
+"PO-Revision-Date: 2012-06-01 16:49-0300\n"
+"Last-Translator: Héctor Velarde <hector.velarde@gmail.com>\n"
+"Language-Team: Spanish <>\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"
+"Language-Code: es\n"
+"Language-Name: Español\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: collective.weather\n"
+
+#: collective/weather/browser/interfaces.py:25
+msgid "Available options"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:26
+msgid "Enter here all available locations that will be shown in the locations drop down."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:74
+msgid "Enter here all available locations that will be shown in the locations drop down. Check http://code.google.com/p/python-weather-api/#NOAA for further information."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:51
+msgid "Enter here all available locations that will be shown in the locations drop down.Check http://code.google.com/p/python-weather-api/#Yahoo!_Weather for further information."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:32
+msgid "Enter the language code to show the content."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:14
+msgid "Imperial"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:31
+msgid "Language"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:39
+msgid "Lets you configure several weather locations"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:13
+msgid "Metric"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:31
+msgid "NOAA"
+msgstr ""
+
+#: configure.zcml
+msgid "Uninstall profile for the collective.weather package."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:35
+msgid "Units"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:36
+msgid "Units to show the results."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:22
+msgid "Use Google weather service"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:70
+msgid "Use NOAA weather service"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:47
+msgid "Use Yahoo weather service"
+msgstr ""
+
+#: collective/weather/profiles/default/controlpanel.xml
+msgid "Weather"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:38
+msgid "Weather setup"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:26
+msgid "Yahoo"
+msgstr ""
+
@@ -0,0 +1,17 @@
+# Héctor Velarde <hector.velarde@gmail.com>, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: collective.weather\n"
+"POT-Creation-Date: 2012-07-13 16:40+0000\n"
+"PO-Revision-Date: 2012-02-23 16:27-0300\n"
+"Last-Translator: Héctor Velarde <hector.velarde@gmail.com>\n"
+"Language-Team: Spanish <https://github.com/collective>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"Language-Code: en\n"
+"Language-Name: English\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: plone\n"
+
@@ -0,0 +1,39 @@
+# --- PLEASE EDIT THE LINES BELOW CORRECTLY ---
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+msgid ""
+msgstr ""
+"Project-Id-Version: collective.weather\n"
+"POT-Creation-Date: 2011-09-19 17:08+0000\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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Domain: collective.weather\n"
+
+#: configure.zcml
+msgid ""
+msgstr ""
+
+#: configure.zcml
+msgid ""
+msgstr ""
+
+#: configure.zcml
+msgid ""
+msgstr ""
+
+#: configure.zcml
+msgid ""
+msgstr ""
+
+#: configure.zcml
+msgid ""
+msgstr ""
+
+#: configure.zcml
+msgid "Uninstall profile for the collective.weather package."
+msgstr ""
+
@@ -0,0 +1,19 @@
+# --- PLEASE EDIT THE LINES BELOW CORRECTLY ---
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+msgid ""
+msgstr ""
+"Project-Id-Version: collective.weather\n"
+"POT-Creation-Date: 2012-07-13 16:40+0000\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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"Language-Code: en\n"
+"Language-Name: English\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: plone\n"
+
@@ -0,0 +1,93 @@
+# Héctor Velarde <hector.velarde@gmail.com>, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: collective.nitf\n"
+"POT-Creation-Date: 2012-07-23 17:37+0000\n"
+"PO-Revision-Date: 2012-01-06 21:56-0600\n"
+"Last-Translator: Héctor Velarde <hector.velarde@gmail.com>\n"
+"Language-Team: Portuguese <https://github.com/collective>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"Language-Code: en\n"
+"Language-Name: English\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: collective.nitf\n"
+
+#: collective/weather/browser/interfaces.py:25
+msgid "Available options"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:26
+msgid "Enter here all available locations that will be shown in the locations drop down."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:74
+msgid "Enter here all available locations that will be shown in the locations drop down. Check http://code.google.com/p/python-weather-api/#NOAA for further information."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:51
+msgid "Enter here all available locations that will be shown in the locations drop down.Check http://code.google.com/p/python-weather-api/#Yahoo!_Weather for further information."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:32
+msgid "Enter the language code to show the content."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:14
+msgid "Imperial"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:31
+msgid "Language"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:39
+msgid "Lets you configure several weather locations"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:13
+msgid "Metric"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:31
+msgid "NOAA"
+msgstr ""
+
+#: configure.zcml
+msgid "Uninstall profile for the collective.weather package."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:35
+msgid "Units"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:36
+msgid "Units to show the results."
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:22
+msgid "Use Google weather service"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:70
+msgid "Use NOAA weather service"
+msgstr ""
+
+#: collective/weather/browser/interfaces.py:47
+msgid "Use Yahoo weather service"
+msgstr ""
+
+#: collective/weather/profiles/default/controlpanel.xml
+msgid "Weather"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:38
+msgid "Weather setup"
+msgstr ""
+
+#: collective/weather/browser/controlpanel.py:26
+msgid "Yahoo"
+msgstr ""
+
Oops, something went wrong.

0 comments on commit 479e2ea

Please sign in to comment.