r102293 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102292‎ | r102293 | r102294 >
Date:15:52, 7 November 2011
Author:raymond
Status:ok
Tags:
Comment:
r101295: Consistency tweaks in preparation for adding extension to translatewiki.net: Sort languages: 1. 'en', 2. 'qqq'
change description message
Modified paths:
  • /trunk/extensions/Sternograph/Sternograph.i18n.php (modified) (history)
  • /trunk/extensions/Sternograph/Sternograph.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Sternograph/Sternograph.i18n.php
@@ -5,10 +5,29 @@
66 $messages = array();
77
88 /**
 9+ * English
 10+ */
 11+$messages['en'] = array(
 12+ 'sternograph-desc' => '<nowiki><sterno></nowiki> tags for transcripts of spokens words (plays, interviews, etc)',
 13+ 'sternograph-empty' => '<$1> tag cannot be empty.',
 14+ 'sternograph-nested' => '<$1> tag cannot be nested.',
 15+ 'sternograph-speaker-is' => '<$1> speaker block lines must have $2 character.',
 16+
 17+ 'sternograph-speaker-pre' => '',
 18+ 'sternograph-speaker-post' => ':&nbsp;',
 19+ 'sternograph-block-pre' => '',
 20+ 'sternograph-block-post' => '',
 21+ 'sternograph-inline-pre' => '[',
 22+ 'sternograph-inline-post' => ']',
 23+ 'sternograph-context-pre' => '&mdash;',
 24+ 'sternograph-context-post' => ''
 25+);
 26+
 27+/**
928 * Translation documentation.
1029 */
1130 $messages['qqq'] = array(
12 - 'sternograph-descriptionmsg'=>'Description of the Sternograph extension; displayed on the Special:Extensions page only.',
 31+ 'sternograph-desc'=>'Description of the Sternograph extension; displayed on the Special:Extensions page only.',
1332 'sternograph-empty' => 'Error message when an empty tag is detected on the wiki-formatted page. The tag name to display is parsed to this function as the first parameter.',
1433 'sternograph-nested'=>'Error message when a sternograph tag occurs within an existing sternograph tag on the wiki-formatted page. The tag name to display is the first parameter.',
1534 'sternograph-speaker-is' => 'Error message when a speaker block does not contain the speaker delimeter on the wiki-formatted page. The tag name to display is the first parameter; the character that is required is the second parameter.',
@@ -23,21 +42,3 @@
2443 'sternograph-context-post'=>'Text that will always occur after the context block in the formatted text. This text is formatted by the sternographContext CSS class.'
2544 );
2645
27 -/**
28 - * English
29 - */
30 -$messages['en'] = array(
31 - 'sternograph-descriptionmsg'=>'<sterno> tags for transcripts of spokens words (plays, interviews, etc).',
32 - 'sternograph-empty' => '<$1> tag cannot be empty.',
33 - 'sternograph-nested'=>'<$1> tag cannot be nested.',
34 - 'sternograph-speaker-is' => '<$1> speaker block lines must have $2 character.',
35 -
36 - 'sternograph-speaker-pre'=>'',
37 - 'sternograph-speaker-post'=>':&nbsp;',
38 - 'sternograph-block-pre'=>'',
39 - 'sternograph-block-post'=>'',
40 - 'sternograph-inline-pre'=>'[',
41 - 'sternograph-inline-post'=>']',
42 - 'sternograph-context-pre'=>'&mdash;',
43 - 'sternograph-context-post'=>''
44 -);
Index: trunk/extensions/Sternograph/Sternograph.php
@@ -9,7 +9,7 @@
1010 'version' => '1.1',
1111 'author' =>'Smoke 003723',
1212 'url' => 'http://www.mediawiki.org/wiki/Extension:Sternograph',
13 - 'descriptionmsg' => 'sternograph-descriptionmsg'
 13+ 'descriptionmsg' => 'sternograph-desc'
1414 );
1515
1616 function efSternograph(&$parser){

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101295Internationalisation codes corrected to current standardssmoke372303:45, 30 October 2011

Status & tagging log