Shirayuki has uploaded a new change for review.
https://gerrit.wikimedia.org/r/107758
Change subject: i18n: fix "user-is-moderator"
......................................................................
i18n: fix "user-is-moderator"
- message "user-is-a moderator" is not defined
- add full-stops to messages
Change-Id: I1d66eb838eed36e6921968e03657c49a195d777e
---
M MediaWikiChat.i18n.php
M MediaWikiChat.js
2 files changed, 13 insertions(+), 13 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MediaWikiChat
refs/changes/58/107758/1
diff --git a/MediaWikiChat.i18n.php b/MediaWikiChat.i18n.php
index 089d354..24fa324 100644
--- a/MediaWikiChat.i18n.php
+++ b/MediaWikiChat.i18n.php
@@ -18,7 +18,7 @@
'chat-type-your-private-message' => 'Type your private message',
'chat-no-other-users' => 'No other users on chat',
'chat-blocked-from-chat' => 'You have been blocked from this chat.',
- 'chat-not-allowed' => 'You are not allowed to chat, try logging in
first',
+ 'chat-not-allowed' => 'You are not allowed to chat, try logging in
first.',
'chat-just-now' => 'just now',
@@ -27,24 +27,24 @@
'chat-yesterday' => 'yesterday',
- 'chat-youve-been-kicked' => 'You have been {{GENDER:$2|kicked}} by $1.
Refresh the page to chat',
- 'chat-you-kicked' => 'You {{GENDER:$2|kicked}} $1',
- 'chat-kicked' => '$1 {{GENDER:$3|kicked}} $2',
+ 'chat-youve-been-kicked' => 'You have been {{GENDER:$2|kicked}} by $1.
Refresh the page to chat.',
+ 'chat-you-kicked' => 'You {{GENDER:$2|kicked}} $1.',
+ 'chat-kicked' => '$1 {{GENDER:$3|kicked}} $2.',
'chat-kick' => 'kick',
'chat-youve-been-blocked' => 'You have been {{GENDER:$2|blocked}} by
$1.',
- 'chat-you-blocked' => 'You {{GENDER:$2|blocked}} $1',
- 'chat-blocked' => '$1 {{GENDER:$3|blocked}} $2',
+ 'chat-you-blocked' => 'You {{GENDER:$2|blocked}} $1.',
+ 'chat-blocked' => '$1 {{GENDER:$3|blocked}} $2.',
'chat-block' => 'block',
- 'chat-you-unblocked' => 'You {{GENDER:$2|unblocked}} $1',
- 'chat-unblocked' => '$1 {{GENDER:$3|unblocked}} $2',
+ 'chat-you-unblocked' => 'You {{GENDER:$2|unblocked}} $1.',
+ 'chat-unblocked' => '$1 {{GENDER:$3|unblocked}} $2.',
'chat-private-message' => '(private message)',
- 'chat-user-is-moderator' => 'This user {{GENDER:$1|is}} a moderator',
- 'chat-you-are-moderator' => 'You {{GENDER:$1|are}} a moderator',
- 'chat-joined' => '$1 has {{GENDER:$2|joined}} the chat',
- 'chat-left' => '$1 has {{GENDER:$2|left}} chat',
+ 'chat-user-is-moderator' => 'This user {{GENDER:$1|is}} a moderator.',
+ 'chat-you-are-moderator' => 'You {{GENDER:$1|are}} a moderator.',
+ 'chat-joined' => '$1 has {{GENDER:$2|joined}} the chat.',
+ 'chat-left' => '$1 has {{GENDER:$2|left}} chat.',
'chat-topic' => 'Welcome to {{SITENAME}} chat. ([[Special:Log/chat|chat
log]])',
diff --git a/MediaWikiChat.js b/MediaWikiChat.js
index d10fbde..2825a7a 100644
--- a/MediaWikiChat.js
+++ b/MediaWikiChat.js
@@ -354,7 +354,7 @@
}
if ( user.mod ) {
html += '<img src="' + mw.message(
'chat-mod-image').escaped() + '" height="16px" alt="" title="';
- html += mw.message( 'user-is-a moderator' ).text() + '"
/>';
+ html += mw.message( 'user-is-moderator' ).text() + '"
/>';
}
html += ' <span class="mwchat-useritem-pmlink"
style="display:none">';
--
To view, visit https://gerrit.wikimedia.org/r/107758
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d66eb838eed36e6921968e03657c49a195d777e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits