[extensions-web] i18n: remove html tags from string
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] i18n: remove html tags from string
- Date: Tue, 22 Jan 2019 14:54:45 +0000 (UTC)
commit 1cbab299f8bcabdf33730e27a119e3a6ff32e092
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Tue Jan 22 18:54:25 2019 +0400
i18n: remove html tags from string
Fixes: https://gitlab.gnome.org/Infrastructure/extensions-web/issues/78
po/extensions-web.pot | 12 +++++-------
sweettooth/static/js/extensions.js | 5 +++--
2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/po/extensions-web.pot b/po/extensions-web.pot
index fbb60fb..85450eb 100644
--- a/po/extensions-web.pot
+++ b/po/extensions-web.pot
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: ykonotopov gnome org\n"
-"POT-Creation-Date: 2019-01-22 03:46+0000\n"
+"POT-Creation-Date: 2019-01-22 14:52+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -302,20 +302,18 @@ msgstr ""
#: sweettooth/static/js/extensions.js:115 extensions-web-domain-djangojs:1
#, javascript-format
-msgid ""
-"See <a href=\"%s\" onclick=\"window.open(this.href); return false;\">wiki "
-"page</a> for native host connector installation instructions"
+msgid "See %swiki page%s for native host connector installation instructions"
msgstr ""
-#: sweettooth/static/js/extensions.js:123 extensions-web-domain-djangojs:1
+#: sweettooth/static/js/extensions.js:124 extensions-web-domain-djangojs:1
msgid ""
"We cannot detect a running copy of GNOME on this system, so some parts of "
"the interface may be disabled. See <a href=\"/about/#no-detection\">our "
"troubleshooting entry</a> for more information."
msgstr ""
-#: sweettooth/static/js/extensions.js:135
-#: sweettooth/static/js/extensions.js:141 extensions-web-domain-djangojs:1
+#: sweettooth/static/js/extensions.js:136
+#: sweettooth/static/js/extensions.js:142 extensions-web-domain-djangojs:1
msgid "GNOME Shell Extensions cannot list your installed extensions."
msgstr ""
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index e2e964f..6fcc1d4 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -112,8 +112,9 @@ define(['jquery', 'messages', 'dbus!_', 'extensionUtils',
gettext('Install GNOME Shell integration browser extension'),
gettext('Click here to install browser extension'),
voca.sprintf(
- gettext('See <a href="%s"
onclick="window.open(this.href); return false;">wiki page</a> for native host connector installation
instructions'),
-
'https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome/Installation'
+ gettext('See %swiki page%s for native host connector
installation instructions'),
+ '<a
href="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome/Installation"
onclick="window.open(this.href); return false;">',
+ '</a>'
)
));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]