r84601 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84600‎ | r84601 | r84602 >
Date:16:27, 23 March 2011
Author:raymond
Status:ok (Comments)
Tags:
Comment:
Update i18n file to standards
Add extension to Translatewiki
Modified paths:
  • /trunk/extensions/BookManager/BookManager.php (modified) (history)
  • /trunk/extensions/BookManager/PrintVersion.i18n.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/BookManager/PrintVersion.i18n.php
@@ -1,6 +1,6 @@
22 <?php
33 /**
4 - * Internationalisation file for ExpandTemplates extension.
 4+ * Internationalisation file for BookManager extension.
55 *
66 * @file
77 * @ingroup Extensions
@@ -10,7 +10,7 @@
1111
1212 $messages['en'] = array(
1313 'printversion' => 'Print version',
14 - 'printversion-desc' => '[[Special:PrintVersion|Generates a print version of a book.',
 14+ 'printversion-desc' => '[[Special:PrintVersion|Generates a print version of a book',
1515 'printversion-no-book' => 'Please inform the name of a book to get its print version.',
1616 'printversion-inexistent-book' => 'Book not found. Please inform the name of an existing book to get its print version.',
1717 );
@@ -22,3 +22,4 @@
2323 'printversion-no-book' => 'Por favor informe o nome de um livro para obter sua versão para impressão.',
2424 'printversion-inexistent-book' => 'Livro não encontrado. Por favor informe o nome de um livro existente para obter sua versão para impressão.',
2525 );
 26+
Index: trunk/extensions/BookManager/BookManager.php
@@ -44,6 +44,7 @@
4545 $wgExtensionAliasesFiles['PrintVersion'] = $dir . '/PrintVersion.alias.php';
4646 $wgSpecialPages['PrintVersion'] = 'PrintVersion';
4747 $wgSpecialPageGroups['PrintVersion'] = 'other';
 48+$wgExtensionMessagesFiles['BookManager'] = $dir . '/BookManager.i18n.php';
4849
4950
5051
@@ -54,7 +55,7 @@
5556 'version' => BookManagerCore::VERSION,
5657 'author' => array( 'Raylton P. Sousa', 'Helder.wiki' ),
5758 'url' => 'http://www.mediawiki.org/wiki/Extension:BookManager',
58 - 'description' => 'Tools for books',
 59+ 'descriptionmsg' => 'bookmanager-desc',
5960 );
6061 /* Add CSS and JS */
6162 $wgResourceModules['ext.BookManager'] = array(
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -105,6 +105,12 @@
106106
107107 Book Information
108108
 109+Book Manager
 110+
 111+Book Manager - Print Version
 112+descmsg = printversion-desc
 113+aliasfile = BookManager/PrintVersion.alias.php
 114+
109115 Bread Crumbs
110116
111117 Call

Follow-up revisions

RevisionCommit summaryAuthorDate
r84612Follow-up r84601: Add file location, fix wiki syntaxraymond17:39, 23 March 2011
r96163Reverted parser bump from r84601 per CRaaron23:14, 2 September 2011

Comments

#Comment by Nikerabbit (talk | contribs)   17:29, 23 March 2011

Did you notice missing ]] in?

+       'printversion-desc'            => '[[Special:PrintVersion|Generates a print version of a book',
#Comment by Raymond (talk | contribs)   20:42, 23 March 2011

Thanks. Fixed with r84612

Status & tagging log