PranavK has uploaded a new change for review.
https://gerrit.wikimedia.org/r/266496
Change subject: Clarify and add GENDER support to a few messages
......................................................................
Clarify and add GENDER support to a few messages
Changed "e-mail" to "email address"
Added GENDER support to ob-db-user-no-email-confirmation
Bug: T124744
Change-Id: Ic70d8cecd7be3fb8440ca2079bef2fa03efde43e
---
M SpecialBadgeIssue.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OpenBadges
refs/changes/96/266496/1
diff --git a/SpecialBadgeIssue.php b/SpecialBadgeIssue.php
index 29ad480..283d0b5 100644
--- a/SpecialBadgeIssue.php
+++ b/SpecialBadgeIssue.php
@@ -132,7 +132,7 @@
return wfMessage( 'ob-db-user-no-email' );
}
if ( $wgOpenBadgesRequireEmailConfirmation &&
!$recipient->isEmailConfirmed() ) {
- return wfMessage( 'ob-db-user-no-email-confirmation' );
+ return wfMessage( 'ob-db-user-no-email-confirmation'
)->params( $recipient )->parse();
}
return true;
diff --git a/i18n/en.json b/i18n/en.json
index b8e0730..4d6424d 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -33,8 +33,8 @@
"ob-issue-type": "Badge",
"ob-issue-evidence": "Evidence URL",
"ob-db-user-not-found": "User doesn't exist.",
- "ob-db-user-no-email": "User hasn't entered an e-mail.",
- "ob-db-user-no-email-confirmation": "User hasn't confirmed their
e-mail.",
+ "ob-db-user-no-email": "User hasn't entered an email address.",
+ "ob-db-user-no-email-confirmation": "User hasn't confirmed their email
address.",
"ob-db-evidence-not-url": "The evidence must be a URL.",
"ob-db-badge-not-found": "Badge doesn't exist.",
"ob-db-unknown-error": "Unknown database error.",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index a648e08..eb597c0 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -40,7 +40,7 @@
"ob-issue-evidence": "Evidence URL, form field to input the url of the
evidence supporting the badge being awarded",
"ob-db-user-not-found": "Error message if user does not exist",
"ob-db-user-no-email": "Error message if user hasn't entered an e-mail",
- "ob-db-user-no-email-confirmation": "Error message if user hasn't
confirmed their e-mail",
+ "ob-db-user-no-email-confirmation": "Error message if user hasn't
confirmed their e-mail. Parameters:\n* $1 - username, used for GENDER support",
"ob-db-evidence-not-url": "Error message if the evidence is not a URL",
"ob-db-badge-not-found": "Error message if badge does not exist",
"ob-db-unknown-error": "Error message for unknown database error",
--
To view, visit https://gerrit.wikimedia.org/r/266496
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic70d8cecd7be3fb8440ca2079bef2fa03efde43e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OpenBadges
Gerrit-Branch: master
Gerrit-Owner: PranavK <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits