Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/62818
Change subject: Bug 48125: Support gender in mobile-frontend-photo-ownership
......................................................................
Bug 48125: Support gender in mobile-frontend-photo-ownership
Bug: 48125
Change-Id: I721a53bb00987602ce1d544577f41d36422e885a
---
M MobileFrontend.i18n.php
M javascripts/modules/mf-photo.js
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/18/62818/1
diff --git a/MobileFrontend.i18n.php b/MobileFrontend.i18n.php
index c24cf3e..86fdb23 100644
--- a/MobileFrontend.i18n.php
+++ b/MobileFrontend.i18n.php
@@ -564,7 +564,7 @@
'mobile-frontend-photo-upload-comment' => 'Comment associated with the
upload of a photo',
'mobile-frontend-photo-caption-placeholder' => 'Placeholder text
prompting user to add a mandatory caption to a photo',
'mobile-frontend-image-loading' => 'Text that displays while an image
is loading',
- 'mobile-frontend-photo-ownership' => 'A statement saying the user
created the image where $1 is the username',
+ 'mobile-frontend-photo-ownership' => 'A statement saying the user
created the image where $1 is the username. Supports GENDER.',
'mobile-frontend-photo-ownership-help' => 'A link that allows the user
to open more information about what {{msg-mw|mobile-frontend-photo-ownership}}
entails.
{{Identical|What does this mean}}',
'mobile-frontend-photo-ownership-confirm' => 'Friendly confirmation
message expressing understanding',
diff --git a/javascripts/modules/mf-photo.js b/javascripts/modules/mf-photo.js
index 6d57127..7e742bb 100644
--- a/javascripts/modules/mf-photo.js
+++ b/javascripts/modules/mf-photo.js
@@ -6,7 +6,7 @@
ProgressBar = M.require( 'widgets/progress-bar' ),
nav = M.require( 'navigation' ),
Overlay = nav.Overlay,
- msg = mw.msg( 'mobile-frontend-photo-ownership', mw.config.get(
'wgUserName' ) ),
+ msg = mw.msg( 'mobile-frontend-photo-ownership', mw.config.get(
'wgUserName' ), mw.user ),
CopyrightOverlay = Overlay.extend( {
defaults: {
bulletPoints: [
--
To view, visit https://gerrit.wikimedia.org/r/62818
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I721a53bb00987602ce1d544577f41d36422e885a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits