r98781 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98780‎ | r98781 | r98782 >
Date:17:32, 3 October 2011
Author:ashley
Status:deferred (Comments)
Tags:
Comment:
FreqPatternTagCloud: cleanup the i18n file
Modified paths:
  • /trunk/extensions/FreqPatternTagCloud/FreqPatternTagCloud.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FreqPatternTagCloud/FreqPatternTagCloud.i18n.php
@@ -1,9 +1,8 @@
22 <?php
3 -
43 /**
54 * Frequent Pattern Tag Cloud Plug-in
65 * Internationalization
7 - *
 6+ *
87 * @author Tobias Beck, University of Heidelberg
98 * @author Andreas Fay, University of Heidelberg
109 * @version 1.0
@@ -11,59 +10,64 @@
1211
1312 $messages = array();
1413
 14+/** English */
1515 $messages['en'] = array(
16 - "freqpatterntagcloud" => "Frequent Pattern Tag Cloud",
17 - "freqpatterntagcloudmaintenance" => "Frequent Pattern Tag Cloud Maintenance",
18 - "fptc-categoryname" => "Category",
19 - "fptc-context-menu-browse" => "Browse pages with this value",
20 - "fptc-context-menu-similar-tags" => "Similar tags",
21 - "fptc-form-attribute-name" => "Property",
22 - "fptc-form-submit-button" => "Submit",
23 - "fptc-invalid-attribute" => "The entered property is invalid.",
24 - "fptc-insufficient-rights-for-maintenance" => "You have to log in as system administrator to view this page.",
25 - "fptc-refresh-frequent-patterns" => "Refresh data",
26 - "fptc-refreshed-frequent-patterns" => "Frequent pattern rules refreshed.",
27 - "fptc-search-attribute-name" => "Search property",
28 - "fptc-search-button" => "Search",
29 - "fptc-search-suggestion-value" => "Similar to \"%s\":",
30 - "fptc-suggestion" => "Do you mean:",
31 - "fptc-no-suggestion" => "No suggestions found"
32 - );
33 -
 16+ 'freqpatterntagcloud' => 'Frequent Pattern Tag Cloud',
 17+ 'freqpatterntagcloudmaintenance' => 'Frequent Pattern Tag Cloud Maintenance',
 18+ 'fptc-categoryname' => 'Category',
 19+ 'fptc-context-menu-browse' => 'Browse pages with this value',
 20+ 'fptc-context-menu-similar-tags' => 'Similar tags',
 21+ 'fptc-form-attribute-name' => 'Property',
 22+ 'fptc-form-submit-button' => 'Submit',
 23+ 'fptc-invalid-attribute' => 'The entered property is invalid.',
 24+ 'fptc-insufficient-rights-for-maintenance' => 'You have to log in as system administrator to view this page.',
 25+ 'fptc-refresh-frequent-patterns' => 'Refresh data',
 26+ 'fptc-refreshed-frequent-patterns' => 'Frequent pattern rules refreshed.',
 27+ 'fptc-search-attribute-name' => 'Search property',
 28+ 'fptc-search-button' => 'Search',
 29+ 'fptc-search-suggestion-value' => 'Similar to "%s":',
 30+ 'fptc-suggestion' => 'Do you mean:',
 31+ 'fptc-no-suggestion' => 'No suggestions found'
 32+);
 33+
 34+/** German (Deutsch)
 35+ * @author Tobias Beck, University of Heidelberg
 36+ * @author Andreas Fay, University of Heidelberg
 37+ */
3438 $messages['de'] = array(
35 - "freqpatterntagcloud" => "Frequent Pattern Tag Cloud",
36 - "freqpatterntagcloudmaintenance" => "Frequent Pattern Tag Cloud Maintenance",
37 - "fptc-categoryname" => "Kategorie",
38 - "fptc-context-menu-browse" => "Durchsuche Seiten mit diesem Wert",
39 - "fptc-context-menu-similar-tags" => "�hnliche Tags",
40 - "fptc-form-attribute-name" => "Attribut",
41 - "fptc-form-submit-button" => "Eingabe",
42 - "fptc-invalid-attribute" => "Das eingegebene Attribut ist ung&uuml;ltig.",
43 - "fptc-insufficient-rights-for-maintenance" => "Um diese Seite sehen zu k&ouml;nnen m&uuml;ssen Sie als Systemadministrator angemeldet sein.",
44 - "fptc-refresh-frequent-patterns" => "Aktualisierung der Daten",
45 - "fptc-refreshed-frequent-patterns" => "Regeln f&uuml;r frequent pattern neu generiert.",
46 - "fptc-search-attribute-name" => "Suche nach Attribut",
47 - "fptc-search-button" => "Suche",
48 - "fptc-search-suggestion-value" => "&Auml;hnlich zu \"%s\":",
49 - "fptc-suggestion" => "Meinten Sie:",
50 - "fptc-no-suggestion" => "Keine Vorschl&auml;ge gefunden"
51 - );
52 -
 39+ 'freqpatterntagcloud' => 'Frequent Pattern Tag Cloud',
 40+ 'freqpatterntagcloudmaintenance' => 'Frequent Pattern Tag Cloud Maintenance',
 41+ 'fptc-categoryname' => 'Kategorie',
 42+ 'fptc-context-menu-browse' => 'Durchsuche Seiten mit diesem Wert',
 43+ 'fptc-context-menu-similar-tags' => 'Ähnliche Tags',
 44+ 'fptc-form-attribute-name' => 'Attribut',
 45+ 'fptc-form-submit-button' => 'Eingabe',
 46+ 'fptc-invalid-attribute' => 'Das eingegebene Attribut ist ungültig.',
 47+ 'fptc-insufficient-rights-for-maintenance' => 'Um diese Seite sehen zu können müssen Sie als Systemadministrator angemeldet sein.',
 48+ 'fptc-refresh-frequent-patterns' => 'Aktualisierung der Daten',
 49+ 'fptc-refreshed-frequent-patterns' => 'Regeln für frequent pattern neu generiert.',
 50+ 'fptc-search-attribute-name' => 'Suche nach Attribut',
 51+ 'fptc-search-button' => 'Suche',
 52+ 'fptc-search-suggestion-value' => 'Ähnlich zu "%s":',
 53+ 'fptc-suggestion' => 'Meinten Sie:',
 54+ 'fptc-no-suggestion' => 'Keine Vorschläge gefunden'
 55+);
 56+
5357 $messages['qqq'] = array(
54 - "freqpatterntagcloud" => "This message is the page title of the frequent-pattern-tag-cloud-specialpage and must not be translated.",
55 - "freqpatterntagcloudmaintenance" => "This message is the page title of the frequent-pattern-tag-cloud-maintenace-specialpage and must not be translated.",
56 - "fptc-categoryname" => "This message is the name of the category-attribut which is used in SemantikMediaWiki (e.g. category:example)",
57 - "fptc-context-menu-browse" => "This message is used as a title in context menu of the tag cloud tags",
58 - "fptc-context-menu-similar-tags" => "This message is used as a title in context menu of the tag cloud tags",
59 - "fptc-form-attribute-name" => "This message describes the input box on the frequent-pattern-tag-cloud-specialpage",
60 - "fptc-form-submit-button" => "This message is the text of the button which submits the value in the input box on the frequent-pattern-tag-cloud-specialpage",
61 - "fptc-invalid-attribute" => "This message appears if the value in the input box on the frequent-pattern-tag-cloud-specialpage is invalid",
62 - "fptc-insufficient-rights-for-maintenance" => "This message appears when calling the frequent-pattern-tag-cloud-maintenace-specialpage and the user is not a administrator.",
63 - "fptc-refresh-frequent-patterns" => "This message is the text of the button to refresh the frequent patterns on the frequent-pattern-tag-cloud-maintenace-specialpage",
64 - "fptc-refreshed-frequent-patterns" => "This message appears after successful update of the frequent patterns.",
65 - "fptc-search-attribute-name" => "This message describes the search input box.",
66 - "fptc-search-button" => "This message is the text of the button search",
67 - "fptc-search-suggestion-value" => "This mesage is the title of the search suggestions (parameter %s = suggestion, do not translate)",
68 - "fptc-suggestion" => "This message appears after submitting an invalid value in the input box on the frequent-pattern-tag-cloud-specialpage",
69 - "fptc-no-suggestion" => "This message appears if no suggestions can be found."
70 - );
\ No newline at end of file
 58+ 'freqpatterntagcloud' => 'This message is the page title of the frequent-pattern-tag-cloud-specialpage and must not be translated.',
 59+ 'freqpatterntagcloudmaintenance' => 'This message is the page title of the frequent-pattern-tag-cloud-maintenace-specialpage and must not be translated.',
 60+ 'fptc-categoryname' => 'This message is the name of the category-attribut which is used in SemantikMediaWiki (e.g. category:example)',
 61+ 'fptc-context-menu-browse' => 'This message is used as a title in context menu of the tag cloud tags',
 62+ 'fptc-context-menu-similar-tags' => 'This message is used as a title in context menu of the tag cloud tags',
 63+ 'fptc-form-attribute-name' => 'This message describes the input box on the frequent-pattern-tag-cloud-specialpage',
 64+ 'fptc-form-submit-button' => 'This message is the text of the button which submits the value in the input box on the frequent-pattern-tag-cloud-specialpage',
 65+ 'fptc-invalid-attribute' => 'This message appears if the value in the input box on the frequent-pattern-tag-cloud-specialpage is invalid',
 66+ 'fptc-insufficient-rights-for-maintenance' => 'This message appears when calling the frequent-pattern-tag-cloud-maintenace-specialpage and the user is not a administrator.',
 67+ 'fptc-refresh-frequent-patterns' => 'This message is the text of the button to refresh the frequent patterns on the frequent-pattern-tag-cloud-maintenace-specialpage',
 68+ 'fptc-refreshed-frequent-patterns' => 'This message appears after successful update of the frequent patterns.',
 69+ 'fptc-search-attribute-name' => 'This message describes the search input box.',
 70+ 'fptc-search-button' => 'This message is the text of the button search',
 71+ 'fptc-search-suggestion-value' => 'This mesage is the title of the search suggestions (parameter %s = suggestion, do not translate)',
 72+ 'fptc-suggestion' => 'This message appears after submitting an invalid value in the input box on the frequent-pattern-tag-cloud-specialpage',
 73+ 'fptc-no-suggestion' => 'This message appears if no suggestions can be found.'
 74+);
\ No newline at end of file

Comments

#Comment by Siebrand (talk | contribs)   17:37, 3 October 2011

'fptc-search-suggestion-value' => 'Similar to "%s":', Not sure where it was introduced, but this should be rewritten to use wf* methods and $1 instead of sprintf directly with %s.

Status & tagging log