From: Benoît Pin Date: Mon, 21 Jul 2014 14:35:16 +0000 (+0200) Subject: Localisation. X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/9124e5aa275ab5911b712ccd3938b5b7f079dda7?hp=7605edef0b1cb8ee9ecf72d38e301e8977168b86 Localisation. --- diff --git a/catalog.py b/catalog.py index 026bb04..f2736cb 100644 --- a/catalog.py +++ b/catalog.py @@ -43,7 +43,7 @@ class CatalogTool(BaseCatalogTool) : manage_options = (BaseCatalogTool.manage_options[:5] + ({'label' : 'Solr', 'action' : 'manage_solr'},) + BaseCatalogTool.manage_options[5:]) - manage_solr = PageTemplateFile('www/manage_solr', globals(), __name__='manage_solr') + manage_solr = PageTemplateFile('www/manage_solr.pt', globals(), __name__='manage_solr') diff --git a/locales/en/LC_MESSAGES/plinn.mo b/locales/en/LC_MESSAGES/plinn.mo index 65d19a2..a3b9f89 100644 Binary files a/locales/en/LC_MESSAGES/plinn.mo and b/locales/en/LC_MESSAGES/plinn.mo differ diff --git a/locales/en/LC_MESSAGES/plinn.po b/locales/en/LC_MESSAGES/plinn.po index 740eca6..9bbb2ad 100644 --- a/locales/en/LC_MESSAGES/plinn.po +++ b/locales/en/LC_MESSAGES/plinn.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plinn 2.0\n" -"POT-Creation-Date: Mon May 12 23:42:25 2014\n" +"POT-Creation-Date: Mon Jul 21 16:31:27 2014\n" "PO-Revision-Date: 2013-11-28 13:12+0100\n" "Last-Translator: Benoît PIN\n" "Language-Team: CRI http://cri.ensmp.fr\n" @@ -171,7 +171,7 @@ msgstr "" #: n/skins/content/topic_edit_template.pt:26 #: n/skins/custom_content/document_edit_template.pt:23 #: n/skins/custom_content/event_edit_template.pt:135 -#: n/skins/generic/search_results_template.pt:87 +#: n/skins/generic/search_results_template.pt:87 n/www/manage_solr.pt:13 msgid "Save" msgstr "" @@ -683,12 +683,12 @@ msgstr "" msgid "Comments:" msgstr "" -#. Default: "Previous${number}" +#. Default: "previous ${number}" #: n/skins/generic/batch_macros.pt:26 msgid "batch_previous_x_items" msgstr "" -#. Default: "Next${number}items" +#. Default: "next ${number}" #: n/skins/generic/batch_macros.pt:32 msgid "batch_next_x_items" msgstr "" @@ -1414,6 +1414,14 @@ msgstr "" msgid "(No description)" msgstr "" +#: n/www/manage_solr.pt:4 +msgid "Configure Solr delegated indexes" +msgstr "" + +#: n/www/manage_solr.pt:5 +msgid "Enter names of indexes to delegate to Solr. One per line." +msgstr "" + # from plinn-manual msgid "${month}/${day}/${year}  ${hour}:${minute}:${second}" msgstr "" diff --git a/locales/fr/LC_MESSAGES/plinn.mo b/locales/fr/LC_MESSAGES/plinn.mo index a837fd7..0819851 100644 Binary files a/locales/fr/LC_MESSAGES/plinn.mo and b/locales/fr/LC_MESSAGES/plinn.mo differ diff --git a/locales/fr/LC_MESSAGES/plinn.po b/locales/fr/LC_MESSAGES/plinn.po index b1c2847..a8d742e 100755 --- a/locales/fr/LC_MESSAGES/plinn.po +++ b/locales/fr/LC_MESSAGES/plinn.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Plinn 2.0\n" -"POT-Creation-Date: Mon May 12 23:42:25 2014\n" -"PO-Revision-Date: 2014-05-12 23:42+0200\n" +"POT-Creation-Date: Mon Jul 21 16:31:27 2014\n" +"PO-Revision-Date: 2014-07-21 16:33+0200\n" "Last-Translator: Benoît PIN\n" "Language-Team: CRI http://cri.ensmp.fr\n" "Language: \n" @@ -179,7 +179,7 @@ msgstr "Ajouter" #: n/skins/content/topic_edit_template.pt:26 #: n/skins/custom_content/document_edit_template.pt:23 #: n/skins/custom_content/event_edit_template.pt:135 -#: n/skins/generic/search_results_template.pt:87 +#: n/skins/generic/search_results_template.pt:87 n/www/manage_solr.pt:13 msgid "Save" msgstr "Enregistrer" @@ -717,12 +717,12 @@ msgstr "Annuler" msgid "Comments:" msgstr "Commentaires :" -#. Default: "Previous${number}" +#. Default: "previous ${number}" #: n/skins/generic/batch_macros.pt:26 msgid "batch_previous_x_items" msgstr "${number} précédents" -#. Default: "Next${number}items" +#. Default: "next ${number}" #: n/skins/generic/batch_macros.pt:32 msgid "batch_next_x_items" msgstr "${number} suivants" @@ -1483,6 +1483,14 @@ msgstr "(Sans titre)" msgid "(No description)" msgstr "(Sans description)" +#: n/www/manage_solr.pt:4 +msgid "Configure Solr delegated indexes" +msgstr "Configurer les index délégués à Solr" + +#: n/www/manage_solr.pt:5 +msgid "Enter names of indexes to delegate to Solr. One per line." +msgstr "Entrer les noms des index à déléguer à Solr. Un par ligne." + msgid "${month}/${day}/${year}  ${hour}:${minute}:${second}" msgstr "${day}/${month}/${year}  ${hour}:${minute}:${second}" diff --git a/locales/plinn.pot b/locales/plinn.pot index 1695fb6..f14e010 100644 --- a/locales/plinn.pot +++ b/locales/plinn.pot @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: 2.0 beta 1\n" -"POT-Creation-Date: Mon May 12 23:42:25 2014\n" +"POT-Creation-Date: Mon Jul 21 16:31:27 2014\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Zope 3 Developers \n" @@ -115,11 +115,11 @@ msgid "Cancel delete mode" msgstr "" #: n/skins/content/changes_history_template.pt:24 -msgid "« later revisions" +msgid "\302\253 later revisions" msgstr "" #: n/skins/content/changes_history_template.pt:28 -msgid "earlier revisions »" +msgid "earlier revisions \302\273" msgstr "" #: n/skins/content/changes_history_template.pt:37 @@ -186,6 +186,7 @@ msgstr "" #: n/skins/custom_content/document_edit_template.pt:23 #: n/skins/custom_content/event_edit_template.pt:135 #: n/skins/generic/search_results_template.pt:87 +#: n/www/manage_solr.pt:13 msgid "Save" msgstr "" @@ -687,12 +688,12 @@ msgid "Comments:" msgstr "" #: n/skins/generic/batch_macros.pt:26 -#. Default: "Previous${number}" +#. Default: "previous ${number}" msgid "batch_previous_x_items" msgstr "" #: n/skins/generic/batch_macros.pt:32 -#. Default: "Next${number}items" +#. Default: "next ${number}" msgid "batch_next_x_items" msgstr "" @@ -1255,7 +1256,7 @@ msgid "Restore this revision" msgstr "" #: n/skins/generic/revision_context_header.pt:22 -msgid "← previous revision" +msgid "\342\206\220 previous revision" msgstr "" #: n/skins/generic/revision_context_header.pt:27 @@ -1263,7 +1264,7 @@ msgid "current revision" msgstr "" #: n/skins/generic/revision_context_header.pt:29 -msgid "next revision →" +msgid "next revision \342\206\222" msgstr "" #: n/skins/generic/search.py:109 @@ -1420,6 +1421,14 @@ msgstr "" msgid "(No description)" msgstr "" +#: n/www/manage_solr.pt:4 +msgid "Configure Solr delegated indexes" +msgstr "" + +#: n/www/manage_solr.pt:5 +msgid "Enter names of indexes to delegate to Solr. One per line." +msgstr "" + # from plinn-manual msgid "${month}/${day}/${year}  ${hour}:${minute}:${second}" diff --git a/www/manage_solr.zpt b/www/manage_solr.pt similarity index 100% rename from www/manage_solr.zpt rename to www/manage_solr.pt