Merge "Add GENDER support for 'thanks-error-ratelimited'"

This commit is contained in:
jenkins-bot 2013-10-15 16:06:42 +00:00 committed by Gerrit Code Review
commit 16bc19e2da
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ $messages['en'] = array(
'thanks-button-thanked' => '{{GENDER:$1|Thanked}}',
'thanks-error-undefined' => 'Thank action failed. Please try again.',
'thanks-error-invalidrevision' => 'Revision ID is not valid.',
'thanks-error-ratelimited' => "You've exceeded your rate limit. Please wait some time and try again.",
'thanks-error-ratelimited' => "{{GENDER:$1|You}}'ve exceeded your rate limit. Please wait some time and try again.",
'thanks-thank-tooltip' => '{{GENDER:$1|Send}} a thank you notification to this {{GENDER:$2|user}}',
'thanks-confirmation' => 'Do you want to {{GENDER:$1|thank}} $2 for this edit?',
'thanks-thanked-notice' => '$1 was notified that you liked {{GENDER:$2|his|her|their}} edit.',

View file

@ -22,7 +22,7 @@
popup.show( mw.msg( 'thanks-error-invalidrevision' ) );
break;
case 'ratelimited':
popup.show( mw.msg( 'thanks-error-ratelimited' ) );
popup.show( mw.msg( 'thanks-error-ratelimited', gender ) );
break;
default:
popup.show( mw.msg( 'thanks-error-undefined' ) );

View file

@ -93,7 +93,7 @@
alert( mw.msg( 'thanks-error-invalidrevision' ) );
break;
case 'ratelimited':
alert( mw.msg( 'thanks-error-ratelimited' ) );
alert( mw.msg( 'thanks-error-ratelimited', mw.user ) );
break;
default:
alert( mw.msg( 'thanks-error-undefined' ) );