Florianschmidtwelzow has uploaded a new change for review.
https://gerrit.wikimedia.org/r/187061
Change subject: Hygiene: Fix i18n problems with EditorCta for anonymous users
......................................................................
Hygiene: Fix i18n problems with EditorCta for anonymous users
Follow up: I8b42650df239c6fffde6a1bca0d2b152972d3141
Change-Id: Ief40bd7cdfe94d734d5e855f04605507fa2cd789
---
M i18n/en.json
M i18n/qqq.json
M includes/Resources.php
M javascripts/modules/editor/EditorOverlay.js
4 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/61/187061/1
diff --git a/i18n/en.json b/i18n/en.json
index 3bab353..9268874 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -60,7 +60,7 @@
"mobile-frontend-editor-abusefilter-read-more": "Read more",
"mobile-frontend-editor-abusefilter-warning": "Warning: Are you sure
you want to save this edit? There may be an issue with it.",
"mobile-frontend-editor-anon": "Edit without logging in",
- "mobile-frontend-editor-anoneditwarning": "'''Warning''': You are not
logged in. Your IP address will be publicly visible if you make any edits. If
you '''log in''' or '''create an account''', your edits will be attributed to
your username, along with other benefits.",
+ "mobile-frontend-editor-anonwarning": "<strong>Warning</strong>: You
are not logged in. Your IP address will be publicly visible if you make any
edits. If you <strong>log in</strong> or <strong>create an account</strong>,
your edits will be attributed to your username, along with other benefits.",
"mobile-frontend-editor-blocked": "Your account is blocked from
editing.",
"mobile-frontend-editor-cancel": "Cancel",
"mobile-frontend-editor-cancel-confirm": "Do you really want to abandon
your edit?",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index c2c5f24..ab911d8 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -88,7 +88,7 @@
"mobile-frontend-editor-abusefilter-read-more": "A caption for the
button allowing the user to read more about the problems with their
edit.\n{{Identical|Read more}}",
"mobile-frontend-editor-abusefilter-warning": "A message telling the
user that their edit triggered an AbuseFilter warning.",
"mobile-frontend-editor-anon": "Title for link to edit a page without
logging in.",
- "mobile-frontend-editor-anoneditwarning": "Warning message, when user
want to edit without logging in.",
+ "mobile-frontend-editor-anonwarning": "Warning message, when user want
to edit without logging in.",
"mobile-frontend-editor-blocked": "Toast message that appears when a
user is unable to edit a page due to being blocked and clicks edit icon.",
"mobile-frontend-editor-cancel": "Caption for cancel button on edit
form.\n{{Identical|Cancel}}",
"mobile-frontend-editor-cancel-confirm": "Question asking user if they
are positive about abandoning unsaved edit.",
diff --git a/includes/Resources.php b/includes/Resources.php
index 97b4e35..c889a70 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -481,7 +481,7 @@
'mobile-frontend-editor-visual-editor',
'mobile-frontend-editor-source-editor',
'mobile-frontend-editor-switch-editor',
- 'mobile-frontend-editor-anoneditwarning' => array(
'parse' ),
+ 'mobile-frontend-editor-anonwarning',
),
),
diff --git a/javascripts/modules/editor/EditorOverlay.js
b/javascripts/modules/editor/EditorOverlay.js
index cee3796..f3e97ae 100644
--- a/javascripts/modules/editor/EditorOverlay.js
+++ b/javascripts/modules/editor/EditorOverlay.js
@@ -37,7 +37,7 @@
signupCaption: mw.msg(
'mobile-frontend-watchlist-cta-button-signup' ),
anonLabel: mw.msg( 'mobile-frontend-editor-anon' ),
anonSelector: 'continue-edit',
- anonMsg: mw.msg(
'mobile-frontend-editor-anoneditwarning' )
+ anonMsg: mw.msg( 'mobile-frontend-editor-anonwarning' )
} ),
editor: 'SourceEditor',
sectionLine: '',
--
To view, visit https://gerrit.wikimedia.org/r/187061
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief40bd7cdfe94d734d5e855f04605507fa2cd789
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits