r108122 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108121‎ | r108122 | r108123 >
Date:09:15, 5 January 2012
Author:santhosh
Status:resolved (Comments)
Tags:
Comment:
Add the missing i18n file in r108120.
Modified paths:
  • /trunk/extensions/WebFonts/SpecialWebFonts.i18n.php (added) (history)

Diff [purge]

Index: trunk/extensions/WebFonts/SpecialWebFonts.i18n.php
@@ -0,0 +1,46 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for extension webfonts.
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$messages = array();
 11+
 12+/** English
 13+ * @author santhosh
 14+*/
 15+$messages['en'] = array(
 16+ 'webfonts-preview-intro' => 'This page helps you to preview the fonts available in the WebFonts extension and optionally download and install in your computer.',
 17+ 'webfonts-preview-title' => 'Preview the fonts',
 18+ 'webfonts-preview-download' => 'Download',
 19+ 'webfonts-preview-sampltext' => 'The quick brown fox jumps over the lazy dog',
 20+ 'webfonts-preview-installing-fonts-title' => 'Installing Fonts',
 21+ 'webfonts-preview-installing-fonts-text' => 'You can download a font using the Download link given above. To install the downloaded font in your computer, please refer [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts this documentation]',
 22+);
 23+
 24+/** Message documentation (Message documentation)
 25+ * @author santhosh
 26+ */
 27+$messages['qqq'] = array(
 28+ 'webfonts-preview-intro' => 'Introduction to the page.',
 29+ 'webfonts-preview-title' => 'Title for the preview area.',
 30+ 'webfonts-preview-download' => 'Download link text.',
 31+ 'webfonts-preview-sampltext' => 'Do not translate literally, but give a text in your language for using as default preview text.',
 32+ 'webfonts-preview-installing-fonts-title' => 'Title of Installing Fonts section',
 33+ 'webfonts-preview-installing-fonts-text' => 'Text pointing to the installation document link.',
 34+);
 35+
 36+/** Malayalam
 37+ * @author santhosh
 38+ */
 39+$messages['ml'] = array(
 40+ 'webfonts-preview-intro' => 'വെബ്ഫോണ്ട് എക്സ്റ്റന്‍ഷനിലുള്ള ഫോണ്ടുകള്‍ പരീക്ഷിച്ചുനോക്കി അവ നിങ്ങളുടെ കമ്പ്യൂട്ടറില്‍ ഇന്‍സ്റ്റാള്‍ ചെയ്യുന്നതിനു് ഈ താള്‍ സഹായിക്കുന്നു.',
 41+ 'webfonts-preview-title' => 'ഫോണ്ടുകള്‍ പരീക്ഷിച്ചുനോക്കുക',
 42+ 'webfonts-preview-download' => 'ഡൌണ്‍ലോഡ്',
 43+ 'webfonts-preview-sampltext' => 'തിരഞ്ഞെടുത്ത ഫോണ്ട് പരീക്ഷിച്ചു നോക്കാനായി ഇവിടെ നിങ്ങള്‍ക്കിഷ്ടമുള്ളതെഴുതാം.',
 44+ 'webfonts-preview-installing-fonts-title' => 'ഫോണ്ടുകള്‍ ഇന്‍സ്റ്റാള്‍ ചെയ്യുന്ന വിധം',
 45+ 'webfonts-preview-installing-fonts-text' => 'മുകളില്‍ കൊടുത്തിരിക്കുന്ന ഡൌണ്‍ലോഡ് കണ്ണി ഉപയോഗിച്ചു് നിങ്ങള്‍ക്കു് ഫോണ്ട് ഡൌണ്‍ലോഡ് ചെയ്യാം. അതിനു ശേഷം ഇന്‍സ്റ്റാള്‍ ചെയ്യുന്നതിനായി [//mediawiki.org/wiki/Special:MyLanguage/Help:How_to_install_fonts ഈ താള്‍ സഹായിച്ചേക്കും.]',
 46+);
 47+
Property changes on: trunk/extensions/WebFonts/SpecialWebFonts.i18n.php
___________________________________________________________________
Added: svn:eol-style
148 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r108130Followup r108120...santhosh09:51, 5 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108120Add Special:WebFonts for previewing the fonts and download....santhosh09:01, 5 January 2012

Comments

#Comment by Raymond (talk | contribs)   09:25, 5 January 2012

I do not see the need for an extra i18n file. Could it not be integrated into WebFounts.i18n.php, couldn't it?

Typo in key name: "...sampltext..." -> "...sampletext..."

'webfonts-preview-sampltext' => 'The quick brown fox jumps over the lazy dog',

Please replace "Download" in the first sentence with "{{int:webfonts-preview-download}}" to ensure the translations are consistent.

'webfonts-preview-installing-fonts-text' => 'You can download a font using the Download link given above. To install the downloaded font in your computer, please refer this documentation',

Status & tagging log