changeset 8962:eabe83e5d4bc i18n

i18n: avoid '{0} → {1}' markup in translated strings
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 12 Dec 2022 22:36:28 +0100
parents a01936ef40be
children 7f5a644c18e2
files kallithea/i18n/be/LC_MESSAGES/kallithea.po kallithea/i18n/bg/LC_MESSAGES/kallithea.po kallithea/i18n/cs/LC_MESSAGES/kallithea.po kallithea/i18n/da/LC_MESSAGES/kallithea.po kallithea/i18n/de/LC_MESSAGES/kallithea.po kallithea/i18n/el/LC_MESSAGES/kallithea.po kallithea/i18n/es/LC_MESSAGES/kallithea.po kallithea/i18n/fr/LC_MESSAGES/kallithea.po kallithea/i18n/hu/LC_MESSAGES/kallithea.po kallithea/i18n/ja/LC_MESSAGES/kallithea.po kallithea/i18n/kallithea.pot kallithea/i18n/lb/LC_MESSAGES/kallithea.po kallithea/i18n/nb_NO/LC_MESSAGES/kallithea.po kallithea/i18n/nl_BE/LC_MESSAGES/kallithea.po kallithea/i18n/pl/LC_MESSAGES/kallithea.po kallithea/i18n/pt/LC_MESSAGES/kallithea.po kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po kallithea/i18n/ru/LC_MESSAGES/kallithea.po kallithea/i18n/sk/LC_MESSAGES/kallithea.po kallithea/i18n/tr/LC_MESSAGES/kallithea.po kallithea/i18n/uk/LC_MESSAGES/kallithea.po kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po kallithea/templates/base/root.html kallithea/templates/changelog/changelog.html
diffstat 25 files changed, 61 insertions(+), 61 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/i18n/be/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/be/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4146,12 +4146,12 @@
 msgstr "Стварыць новы pull-запыт з {0}"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
-msgstr "Стварыць новы pull-запыт для {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
+msgstr "Стварыць новы pull-запыт для {0}"
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
-msgstr "Паказаць выбраныя наборы змен: {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
+msgstr "Паказаць выбраныя наборы змен {0}"
 
 #: kallithea/templates/base/root.html:43
 msgid "Selection Link"
--- a/kallithea/i18n/bg/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/bg/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -3981,11 +3981,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/cs/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/cs/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4032,11 +4032,11 @@
 msgstr "Změna stavu-> %s"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/da/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/da/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4027,11 +4027,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/de/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/de/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4306,12 +4306,12 @@
 msgstr "Kommentar von Pull Request"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
 #, fuzzy
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr "Ausgewähltes Changeset anzeigen __S"
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/el/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/el/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4245,12 +4245,12 @@
 msgstr "Άνοιγμα νέας αίτησης έλξης από {0}"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
-msgstr "Άνοιγμα νέου αιτήματος έλξης για {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
+msgstr "Άνοιγμα νέου αιτήματος έλξης για {0}"
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
-msgstr "Εμφάνιση Επιλεγμένων Σετ Αλλαγών {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
+msgstr "Εμφάνιση Επιλεγμένων Σετ Αλλαγών {0}"
 
 #: kallithea/templates/base/root.html:43
 msgid "Selection Link"
--- a/kallithea/i18n/es/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/es/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4027,11 +4027,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/fr/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/fr/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4261,12 +4261,12 @@
 msgstr "Ouvrir une nouvelle requête de pull à partir de {0}"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
-msgstr "Ouvrir une nouvelle requête de pull pour {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
+msgstr "Ouvrir une nouvelle requête de pull pour {0}"
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
-msgstr "Afficher les changesets sélectionnés {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
+msgstr "Afficher les changesets sélectionnés {0}"
 
 #: kallithea/templates/base/root.html:43
 msgid "Selection Link"
--- a/kallithea/i18n/hu/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/hu/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -3992,11 +3992,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/ja/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/ja/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4196,11 +4196,11 @@
 msgstr "新しいプルリクエストを{0}から作成"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr "{0} &rarr; {1}から新しいプルリクエストを作成する"
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr "選択したチェンジセット{0} &rarr; {0}を表示"
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/kallithea.pot	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/kallithea.pot	Mon Dec 12 22:36:28 2022 +0100
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Kallithea 0.7.0\n"
 "Report-Msgid-Bugs-To: translations@kallithea-scm.org\n"
-"POT-Creation-Date: 2022-12-12 22:25+0100\n"
+"POT-Creation-Date: 2022-12-12 22:27+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -3962,11 +3962,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/lb/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/lb/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -3981,11 +3981,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/nb_NO/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/nb_NO/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4058,11 +4058,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/nl_BE/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/nl_BE/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -3992,12 +3992,12 @@
 msgstr "Open nieuwe pull request vanaf {0}"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
-msgstr "Toon geselecteerde changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
+msgstr "Toon geselecteerde changesets {0}"
 
 #: kallithea/templates/base/root.html:43
 msgid "Selection Link"
--- a/kallithea/i18n/pl/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/pl/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4191,12 +4191,12 @@
 msgstr "Komentarz połączenia gałęzi %s"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
 #, fuzzy
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr "Pokaż wybrane zmiany __S -> __E"
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/pt/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/pt/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4026,11 +4026,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4197,12 +4197,12 @@
 msgstr "Comentar no pull request #%s"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
 #, fuzzy
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr "Mostrar changesets selecionados __S -> __E"
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/ru/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/ru/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4215,12 +4215,12 @@
 msgstr "Открыть новый pull-запрос от {0}"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
-msgstr "Открыть новый pull-запрос для {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
+msgstr "Открыть новый pull-запрос для {0}"
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
-msgstr "Показать выбранные наборы изменений: {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
+msgstr "Показать выбранные наборы изменений: {0}"
 
 #: kallithea/templates/base/root.html:43
 msgid "Selection Link"
--- a/kallithea/i18n/sk/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/sk/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4030,11 +4030,11 @@
 msgstr "Zmena stavu"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/tr/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/tr/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -3988,11 +3988,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/uk/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/uk/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4056,11 +4056,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4116,12 +4116,12 @@
 msgstr "[评论]拉取请求"
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
-msgstr "显示选中的修订集 {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
+msgstr "显示选中的修订集 {0}"
 
 #: kallithea/templates/base/root.html:43
 #, fuzzy
--- a/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po	Mon Dec 12 22:36:28 2022 +0100
@@ -4060,11 +4060,11 @@
 msgstr ""
 
 #: kallithea/templates/base/root.html:41
-msgid "Open New Pull Request for {0} &rarr; {1}"
+msgid "Open New Pull Request for {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:42
-msgid "Show Selected Changesets {0} &rarr; {1}"
+msgid "Show Selected Changesets {0}"
 msgstr ""
 
 #: kallithea/templates/base/root.html:43
--- a/kallithea/templates/base/root.html	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/templates/base/root.html	Mon Dec 12 22:36:28 2022 +0100
@@ -38,8 +38,8 @@
                 'Search truncated': ${h.jshtml(_('Search truncated'))},
                 'No matching files': ${h.jshtml(_('No matching files'))},
                 'Open New Pull Request from {0}': ${h.jshtml(_('Open New Pull Request from {0}'))},
-                'Open New Pull Request for {0} &rarr; {1}': ${h.js(_('Open New Pull Request for {0} &rarr; {1}'))},
-                'Show Selected Changesets {0} &rarr; {1}': ${h.js(_('Show Selected Changesets {0} &rarr; {1}'))},
+                'Open New Pull Request for {0}': ${h.js(_('Open New Pull Request for {0}'))},
+                'Show Selected Changesets {0}': ${h.js(_('Show Selected Changesets {0}'))},
                 'Selection Link': ${h.jshtml(_('Selection Link'))},
                 'Collapse Diff': ${h.jshtml(_('Collapse Diff'))},
                 'Expand Diff': ${h.jshtml(_('Expand Diff'))},
--- a/kallithea/templates/changelog/changelog.html	Mon Dec 12 21:02:30 2022 +0100
+++ b/kallithea/templates/changelog/changelog.html	Mon Dec 12 22:36:28 2022 +0100
@@ -109,13 +109,13 @@
                                 pyroutes.url('changeset_home', {'repo_name': ${h.js(c.repo_name)},
                                                                 'revision': rev_start + '...' + rev_end}));
                             $('#rev_range_container').html(
-                                 _TM['Show Selected Changesets {0} &rarr; {1}'].format(rev_start.substr(0, 12), rev_end.substr(0, 12)));
+                                 _TM['Show Selected Changesets {0}'].format(rev_start.substr(0, 12) + ' &rarr; ' + rev_end.substr(0, 12)));
                             $('#rev_range_container').show();
                             $('#open_new_pr').prop('href', pyroutes.url('pullrequest_home',
                                                                         {'repo_name': ${h.js(c.repo_name)},
                                                                          'rev_start': rev_start,
                                                                          'rev_end': rev_end}));
-                            $('#open_new_pr').html(_TM['Open New Pull Request for {0} &rarr; {1}'].format(rev_start.substr(0, 12), rev_end.substr(0, 12)));
+                            $('#open_new_pr').html(_TM['Open New Pull Request for {0}'].format(rev_start.substr(0, 12) + ' &rarr; ' + rev_end.substr(0, 12)));
                         } else {
                             $('#open_new_pr').prop('href', pyroutes.url('pullrequest_home',
                                                                         {'repo_name': ${h.js(c.repo_name)},