r87683 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87682‎ | r87683 | r87684 >
Date:11:22, 8 May 2011
Author:raymond
Status:ok
Tags:
Comment:
Move explanations to 'qqq' section
Tweak messages a bit
Add extension to Translatewiki
Modified paths:
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)
  • /trunk/extensions/WikiForum/WikiForum.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiForum/WikiForum.i18n.php
@@ -17,22 +17,22 @@
1818 'wikiforum' => 'Discussion board',
1919
2020 // Configuration variables -- do not translate!
21 - 'wikiforum-day-definition-new' => '3', // a thread is considered new for this many days
22 - 'wikiforum-max-threads-per-page' => '20', // number of threads which shall be shown per page on a forum
23 - 'wikiforum-max-replies-per-page' => '10', // number of replies which shall be shown per page on a thread
 21+ 'wikiforum-day-definition-new' => '3',
 22+ 'wikiforum-max-threads-per-page' => '20',
 23+ 'wikiforum-max-replies-per-page' => '10',
2424
2525 'wikiforum-anonymous' => 'Anonymous',
2626 'wikiforum-announcement-only-description' => 'Announcement forum (only moderators can add threads)',
27 - 'wikiforum-by' => '$1<br />by $2', // $1 is a timestamp (time and date), $2 is a username
 27+ 'wikiforum-by' => '$1<br />by $2',
2828 'wikiforum-description' => 'Description:',
2929 'wikiforum-forum-is-empty' => 'This forum is currently empty.
3030 Please contact a forum administrator to have some categories and forums added.',
31 - 'wikiforum-forum-name' => 'Forum $1', // $1 is the name of a forum
 31+ 'wikiforum-forum-name' => 'Forum $1',
3232 'wikiforum-name' => 'Name:',
33 - 'wikiforum-button-preview' => 'Preview', // button text in the reply form
 33+ 'wikiforum-button-preview' => 'Preview',
3434 'wikiforum-preview' => 'Preview',
3535 'wikiforum-preview-with-title' => 'Preview: $1',
36 - 'wikiforum-save' => 'Save', // button text
 36+ 'wikiforum-save' => 'Save',
3737 'wikiforum-error-search' => 'Search error',
3838 'wikiforum-error-search-missing-query' => 'You must supply a term to search for!',
3939 'wikiforum-search-hits' => 'Found {{PLURAL:$1|one hit|$1 hits}}',
@@ -50,7 +50,7 @@
5151 'wikiforum-latest-thread' => 'Latest thread',
5252 'wikiforum-forum' => 'Forum: $1 > $2',
5353 'wikiforum-overview' => 'Overview',
54 - 'wikiforum-pages' => 'Pages:', // followed by pagination links, like [01] [02] etc.
 54+ 'wikiforum-pages' => 'Pages:',
5555 'wikiforum-thread-closed' => 'Thread closed',
5656 'wikiforum-new-thread' => 'New thread',
5757 'wikiforum-edit-thread' => 'Edit thread',
@@ -118,9 +118,17 @@
119119 // Forum admin group, as per discussion with Jedimca0 on 30 December 2010
120120 'group-forumadmin' => 'Forum administrators',
121121 'group-forumadmin-member' => 'Forum administrator',
122 - 'grouppage-forumadmin' => 'Project:Forum administrators',
 122+ 'grouppage-forumadmin' => '{{ns:project}}:Forum administrators',
123123 );
124124
 125+$messages['qqq'] = array(
 126+ 'wikiforum-by' => '$1 is a timestamp (time and date), $2 is a username',
 127+ 'wikiforum-forum-name' => '$1 is the name of a forum',
 128+ 'wikiforum-button-preview' => 'Button text in the reply form',
 129+ 'wikiforum-save' => 'Button text',
 130+ 'wikiforum-pages' => 'followed by pagination links, like [01] [02] etc.',
 131+);
 132+
125133 /** Finnish (Suomi)
126134 * @author Jack Phoenix <jack@countervandalism.net>
127135 */
@@ -213,7 +221,7 @@
214222 'right-wikiforum-moderator' => 'Muokata ja poistaa aiheita ja vastauksia [[Special:WikiForum|keskustelupalstalla]]',
215223 'group-forumadmin' => 'Foorumin ylläpitäjät',
216224 'group-forumadmin-member' => 'Foorumin ylläpitäjä',
217 - 'grouppage-forumadmin' => 'Project:Foorumin ylläpitäjät',
 225+ 'grouppage-forumadmin' => '{{ns:project}}:Foorumin ylläpitäjät',
218226 );
219227
220228 /** French (Français)
@@ -224,7 +232,7 @@
225233 'wikiforum-anonymous' => 'Anonyme',
226234 'group-forumadmin' => 'Administrateurs du forum',
227235 'group-forumadmin-member' => 'Administrateur du forum',
228 - 'grouppage-forumadmin' => 'Project:Administrateurs du forum',
 236+ 'grouppage-forumadmin' => '{{ns:project}}:Administrateurs du forum',
229237 );
230238
231239 /** Dutch (Nederlands)
@@ -319,7 +327,7 @@
320328 'right-wikiforum-moderator' => 'Threads en reacties bewerken en verwijderen op [[Special:WikiForum|het forum]]',
321329 'group-forumadmin' => 'Forum administratoren',
322330 'group-forumadmin-member' => 'Forum administrator',
323 - 'grouppage-forumadmin' => 'Project:Forum administratoren',
 331+ 'grouppage-forumadmin' => '{{ns:project}}:Forum administratoren',
324332 );
325333
326334 /** Polish (Polski)
@@ -411,4 +419,4 @@
412420 'wikiforum-quote' => 'Cytuj',
413421 'group-forumadmin' => 'Administratorzy forum',
414422 'group-forumadmin-member' => 'administrator forum',
415 -);
\ No newline at end of file
 423+);
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -1789,6 +1789,9 @@
17901790 optional = wikieditor-toolbar-tool-table-example-text
17911791 ignored = wikieditor-toolbar-help-content-signaturetimestamp-syntax, wikieditor-toolbar-help-content-signature-syntax
17921792
 1793+Wiki Forum
 1794+ignored = wikiforum-day-definition-new, wikiforum-max-threads-per-page, wikiforum-max-replies-per-page
 1795+
17931796 Wikihiero
17941797 file = wikihiero/wikihiero.i18n.php
17951798

Status & tagging log