[PATCH 5 of 8 sherpa V2] [eac] Display NameEntry.parts as 'name'

Sylvain Thenault sylvain.thenault at logilab.fr
Wed Mar 29 12:07:35 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1490696629 -7200
#      Tue Mar 28 12:23:49 2017 +0200
# Node ID fb07744cb84051c22255354c04f85562e3ee87a0
# Parent  5a5ff6803bc88725ed8587ba1e149b2b00bb7932
[eac] Display NameEntry.parts as 'name'

Related to #17066617

diff --git a/MANIFEST.in b/MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,8 +1,8 @@
 recursive-include cubicweb_sherpa *.py
 recursive-include cubicweb_sherpa/data *.gif *.png *.ico *.css *.js *.otf *.ttf *.txt
-recursive-include cubicweb_sherpa/i18n *.po
+recursive-include cubicweb_sherpa/i18n *.po *.pot
 include cubicweb_sherpa/views/templates/*.html
 include tox.ini
 include doc/Makefile doc/conf.py doc/*.rst
 include dev-requirements.txt
 include test/*.py test/data/bootstrap_cubes
diff --git a/cubicweb_sherpa/i18n/en.po b/cubicweb_sherpa/i18n/en.po
--- a/cubicweb_sherpa/i18n/en.po
+++ b/cubicweb_sherpa/i18n/en.po
@@ -27,5 +27,9 @@ msgstr ""
 msgid "import ConceptScheme"
 msgstr ""
 
 msgid "modified on {}"
 msgstr ""
+
+# override from cubicweb-eac
+msgid "parts"
+msgstr ""
diff --git a/cubicweb_sherpa/i18n/fr.po b/cubicweb_sherpa/i18n/fr.po
--- a/cubicweb_sherpa/i18n/fr.po
+++ b/cubicweb_sherpa/i18n/fr.po
@@ -27,5 +27,8 @@ msgstr "importer une notice d'autorité"
 msgid "import ConceptScheme"
 msgstr "importer un vocabulaire contrôlé"
 
 msgid "modified on {}"
 msgstr "modifié le {}"
+
+msgid "parts"
+msgstr "nom"
diff --git a/cubicweb_sherpa/i18n/static-messages.pot b/cubicweb_sherpa/i18n/static-messages.pot
new file mode 100644
--- /dev/null
+++ b/cubicweb_sherpa/i18n/static-messages.pot
@@ -0,0 +1,3 @@
+# override from cubicweb-eac
+msgid "parts"
+msgstr ""


More information about the saem-devel mailing list