r100485 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100484‎ | r100485 | r100486 >
Date:01:50, 22 October 2011
Author:smoke3723
Status:deferred
Tags:
Comment:
Added i18n message documentation
Modified paths:
  • /trunk/extensions/Sternograph/Sternograph.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Sternograph/Sternograph.i18n.php
@@ -2,14 +2,35 @@
33 /**
44 * Internationalisation file for Sternograph extension.
55 */
6 -
76 $messages = array();
87
 8+/**
 9+Translation documentation.
 10+*/
 11+$messages['qqq'] = array(
 12+ 'descriptionmsg'=>'Description of the Sternograph extension; displayed on the Special:Extensions page only.',
 13+ 'empty' => 'Error message when an empty <sterno> tag is detected on the wiki-formatted page.',
 14+ 'nested'=>'Error message when a <sterno> tag occurs within an existing <sterno> tag on the wiki-formatted page.',
 15+ 'speakerIs' => 'Error message when a speaker block does not contain the speaker delimeter on the wiki-formatted page. The character to include is defined by the Sternograph::SPEAKER_IS variable, and should be included in the error message.',
 16+
 17+ 'speakerPre'=>'Text that will always occur before the name of a speaker in the formatted text. This text is formatted by the sternographName CSS class.',
 18+ 'speakerPost'=>'Text that will always occur after the name of a speaker in the formatted text. This text is formatted by the sternographName CSS class.',
 19+ 'blockPre'=>'Text that will always occur before a stage direction block in the formatted text. This text is formatted by the sternographDirection and sternographDirectionBlock CSS classes.',
 20+ 'blockPost'=>'Text that will always occur after a stage direction block in the formatted text. This text is formatted by the sternographDirection and sternographDirectionBlock CSS classes.',
 21+ 'inlinePre'=>'Text that will always occur before an in-line stage direction in the formatted text. This text is formatted by the sternographDirection and sternographDirectionInline CSS classes.',
 22+ 'inlinePost'=>'Text that will always occur after an in-line stage direction in the formatted text. This text is formatted by the sternographDirection and sternographDirectionInline CSS classes.',
 23+ 'contextPre'=>'Text that will always occur before the context block in the formatted text. This text is formatted by the sternographContext CSS class.',
 24+ 'contextPost'=>'Text that will always occur after the context block in the formatted text. This text is formatted by the sternographContext CSS class.'
 25+);
 26+
 27+/**
 28+English
 29+*/
930 $messages['en'] = array(
10 - 'descriptionmsg'=>'<sterno> tags for transcripts of spokens words (plays, interviews, etc)',
11 - 'empty' => '<sterno> tag cannot be empty',
12 - 'nested'=>'<sterno> tag cannot be nested',
13 - 'speakerIs' => '<sterno> speaker block lines must have '.Sternograph::SPEAKER_IS.' character',
 31+ 'descriptionmsg'=>'<sterno> tags for transcripts of spokens words (plays, interviews, etc).',
 32+ 'empty' => '<sterno> tag cannot be empty.',
 33+ 'nested'=>'<sterno> tag cannot be nested.',
 34+ 'speakerIs' => '<sterno> speaker block lines must have '.Sternograph::SPEAKER_IS.' character.',
1435
1536 'speakerPre'=>'',
1637 'speakerPost'=>': ',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99842Adding Sternograph extensionsmoke372303:10, 15 October 2011

Status & tagging log