# HG changeset patch # User Alain Leufroy # Date 1322043831 -3600 # Node ID 5ad0f8ac756184259f6b09e8225b9958515a4328 # Parent bedf36fb17f18707d4078af325ae613efcd8430b [web/views/tabs] improve non graphical experince with tabs (closes #2097405) diff -r bedf36fb17f1 -r 5ad0f8ac7561 i18n/de.po --- a/i18n/de.po Wed Nov 23 14:45:13 2011 +0100 +++ b/i18n/de.po Wed Nov 23 11:23:51 2011 +0100 @@ -145,9 +145,6 @@ msgid "(UNEXISTANT EID)" msgstr "(EID nicht gefunden)" -msgid "(loading ...)" -msgstr "(laden...)" - msgid "**" msgstr "0..n 0..n" @@ -533,6 +530,9 @@ msgid "Interval_plural" msgstr "Intervalle" +msgid "Link:" +msgstr "" + msgid "Looked up classes" msgstr "gesuchte Klassen" @@ -2513,9 +2513,6 @@ msgid "follow this link for more information on this %s" msgstr "Folgend Sie dem Link für mehr Informationen über %s" -msgid "follow this link if javascript is deactivated" -msgstr "Folgen Sie diesem Link, falls Javascript deaktiviert ist." - msgid "for_user" msgstr "für den Nutzer" @@ -4553,12 +4550,18 @@ msgid "you should un-inline relation %s which is supported and may be crossed " msgstr "" +#~ msgid "(loading ...)" +#~ msgstr "(laden...)" + #~ msgid "Schema of the data model" #~ msgstr "Schema des Datenmodells" #~ msgid "csv entities export" #~ msgstr "CSV-Export von Entitäten" +#~ msgid "follow this link if javascript is deactivated" +#~ msgstr "Folgen Sie diesem Link, falls Javascript deaktiviert ist." + #~ msgid "instance schema" #~ msgstr "Schema der Instanz" diff -r bedf36fb17f1 -r 5ad0f8ac7561 i18n/en.po --- a/i18n/en.po Wed Nov 23 14:45:13 2011 +0100 +++ b/i18n/en.po Wed Nov 23 11:23:51 2011 +0100 @@ -137,9 +137,6 @@ msgid "(UNEXISTANT EID)" msgstr "" -msgid "(loading ...)" -msgstr "" - msgid "**" msgstr "0..n 0..n" @@ -509,6 +506,9 @@ msgid "Interval_plural" msgstr "Intervals" +msgid "Link:" +msgstr "" + msgid "Looked up classes" msgstr "" @@ -2458,9 +2458,6 @@ msgid "follow this link for more information on this %s" msgstr "" -msgid "follow this link if javascript is deactivated" -msgstr "" - msgid "for_user" msgstr "for user" diff -r bedf36fb17f1 -r 5ad0f8ac7561 i18n/es.po --- a/i18n/es.po Wed Nov 23 14:45:13 2011 +0100 +++ b/i18n/es.po Wed Nov 23 11:23:51 2011 +0100 @@ -146,9 +146,6 @@ msgid "(UNEXISTANT EID)" msgstr "(EID INEXISTENTE" -msgid "(loading ...)" -msgstr "(Cargando ...)" - msgid "**" msgstr "0..n 0..n" @@ -533,6 +530,9 @@ msgid "Interval_plural" msgstr "Duraciones" +msgid "Link:" +msgstr "" + msgid "Looked up classes" msgstr "Clases buscadas" @@ -2555,9 +2555,6 @@ msgid "follow this link for more information on this %s" msgstr "Seleccione esta liga para obtener mayor información sobre %s" -msgid "follow this link if javascript is deactivated" -msgstr "Seleccione esta liga si javascript esta desactivado" - msgid "for_user" msgstr "Para el usuario" @@ -4604,6 +4601,9 @@ "usted debe quitar la puesta en línea de la relación %s que es aceptada y " "puede ser cruzada" +#~ msgid "(loading ...)" +#~ msgstr "(Cargando ...)" + #~ msgid "Schema of the data model" #~ msgstr "Esquema del modelo de datos" @@ -4613,6 +4613,9 @@ #~ msgid "csv entities export" #~ msgstr "Exportar entidades en csv" +#~ msgid "follow this link if javascript is deactivated" +#~ msgstr "Seleccione esta liga si javascript esta desactivado" + #~ msgid "instance schema" #~ msgstr "Esquema de la Instancia" diff -r bedf36fb17f1 -r 5ad0f8ac7561 i18n/fr.po --- a/i18n/fr.po Wed Nov 23 14:45:13 2011 +0100 +++ b/i18n/fr.po Wed Nov 23 11:23:51 2011 +0100 @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: cubicweb 2.46.0\n" -"PO-Revision-Date: 2011-06-23 10:23+0200\n" +"PO-Revision-Date: 2011-11-23 11:09+0100\n" "Last-Translator: Logilab Team \n" "Language-Team: fr \n" "Language: \n" @@ -147,9 +147,6 @@ msgid "(UNEXISTANT EID)" msgstr "(EID INTROUVABLE)" -msgid "(loading ...)" -msgstr "(chargement ...)" - msgid "**" msgstr "0..n 0..n" @@ -533,6 +530,9 @@ msgid "Interval_plural" msgstr "Durées" +msgid "Link:" +msgstr "Lien :" + msgid "Looked up classes" msgstr "Classes recherchées" @@ -2557,9 +2557,6 @@ msgid "follow this link for more information on this %s" msgstr "suivez ce lien pour plus d'information sur ce %s" -msgid "follow this link if javascript is deactivated" -msgstr "suivez ce lien si javascript est désactivé" - msgid "for_user" msgstr "pour l'utilisateur" @@ -4609,3 +4606,9 @@ msgstr "" "vous devriez enlevé la mise en ligne de la relation %s qui est supportée et " "peut-être croisée" + +#~ msgid "(loading ...)" +#~ msgstr "(chargement ...)" + +#~ msgid "follow this link if javascript is deactivated" +#~ msgstr "suivez ce lien si javascript est désactivé" diff -r bedf36fb17f1 -r 5ad0f8ac7561 web/views/tabs.py --- a/web/views/tabs.py Wed Nov 23 14:45:13 2011 +0100 +++ b/web/views/tabs.py Wed Nov 23 11:23:51 2011 +0100 @@ -60,14 +60,16 @@ w(u'
' % ( tabid, xml_escape(self._cw.build_url('json', **urlparams)))) if show_spinbox: - w(u'%s' - % (xml_escape(self._cw.data_url('loading.gif')), - tabid, self._cw._('(loading ...)'))) + # Don't use ``alt`` since image is a *visual* helper for ajax + w(u'' + % (xml_escape(self._cw.data_url('loading.gif')), tabid)) else: w(u'
' % tabid) - w(u'' - % (tabid, xml_escape(self._cw.build_url(**urlparams)), xml_escape('%s (%s)') % - (tabid, self._cw._('follow this link if javascript is deactivated')))) + w(u'' + % (xml_escape(self._cw._('Link:')), + tabid, + xml_escape(self._cw.build_url(**urlparams)), + xml_escape(self._cw._(tabid)))) w(u'
') self._prepare_bindings(tabid, reloadable)