[export views] uniformize titles, much nicer when listing possible views. Closes #2060944
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 28 Oct 2011 11:33:24 +0200
changeset 8035 f98012ec7c53
parent 8034 b07d61090706
child 8036 140a093015f8
[export views] uniformize titles, much nicer when listing possible views. Closes #2060944
i18n/de.po
i18n/en.po
i18n/es.po
i18n/fr.po
web/views/csvexport.py
web/views/rdf.py
web/views/xbel.py
web/views/xmlrss.py
--- a/i18n/de.po	Fri Oct 28 11:31:11 2011 +0200
+++ b/i18n/de.po	Fri Oct 28 11:33:24 2011 +0200
@@ -1755,12 +1755,12 @@
 msgid "cstrtype_object"
 msgstr "Einschränkungstyp von"
 
-msgid "csv entities export"
-msgstr "CSV-Export von Entitäten"
-
 msgid "csv export"
 msgstr "CSV-Export"
 
+msgid "csv export (entities)"
+msgstr ""
+
 msgid "ctxcomponents"
 msgstr "Kontext-Komponenten"
 
@@ -3460,7 +3460,7 @@
 msgid "rdef-permissions"
 msgstr "Rechte"
 
-msgid "rdf"
+msgid "rdf export"
 msgstr ""
 
 msgid "read"
@@ -3641,8 +3641,8 @@
 msgid "rql expressions"
 msgstr "RQL-Ausdrücke"
 
-msgid "rss"
-msgstr "RSS"
+msgid "rss export"
+msgstr ""
 
 msgid "same_as"
 msgstr "identisch mit"
@@ -4527,15 +4527,15 @@
 msgid "wrong query parameter line %s"
 msgstr "Falscher Anfrage-Parameter Zeile %s"
 
-msgid "xbel"
-msgstr "XBEL"
-
-msgid "xml"
-msgstr "XML"
+msgid "xbel export"
+msgstr ""
 
 msgid "xml export"
 msgstr "XML-Export"
 
+msgid "xml export (entities)"
+msgstr ""
+
 msgid "yes"
 msgstr "Ja"
 
@@ -4553,29 +4553,20 @@
 msgid "you should un-inline relation %s which is supported and may be crossed "
 msgstr ""
 
-#~ msgid "%d&#160;days"
-#~ msgstr "%d&#160;Tage"
-
-#~ msgid "%d&#160;hours"
-#~ msgstr "%d&#160;Stunden"
-
-#~ msgid "%d&#160;minutes"
-#~ msgstr "%d&#160;Minuten"
-
-#~ msgid "%d&#160;months"
-#~ msgstr "%d&#160;Monate"
-
-#~ msgid "%d&#160;seconds"
-#~ msgstr "%d&#160;Sekunden"
-
-#~ msgid "%d&#160;weeks"
-#~ msgstr "%d&#160;Wochen"
-
-#~ msgid "%d&#160;years"
-#~ msgstr "%d&#160;Jahre"
-
 #~ msgid "Schema of the data model"
 #~ msgstr "Schema des Datenmodells"
 
+#~ msgid "csv entities export"
+#~ msgstr "CSV-Export von Entitäten"
+
 #~ msgid "instance schema"
 #~ msgstr "Schema der Instanz"
+
+#~ msgid "rss"
+#~ msgstr "RSS"
+
+#~ msgid "xbel"
+#~ msgstr "XBEL"
+
+#~ msgid "xml"
+#~ msgstr "XML"
--- a/i18n/en.po	Fri Oct 28 11:31:11 2011 +0200
+++ b/i18n/en.po	Fri Oct 28 11:33:24 2011 +0200
@@ -1708,11 +1708,11 @@
 msgid "cstrtype_object"
 msgstr "constraint type of"
 
-msgid "csv entities export"
-msgstr ""
-
 msgid "csv export"
-msgstr ""
+msgstr "CSV export"
+
+msgid "csv export (entities)"
+msgstr "CSV export (entities)"
 
 msgid "ctxcomponents"
 msgstr "contextual components"
@@ -2834,10 +2834,10 @@
 msgstr ""
 
 msgid "json-entities-export-view"
-msgstr ""
+msgstr "JSON export (entities)"
 
 msgid "json-export-view"
-msgstr ""
+msgstr "JSON export"
 
 msgid "july"
 msgstr ""
@@ -3376,8 +3376,8 @@
 msgid "rdef-permissions"
 msgstr "permissions"
 
-msgid "rdf"
-msgstr ""
+msgid "rdf export"
+msgstr "RDF export"
 
 msgid "read"
 msgstr ""
@@ -3554,8 +3554,8 @@
 msgid "rql expressions"
 msgstr ""
 
-msgid "rss"
-msgstr ""
+msgid "rss export"
+msgstr "RSS export"
 
 msgid "same_as"
 msgstr "same as"
@@ -4415,14 +4415,14 @@
 msgid "wrong query parameter line %s"
 msgstr ""
 
-msgid "xbel"
-msgstr ""
-
-msgid "xml"
-msgstr ""
+msgid "xbel export"
+msgstr "XBEL export"
 
 msgid "xml export"
-msgstr ""
+msgstr "XML export"
+
+msgid "xml export (entities)"
+msgstr "XML export (entities)"
 
 msgid "yes"
 msgstr ""
--- a/i18n/es.po	Fri Oct 28 11:31:11 2011 +0200
+++ b/i18n/es.po	Fri Oct 28 11:33:24 2011 +0200
@@ -1779,12 +1779,12 @@
 msgid "cstrtype_object"
 msgstr "Tipo de restricciones"
 
-msgid "csv entities export"
-msgstr "Exportar entidades en csv"
-
 msgid "csv export"
 msgstr "Exportar en CSV"
 
+msgid "csv export (entities)"
+msgstr ""
+
 msgid "ctxcomponents"
 msgstr "Componentes contextuales"
 
@@ -3501,8 +3501,8 @@
 msgid "rdef-permissions"
 msgstr "Permisos"
 
-msgid "rdf"
-msgstr "rdf"
+msgid "rdf export"
+msgstr ""
 
 msgid "read"
 msgstr "Lectura"
@@ -3691,8 +3691,8 @@
 msgid "rql expressions"
 msgstr "Expresiones RQL"
 
-msgid "rss"
-msgstr "RSS"
+msgid "rss export"
+msgstr ""
 
 msgid "same_as"
 msgstr "Idéntico a"
@@ -4576,15 +4576,15 @@
 msgid "wrong query parameter line %s"
 msgstr "Parámetro erróneo de consulta línea %s"
 
-msgid "xbel"
-msgstr "xbel"
-
-msgid "xml"
-msgstr "xml"
+msgid "xbel export"
+msgstr ""
 
 msgid "xml export"
 msgstr "Exportar XML"
 
+msgid "xml export (entities)"
+msgstr ""
+
 msgid "yes"
 msgstr "Sí"
 
@@ -4604,35 +4604,29 @@
 "usted debe  quitar la puesta en línea de la relación %s que es aceptada y "
 "puede ser cruzada"
 
-#~ msgid "%d&#160;days"
-#~ msgstr "%d&#160;días"
-
-#~ msgid "%d&#160;hours"
-#~ msgstr "%d&#160;horas"
-
-#~ msgid "%d&#160;minutes"
-#~ msgstr "%d&#160;minutos"
-
-#~ msgid "%d&#160;months"
-#~ msgstr "%d&#160;meses"
-
-#~ msgid "%d&#160;seconds"
-#~ msgstr "%d&#160;segundos"
-
-#~ msgid "%d&#160;weeks"
-#~ msgstr "%d&#160;semanas"
-
-#~ msgid "%d&#160;years"
-#~ msgstr "%d&#160;años"
-
 #~ msgid "Schema of the data model"
 #~ msgstr "Esquema del modelo de datos"
 
 #~ msgid "add a CWSourceSchemaConfig"
 #~ msgstr "agregar una parte de mapeo"
 
+#~ msgid "csv entities export"
+#~ msgstr "Exportar entidades en csv"
+
 #~ msgid "instance schema"
 #~ msgstr "Esquema de la Instancia"
 
+#~ msgid "rdf"
+#~ msgstr "rdf"
+
+#~ msgid "rss"
+#~ msgstr "RSS"
+
 #~ msgid "siteinfo"
 #~ msgstr "información"
+
+#~ msgid "xbel"
+#~ msgstr "xbel"
+
+#~ msgid "xml"
+#~ msgstr "xml"
--- a/i18n/fr.po	Fri Oct 28 11:31:11 2011 +0200
+++ b/i18n/fr.po	Fri Oct 28 11:33:24 2011 +0200
@@ -1782,12 +1782,12 @@
 msgid "cstrtype_object"
 msgstr "type des contraintes"
 
-msgid "csv entities export"
-msgstr "export d'entités en CSV"
-
 msgid "csv export"
 msgstr "export CSV"
 
+msgid "csv export (entities)"
+msgstr "export CSV (entités)"
+
 msgid "ctxcomponents"
 msgstr "composants contextuels"
 
@@ -3506,8 +3506,8 @@
 msgid "rdef-permissions"
 msgstr "permissions"
 
-msgid "rdf"
-msgstr "rdf"
+msgid "rdf export"
+msgstr "export RDF"
 
 msgid "read"
 msgstr "lecture"
@@ -3697,8 +3697,8 @@
 msgid "rql expressions"
 msgstr "conditions rql"
 
-msgid "rss"
-msgstr "RSS"
+msgid "rss export"
+msgstr "export RSS"
 
 msgid "same_as"
 msgstr "identique à"
@@ -4582,14 +4582,14 @@
 msgid "wrong query parameter line %s"
 msgstr "mauvais paramètre de requête ligne %s"
 
-msgid "xbel"
-msgstr "xbel"
-
-msgid "xml"
-msgstr "xml"
+msgid "xbel export"
+msgstr "export XBEL"
 
 msgid "xml export"
-msgstr "export xml"
+msgstr "export XML"
+
+msgid "xml export (entities)"
+msgstr "export XML (entités)"
 
 msgid "yes"
 msgstr "oui"
--- a/web/views/csvexport.py	Fri Oct 28 11:31:11 2011 +0200
+++ b/web/views/csvexport.py	Fri Oct 28 11:33:24 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -78,7 +78,7 @@
     contents)
     """
     __regid__ = 'ecsvexport'
-    title = _('csv entities export')
+    title = _('csv export (entities)')
 
     def call(self):
         req = self._cw
--- a/web/views/rdf.py	Fri Oct 28 11:31:11 2011 +0200
+++ b/web/views/rdf.py	Fri Oct 28 11:33:24 2011 +0200
@@ -45,7 +45,7 @@
     class RDFView(EntityView):
         """rdf view for entities"""
         __regid__ = 'rdf'
-        title = _('rdf')
+        title = _('rdf export')
         templatable = False
         content_type = 'text/xml' # +rdf
 
--- a/web/views/xbel.py	Fri Oct 28 11:31:11 2011 +0200
+++ b/web/views/xbel.py	Fri Oct 28 11:33:24 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -15,9 +15,8 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""xbel views
+"""xbel views"""
 
-"""
 __docformat__ = "restructuredtext en"
 _ = unicode
 
@@ -30,7 +29,7 @@
 
 class XbelView(XMLView):
     __regid__ = 'xbel'
-    title = _('xbel')
+    title = _('xbel export')
     templatable = False
     content_type = 'text/xml' #application/xbel+xml
 
--- a/web/views/xmlrss.py	Fri Oct 28 11:31:11 2011 +0200
+++ b/web/views/xmlrss.py	Fri Oct 28 11:33:24 2011 +0200
@@ -52,7 +52,7 @@
 class XMLView(EntityView):
     """xml view for entities"""
     __regid__ = 'xml'
-    title = _('xml')
+    title = _('xml export (entities)')
     templatable = False
     content_type = 'text/xml'
     xml_root = 'rset'
@@ -231,7 +231,7 @@
 
 class RSSView(XMLView):
     __regid__ = 'rss'
-    title = _('rss')
+    title = _('rss export')
     templatable = False
     content_type = 'text/xml'
     http_cache_manager = httpcache.MaxAgeHTTPCacheManager