[saem-devel] [PATCH 3 of 3 saem_ref] [views] short french translation for Organization on navigation menu

Philippe Pepiot philippe.pepiot at logilab.fr
Wed Feb 22 11:50:51 CET 2017


# HG changeset patch
# User Philippe Pepiot <philippe.pepiot at logilab.fr>
# Date 1487760503 -3600
#      Wed Feb 22 11:48:23 2017 +0100
# Node ID e8dc4a1668cafd12eb914624160bf0e83bf33e1e
# Parent  22a1f265a3715c2c29bf0cedb04046258eb80949
# Available At https://hg.logilab.org/review/cubes/saem_ref
#              hg pull https://hg.logilab.org/review/cubes/saem_ref -r e8dc4a1668ca
# Tested at https://jenkins.logilab.org/job/cubicweb-saem_ref/92/
[views] short french translation for Organization on navigation menu

With "Autorités administrative" the tab is displayed on two lines in the
navigation menu. Display "Autorités admin." instead.

diff --git a/cubicweb_saem_ref/i18n/en.po b/cubicweb_saem_ref/i18n/en.po
--- a/cubicweb_saem_ref/i18n/en.po
+++ b/cubicweb_saem_ref/i18n/en.po
@@ -164,6 +164,9 @@ msgstr ""
 msgid "Organization_plural"
 msgstr ""
 
+msgid "Organization_plural_short"
+msgstr ""
+
 msgctxt "inlined:Agent.phone_number.subject"
 msgid "PhoneNumber"
 msgstr ""
@@ -650,6 +653,12 @@ msgstr ""
 msgid "ctxcomponents_saem_ref.navmenu_conceptscheme_description"
 msgstr ""
 
+msgid "ctxcomponents_saem_ref.navmenu_organization"
+msgstr ""
+
+msgid "ctxcomponents_saem_ref.navmenu_organization_description"
+msgstr ""
+
 msgid "ctxcomponents_saem_ref.navmenu_sedaarchivetransfer"
 msgstr ""
 
diff --git a/cubicweb_saem_ref/i18n/fr.po b/cubicweb_saem_ref/i18n/fr.po
--- a/cubicweb_saem_ref/i18n/fr.po
+++ b/cubicweb_saem_ref/i18n/fr.po
@@ -170,6 +170,9 @@ msgstr "Unités administrative"
 msgid "Organization_plural"
 msgstr "Autorités administratives"
 
+msgid "Organization_plural_short"
+msgstr "Autorités admin."
+
 msgctxt "inlined:Agent.phone_number.subject"
 msgid "PhoneNumber"
 msgstr ""
@@ -667,6 +670,12 @@ msgstr ""
 msgid "ctxcomponents_saem_ref.navmenu_conceptscheme_description"
 msgstr ""
 
+msgid "ctxcomponents_saem_ref.navmenu_organization"
+msgstr ""
+
+msgid "ctxcomponents_saem_ref.navmenu_organization_description"
+msgstr ""
+
 msgid "ctxcomponents_saem_ref.navmenu_sedaarchivetransfer"
 msgstr ""
 
diff --git a/cubicweb_saem_ref/views/__init__.py b/cubicweb_saem_ref/views/__init__.py
--- a/cubicweb_saem_ref/views/__init__.py
+++ b/cubicweb_saem_ref/views/__init__.py
@@ -276,7 +276,7 @@ class MainNavigationMenuComponent(baseco
 def main_navigation_menu():
     """Yield navigation component instance to fill the navigation menu"""
     for order, (path, label) in enumerate([
-        ('Organization', 'Organization_plural'),
+        ('Organization', _('Organization_plural_short')),
         ('AuthorityRecord', 'AuthorityRecord_plural'),
         ('ConceptScheme', _('Vocabularies')),
         ('SEDAArchiveTransfer', 'SEDAArchiveTransfer_plural'),


More information about the saem-devel mailing list