r72429 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72428‎ | r72429 | r72430 >
Date:14:21, 5 September 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Move some currently internal message group description for products supported by Translate to a new message group.

Updated a few keys and key names in the process.
Modified paths:
  • /trunk/extensions/Translate/Translate.i18n.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)
  • /trunk/extensions/Translate/TranslateGroupDesciptions.i18n.php (added) (history)
  • /trunk/extensions/Translate/groups/MantisBT/MantisBT.yaml (modified) (history)
  • /trunk/extensions/Translate/groups/Okawix/Okawix.yaml (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/MantisBT/MantisBT.yaml
@@ -127,7 +127,7 @@
128128 BASIC:
129129 id: out-mantis-mantiscoreformatting
130130 label: MantisBT - Mantis Core Formatting
131 - description: "{{int:bw-desc-mantisbt-mantiscoreformatting}}"
 131+ description: "{{int:translate-group-desc-mantisbt-plugin-core}}"
132132 display: out/mantis/mantiscoreformatting
133133
134134 FILES:
@@ -138,7 +138,7 @@
139139 BASIC:
140140 id: out-mantis-mantisgraph
141141 label: MantisBT - Mantis Graph
142 - description: "{{int:bw-desc-mantisbt-mantisgraph}}"
 142+ description: "{{int:translate-group-desc-mantisbt-plugin-core}}"
143143 display: out/mantis/mantisgraph
144144
145145 FILES:
@@ -149,7 +149,7 @@
150150 BASIC:
151151 id: out-mantis-xmlimportexport
152152 label: MantisBT - Xml Import Export
153 - description: "{{int:bw-desc-mantisbt-xmlimportexport}}"
 153+ description: "{{int:translate-group-desc-mantisbt-plugin-core}}"
154154 display: out/mantis/xmlimportexport
155155
156156 FILES:
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -1197,6 +1197,11 @@
11981198 file = Translate/FirstSteps.i18n.php
11991199 descmsg = firststeps-desc
12001200
 1201+Translate - Message Group Descriptions
 1202+id = ext-translate-msgdescs
 1203+file = Translate/TranslateGroupDesciptions.i18n.php
 1204+descmsg = translategroupdescriptions-desc
 1205+
12011206 Translate - Page Translation
12021207 id = ext-translate-pagetranslation
12031208 file = Translate/PageTranslation.i18n.php
Index: trunk/extensions/Translate/groups/Okawix/Okawix.yaml
@@ -2,7 +2,7 @@
33 BASIC:
44 namespace: NS_OKAWIX
55 class: FileBasedMessageGroup
6 - description: "{{int:bw-desc-okawix}}"
 6+ description: "{{int:translate-group-desc-okawix}}"
77
88 FILES:
99 class: JavaFFS
@@ -28,7 +28,7 @@
2929 BASIC:
3030 id: out-okawix-doc
3131 label: Okawix (Documentation)
32 - description: "{{int:bw-desc-okawix-doc}}"
 32+ description: "{{int:translate-group-desc-okawix}}"
3333 display: out/okawix/doc
3434
3535 FILES:
@@ -39,7 +39,7 @@
4040 BASIC:
4141 id: out-okawix-dtd
4242 label: Okawix (Dtd)
43 - description: "{{int:bw-desc-okawix-dtd}}"
 43+ description: "{{int:translate-group-desc-okawix}}"
4444 display: out/okawix/dtd
4545
4646 FILES:
@@ -54,7 +54,7 @@
5555 BASIC:
5656 id: out-okawix-prop
5757 label: Okawix (Properties)
58 - description: "{{int:bw-desc-okawix-prop}}"
 58+ description: "{{int:translate-group-desc-okawix}}"
5959 display: out/okawix/prop
6060
6161 FILES:
Index: trunk/extensions/Translate/Translate.php
@@ -45,6 +45,7 @@
4646 $wgExtensionMessagesFiles['Translate'] = $dir . 'Translate.i18n.php';
4747 $wgExtensionMessagesFiles['FirstSteps'] = $dir . 'FirstSteps.i18n.php';
4848 $wgExtensionMessagesFiles['PageTranslation'] = $dir . 'PageTranslation.i18n.php';
 49+$wgExtensionMessagesFiles['TranslateGroupDesciptions'] = $dir . 'TranslateGroupDesciptions.i18n.php';
4950 $wgExtensionAliasesFiles['Translate'] = $dir . 'Translate.alias.php';
5051
5152 // Register initialization hook
Index: trunk/extensions/Translate/TranslateGroupDesciptions.i18n.php
@@ -0,0 +1,57 @@
 2+<?php
 3+/**
 4+ * Translations of (meta) message group descriptions for products that the
 5+ * Translate extension supports at translatewiki.net.
 6+ *
 7+ * @file
 8+ * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
 9+ */
 10+
 11+$messages = array();
 12+
 13+/** English
 14+ */
 15+$messages[] = array(
 16+ # Message group description
 17+ 'translategroupdescriptions-desc' => 'Message group descriptions for products supported by the [http://mediawiki.org/wiki/Extension:Translate]] extension',
 18+
 19+ # Used for message groups that do not have a description yet.
 20+ 'translate-group-desc-nodesc' => 'No description is available for this message group',
 21+
 22+ # Meta message group descriptions for MediaWiki and MediaWiki extensions extensions
 23+ 'translate-group-desc-mediawikicore' => 'This message group contains the messages used in the current alpha version of MediaWiki ({{CURRENTVERSION}})',
 24+ 'translate-group-desc-mediawikimostused' => 'This message group contains the [http://translatewiki.net/wiki/Most_often_used_messages_in_MediaWiki 500 most often used messages] in MediaWiki',
 25+ 'translate-group-desc-mediawikiextensions' => 'Meta message group containing all messages for supported extensions for MediaWiki',
 26+ 'translate-group-desc-collection' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Collection Collection]',
 27+ 'translate-group-desc-flaggedrevs' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:FlaggedRevs FlaggedRevs]',
 28+ 'translate-group-desc-readerfeedback' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:ReaderFeedback ReaderFeedback]',
 29+ 'translate-group-desc-socialprofile' => 'Meta message group containing all messages for extensions related to the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:SocialProfile Social Profile]',
 30+ 'translate-group-desc-translate' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Translate Translate]',
 31+ 'translate-group-desc-wikiaextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://www.wikia.com Wikia]',
 32+ 'translate-group-desc-wikihowextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://www.wikihow.com wikiHow]',
 33+ 'translate-group-desc-wikimediaextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by the [http://wikimedia.org/ Wikimedia Foundation]',
 34+ 'translate-group-desc-wikitravelextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://wikitravel.org Wikitravel]',
 35+ 'translate-group-desc-uniwiki' => 'Meta message group containing all messages for extensions related to [http://unicefinnovation.org/wiki.php Uniwiki]',
 36+ 'translate-group-desc-ui' => 'Meta message group containing all messages for extensions related to the [http://meta.wikimedia.org/wiki/Wikipedia_Usability_Initiative Wikipedia Usability Initiative]',
 37+
 38+ # Supported product message group descriptions
 39+ 'bw-desc-freecol' => '[[Translating:FreeCol|FreeCol]] is a turn-based strategy game',
 40+ 'bw-desc-fudforum' => '[[Translating:FUDforum|FUDforum]] is web-based discussion forum software',
 41+ 'bw-desc-mantisbt' => '[[Translating:MantisBT|MantisBT]] is web-based issue tracking software',
 42+ 'translate-group-desc-mantisbt-plugin-core' => 'A core plugin for [[Translating:MantisBT|MantisBT]]',
 43+ 'translate-group-desc-mediawiki-core-115' => 'Messages for the stable version 1.15 of [[Translating:MediaWiki|MediaWiki]]',
 44+ 'translate-group-desc-mediawiki-core-116' => 'Messages for the stable version 1.16 of [[Translating:MediaWiki|MediaWiki]]',
 45+ 'bw-desc-mwlibrl' => '[[Translating:Mwlib.rl|Mwlib.rl]] is a library for creating PDF documents from MediaWiki pages',
 46+ 'bw-desc-nocc' => '[[Translating:NOCC|NOCC]] is a webmail client',
 47+ 'translate-group-desc-okawix' => '[[Translating:Okawix|Okawix]] is an offline Wikipedia reader',
 48+ 'bw-desc-openlayers' => '[[Translating:OpenLayers|OpenLayers]] is a dynamic map generator in JavaScript',
 49+ 'bw-desc-openstreetmap' => 'All messages related to [[Translating:OpenStreetMap|OpenStreetMap]]',
 50+ 'bw-desc-osm-site' => '[[Translating:OpenStreetMap|OpenStreetMap]] is an editable map of the whole world',
 51+ 'bw-desc-osm-potlatch' => '[[Translating:OpenStreetMap|Potlatch]] is a Flash-based OpenStreetMap editor',
 52+ 'bw-desc-shapado' => '[[Translating:Shapado|Shapado]] is web-based Question and Answer software',
 53+ 'bw-desc-statusnet' => '[[Translating:StatusNet|StatusNet]] is a microblogging server',
 54+ 'bw-desc-voctrain' => '[[Translating:Voctrain|Voctrain]] is an OmegaWiki-based vocabulary trainer',
 55+ 'bw-desc-wikiblame' => '[[Translating:WikiBlame|WikiBlame]] is able to quickly find the authors of a page in a Wikimedia wiki',
 56+ 'bw-desc-wikimediamobile' => '[[Translating:Wikimedia_mobile|Wikiemdia mobile]] is the mobile interface for Wikipedia',
 57+ 'bw-desc-wikireader' => '[[Translating:WikiReader|WikiReader]] delivers an offline, text-only version of Wikipedia on a mobile device.',
 58+);
Property changes on: trunk/extensions/Translate/TranslateGroupDesciptions.i18n.php
___________________________________________________________________
Added: svn:eol-style
159 + native
Added: svn:keywords
260 + Id
Index: trunk/extensions/Translate/Translate.i18n.php
@@ -259,23 +259,6 @@
260260
261261 'translate-jssti-add' => 'Add to list',
262262
263 - # Meta message group descriptions
264 - 'translate-group-desc-mediawikicore' => 'This message group contains the messages used in the current alpha version of MediaWiki ({{CURRENTVERSION}})',
265 - 'translate-group-desc-mediawikimostused' => 'This message group contains the [http://translatewiki.net/wiki/Most_often_used_messages_in_MediaWiki 500 most often used messages] in MediaWiki',
266 - 'translate-group-desc-mediawikiextensions' => 'Meta message group containing all messages for supported extensions for MediaWiki',
267 - 'translate-group-desc-collection' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Collection Collection]',
268 - 'translate-group-desc-flaggedrevs' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:FlaggedRevs FlaggedRevs]',
269 - 'translate-group-desc-readerfeedback' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:ReaderFeedback ReaderFeedback]',
270 - 'translate-group-desc-socialprofile' => 'Meta message group containing all messages for extensions related to the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:SocialProfile Social Profile]',
271 - 'translate-group-desc-translate' => 'Meta message group containing all messages for the MediaWiki extension [http://www.mediawiki.org/wiki/Extension:Translate Translate]',
272 - 'translate-group-desc-wikiaextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://www.wikia.com Wikia]',
273 - 'translate-group-desc-wikihowextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://www.wikihow.com wikiHow]',
274 - 'translate-group-desc-wikimediaextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by the [http://wikimedia.org/ Wikimedia Foundation]',
275 - 'translate-group-desc-wikitravelextensions' => 'Meta message group containing all messages for supported MediaWiki extensions used by [http://wikitravel.org Wikitravel]',
276 - 'translate-group-desc-uniwiki' => 'Meta message group containing all messages for extensions related to [http://unicefinnovation.org/wiki.php Uniwiki]',
277 - 'translate-group-desc-ui' => 'Meta message group containing all messages for extensions related to the [http://meta.wikimedia.org/wiki/Wikipedia_Usability_Initiative Wikipedia Usability Initiative]',
278 - 'translate-group-desc-nodesc' => 'No description is available for this message group',
279 -
280263 'translate-manage-groups' => 'Group management',
281264 'translate-manage-listgroups' => 'Configured groups',
282265 'translate-manage-listgroups-old' => 'Old style groups',

Follow-up revisions

RevisionCommit summaryAuthorDate
r72430Fix typos in r72429.siebrand14:25, 5 September 2010
r72431Fix missing language code in r72429.siebrand14:28, 5 September 2010
r72437Fix incorrect link in r72429.siebrand14:42, 5 September 2010
r72438Fix typo in r72429.siebrand14:44, 5 September 2010

Status & tagging log