diff --git a/doc_src/conf.py b/doc_src/conf.py index b09bd1bf..1351d854 100644 --- a/doc_src/conf.py +++ b/doc_src/conf.py @@ -87,15 +87,13 @@ def __getattr__(self, name): #version = # The full version, including alpha/beta/rc tags. #release = -import pywws.version -release = pywws.version.version -version = '.'.join(pywws.version.version.split('.')[0:2]) +release = '13.12.dev1117' +version = '.'.join(release.split('.')[0:2]) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None -if 'LANG' in os.environ: - language = os.environ['LANG'].split('_')[0] +language = 'it' locale_dirs = ['../pywws/lang'] diff --git a/doc_src/index.rst b/doc_src/index.rst index dda59243..3786ad48 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -30,9 +30,9 @@ pywws This document is available in the following languages (non-English versions may not be complete or up to date): - * `English <../../en/html/index.html>`_ - * `Français <../../fr/html/index.html>`_ -- translated by Jacques Desroches - * `Italiano <../../it/html/index.html>`_ -- translated by Edoardo + * `English <../../en/l>`_ + * `Français <../../fr/>`_ -- translated by Jacques Desroches + * `Italiano <../../it/>`_ -- translated by Edoardo ************ Introduction diff --git a/translations/it/api.po b/pywws/lang/it/LC_MESSAGES/api.po similarity index 99% rename from translations/it/api.po rename to pywws/lang/it/LC_MESSAGES/api.po index f3abcab8..7cd3b2e0 100644 --- a/translations/it/api.po +++ b/pywws/lang/it/LC_MESSAGES/api.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pywws 13.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-10-06 20:51\n" +"POT-Creation-Date: 2013-10-06 20:51+0200\n" "PO-Revision-Date: 2013-09-15 09:40+0200\n" "Last-Translator: Edoardo \n" "Language-Team: Italian\n" @@ -4106,4 +4106,4 @@ msgstr "carica tutti i dati dall'ultimo caricamento. " # f93b11a17598424a928c2be205508e6d # 04cf7d99ea6d4fdaa786832488f81e85 #~ msgid "Return an array to convert wind direction integer to a string." -#~ msgstr "Restituisce una matrice della direzione del vento convertita in una stringa carattere." \ No newline at end of file +#~ msgstr "Restituisce una matrice della direzione del vento convertita in una stringa carattere." diff --git a/translations/it/api_index.po b/pywws/lang/it/LC_MESSAGES/api_index.po similarity index 99% rename from translations/it/api_index.po rename to pywws/lang/it/LC_MESSAGES/api_index.po index 48ab589d..2aa24fe9 100644 --- a/translations/it/api_index.po +++ b/pywws/lang/it/LC_MESSAGES/api_index.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pywws 13.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-10-06 20:51\n" +"POT-Creation-Date: 2013-10-06 20:51+0200\n" "PO-Revision-Date: 2013-10-06 20:52+0200\n" "Last-Translator: Edoardo \n" "Language-Team: Italian\n" diff --git a/translations/it/essentials.po b/pywws/lang/it/LC_MESSAGES/essentials.po similarity index 99% rename from translations/it/essentials.po rename to pywws/lang/it/LC_MESSAGES/essentials.po index 1170984a..7d52a0df 100644 --- a/translations/it/essentials.po +++ b/pywws/lang/it/LC_MESSAGES/essentials.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pywws 13.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-10-06 20:51\n" +"POT-Creation-Date: 2013-10-06 20:51+0200\n" "PO-Revision-Date: 2013-09-01 10:31+0200\n" "Last-Translator: Edoardo \n" "Language-Team: Italian \n" diff --git a/translations/it/guides.po b/pywws/lang/it/LC_MESSAGES/guides.po similarity index 99% rename from translations/it/guides.po rename to pywws/lang/it/LC_MESSAGES/guides.po index 27346cf5..df975508 100644 --- a/translations/it/guides.po +++ b/pywws/lang/it/LC_MESSAGES/guides.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pywws 13.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-10-06 20:51\n" +"POT-Creation-Date: 2013-10-06 20:51+0200\n" "PO-Revision-Date: 2013-09-15 09:38+0200\n" "Last-Translator: Edoardo \n" "Language-Team: Italian\n" diff --git a/translations/it/index.po b/pywws/lang/it/LC_MESSAGES/index.po similarity index 99% rename from translations/it/index.po rename to pywws/lang/it/LC_MESSAGES/index.po index 235939fe..b290005e 100644 --- a/translations/it/index.po +++ b/pywws/lang/it/LC_MESSAGES/index.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pywws 13.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-10-06 20:51\n" +"POT-Creation-Date: 2013-10-06 20:51+0200\n" "PO-Revision-Date: 2013-09-15 09:39+0200\n" "Last-Translator: Edoardo \n" "Language-Team: Italian\n" @@ -283,4 +283,4 @@ msgstr "Dovresti aver ricevuto una copia del `GNU General Public License