jenkins-bot has submitted this change and it was merged.

Change subject: Add GENDER support for 'thanks-button-thank'
......................................................................


Add GENDER support for 'thanks-button-thank'

Spotted by Asaifm at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Thanks-button-thank/ar

Change-Id: Iaeacd998344645557384e9c90c9cc48350abf9f0
---
M Thanks.i18n.php
M modules/ext.thanks.mobilediff.js
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Thanks.i18n.php b/Thanks.i18n.php
index f04fe44..1d9cc98 100644
--- a/Thanks.i18n.php
+++ b/Thanks.i18n.php
@@ -15,7 +15,7 @@
        'thanks-desc' => 'Adds thank links to history and diff views',
        'thanks-thank' => 'thank',
        'thanks-thanked' => '{{GENDER:$1|thanked}}',
-       'thanks-button-thank' => 'Thank',
+       'thanks-button-thank' => '{{GENDER:$1|Thank}}',
        'thanks-button-thanked' => '{{GENDER:$1|Thanked}}',
        'thanks-error-undefined' => 'Thank action failed. Please try again.',
        'thanks-error-invalidrevision' => 'Revision ID is not valid.',
diff --git a/modules/ext.thanks.mobilediff.js b/modules/ext.thanks.mobilediff.js
index a5aff81..31ff2f6 100644
--- a/modules/ext.thanks.mobilediff.js
+++ b/modules/ext.thanks.mobilediff.js
@@ -46,7 +46,7 @@
                if ( name !== mw.config.get( 'wgUserName' ) ) {
                        return $( '<button class="mw-mf-action-button">' )
                                .html( '<img width="25" height="20" src="' + 
thankImg + '" class="mw-mf-action-button-icon"/>' +
-                                       mw.message( 'thanks-button-thank' 
).escaped()
+                                       mw.message( 'thanks-button-thank', 
mw.user ).escaped()
                                )
                                .on( 'click', function() {
                                        var $thankLink = $( this );

-- 
To view, visit https://gerrit.wikimedia.org/r/88013
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaeacd998344645557384e9c90c9cc48350abf9f0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Thanks
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to