r112620 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112619‎ | r112620 | r112621 >
Date:18:11, 28 February 2012
Author:yaron
Status:ok
Tags:
Comment:
Follow-up to r112493 - moved namespace names from individual language files into new SF_Namespaces.php file
Modified paths:
  • /trunk/extensions/SemanticForms/languages/SF_LanguageAr.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageArz.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageCa.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageDe.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageDe_formal.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageEn.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageEs.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageFa.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageFi.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageFr.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageHe.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageId.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageIt.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageNl.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageNo.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguagePt_br.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageRu.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageZh_cn.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_LanguageZh_tw.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_Namespaces.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/languages/SF_LanguageFi.php
@@ -18,10 +18,4 @@
1919 SF_SP_PAGE_HAS_DEFAULT_FORM => 'Sivun oletuslomake',
2020 );
2121
22 - var $m_Namespaces = array(
23 - SF_NS_FORM => 'Lomake',
24 - SF_NS_FORM_TALK => 'Keskustelu_lomakkeesta'
25 - );
26 -
2722 }
28 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageZh_cn.php
@@ -16,11 +16,6 @@
1717 SF_SP_HAS_ALTERNATE_FORM => '代用表单' // (Has alternate form)
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => '表单', // (Form)
22 - SF_NS_FORM_TALK => '表单讨论' // (Form_talk) SF 0.7.6前原译为'表单_talk'
23 - );
24 -
2520 }
2621
2722 $m_SpecialPropertyAliases['设有表单'] = SF_SP_HAS_DEFAULT_FORM; // (Has default form) //Adding the item "Has alternate form", this item will not be suitable for translating into “设有表单". It has changed to use “预设表单".
Index: trunk/extensions/SemanticForms/languages/SF_LanguageAr.php
@@ -16,10 +16,4 @@
1717 SF_SP_HAS_ALTERNATE_FORM => 'لديه استمارة بديلة'// Has alternate form
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'استمارة',// Form
22 - SF_NS_FORM_TALK => 'نقاش_الاستمارة'// Form_talk
23 - );
24 -
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageEn.php
@@ -19,10 +19,4 @@
2020 SF_SP_HAS_FIELD_LABEL_FORMAT => 'Has field label format',
2121 );
2222
23 - var $m_Namespaces = array(
24 - SF_NS_FORM => 'Form',
25 - SF_NS_FORM_TALK => 'Form_talk'
26 - );
27 -
2823 }
29 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguagePt_br.php
@@ -16,10 +16,4 @@
1717 SF_SP_HAS_ALTERNATE_FORM => 'Has alternate form'
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'Form',
22 - SF_NS_FORM_TALK => 'Form_talk'
23 - );
24 -
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageEs.php
@@ -16,10 +16,4 @@
1717 SF_SP_HAS_ALTERNATE_FORM => 'Usa el formulario alternativo'// Has alternate form
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'Formulario',// Form
22 - SF_NS_FORM_TALK => 'Discusión_formulario'// Form_talk
23 - );
24 -
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageFr.php
@@ -15,11 +15,5 @@
1616 SF_SP_HAS_DEFAULT_FORM => 'Utilise le formulaire',
1717 SF_SP_HAS_ALTERNATE_FORM => 'Utilise le formulaire alternatif'
1818 );
19 -
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'Formulaire',
22 - SF_NS_FORM_TALK => 'Discussion_formulaire'
23 - );
2419
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageNl.php
@@ -17,9 +17,5 @@
1818 SF_SP_PAGE_HAS_DEFAULT_FORM => 'Pagina heeft standaard formulier',
1919 SF_SP_HAS_FIELD_LABEL_FORMAT => 'Heeft veldlabelopmaak',
2020 );
21 -
22 - var $m_Namespaces = array(
23 - SF_NS_FORM => 'Formulier',
24 - SF_NS_FORM_TALK => 'Overleg_formulier'
25 - );
 21+
2622 }
Index: trunk/extensions/SemanticForms/languages/SF_Namespaces.php
@@ -10,11 +10,120 @@
1111 *
1212 * @licence GNU GPL v2+
1313 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
 14+ * @author Yaron Koren
1415 */
1516
1617 $namespaceNames = array();
1718
 19+/**
 20+ * @author Meno25
 21+ */
 22+$namespaceNames['ar'] = array(
 23+ SF_NS_FORM => 'استمارة',
 24+ SF_NS_FORM_TALK => 'نقاش_الاستمارة'
 25+);
 26+
 27+/**
 28+ * @author Meno25
 29+ */
 30+$namespaceNames['arz'] = array(
 31+ SF_NS_FORM => 'استمارة',
 32+ SF_NS_FORM_TALK => 'نقاش_الاستمارة'
 33+);
 34+
 35+$namespaceNames['ca'] = array(
 36+ SF_NS_FORM => 'Formulari',
 37+ SF_NS_FORM_TALK => 'Discussió_formulari'
 38+);
 39+
 40+/**
 41+ * @author Dominik Rodler
 42+ */
 43+$namespaceNames['de'] = array(
 44+ SF_NS_FORM => 'Formular',
 45+ SF_NS_FORM_TALK => 'Formular Diskussion'
 46+);
 47+
1848 $namespaceNames['en'] = array(
1949 SF_NS_FORM => 'Form',
2050 SF_NS_FORM_TALK => 'Form_talk',
2151 );
 52+
 53+$namespaceNames['es'] = array(
 54+ SF_NS_FORM => 'Formulario',
 55+ SF_NS_FORM_TALK => 'Discusión_formulario'
 56+);
 57+
 58+/**
 59+ * @author Ghassem Tofighi
 60+ */
 61+$namespaceNames['fa'] = array(
 62+ SF_NS_FORM => 'فرم',
 63+ SF_NS_FORM_TALK => 'بحث_فرم'
 64+);
 65+
 66+/**
 67+ * @author Niklas Laxström
 68+ */
 69+$namespaceNames['fi'] = array(
 70+ SF_NS_FORM => 'Lomake',
 71+ SF_NS_FORM_TALK => 'Keskustelu_lomakkeesta'
 72+);
 73+
 74+$namespaceNames['fr'] = array(
 75+ SF_NS_FORM => 'Formulaire',
 76+ SF_NS_FORM_TALK => 'Discussion_formulaire'
 77+);
 78+
 79+/**
 80+ * @author Ivan Lanin
 81+ */
 82+$namespaceNames['id'] = array(
 83+ SF_NS_FORM => 'Formulir',
 84+ SF_NS_FORM_TALK => 'Pembicaraan_Formulir'
 85+);
 86+
 87+/**
 88+ * @author Melos
 89+ */
 90+$namespaceNames['it'] = array(
 91+ SF_NS_FORM => 'Modulo',
 92+ SF_NS_FORM_TALK => 'Discussione_modulo'
 93+);
 94+
 95+/**
 96+ * @author Siebrand Mazeland
 97+ */
 98+$namespaceNames['nl'] = array(
 99+ SF_NS_FORM => 'Formulier',
 100+ SF_NS_FORM_TALK => 'Overleg_formulier'
 101+);
 102+
 103+/**
 104+ * @author Jon Harald Søby
 105+ */
 106+$namespaceNames['no'] = array(
 107+ SF_NS_FORM => 'Skjema',
 108+ SF_NS_FORM_TALK => 'Skjemadiskusjon'
 109+);
 110+
 111+$namespaceNames['ru'] = array(
 112+ SF_NS_FORM => 'Форма',
 113+ SF_NS_FORM_TALK => 'Обсуждение_формы'
 114+);
 115+
 116+/**
 117+ * @author Roc Michael
 118+ */
 119+$namespaceNamess['zh-cn'] = array(
 120+ SF_NS_FORM => '表单',
 121+ SF_NS_FORM_TALK => '表单讨论'
 122+);
 123+
 124+/**
 125+ * @author Roc Michael
 126+ */
 127+$namespaceNames['zh-tw'] = array(
 128+ SF_NS_FORM => '表單',
 129+ SF_NS_FORM_TALK => '表單討論'
 130+);
Index: trunk/extensions/SemanticForms/languages/SF_LanguageNo.php
@@ -16,10 +16,4 @@
1717 SF_SP_HAS_ALTERNATE_FORM => 'Har alternativt skjema'
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'Skjema',
22 - SF_NS_FORM_TALK => 'Skjemadiskusjon'
23 - );
24 -
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageIt.php
@@ -19,9 +19,4 @@
2020 SF_SP_HAS_FIELD_LABEL_FORMAT => 'Usa il formato del campo etichetta',
2121 );
2222
23 - var $m_Namespaces = array(
24 - SF_NS_FORM => 'Modulo',
25 - SF_NS_FORM_TALK => 'Discussione_modulo'
26 - );
27 -
2823 }
Index: trunk/extensions/SemanticForms/languages/SF_LanguageCa.php
@@ -16,10 +16,4 @@
1717 SF_SP_HAS_ALTERNATE_FORM => 'Fa servir el formulari alternatiu'// Has alternate form
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'Formulari',// Form
22 - SF_NS_FORM_TALK => 'Discussió_formulari'// Form_talk
23 - );
24 -
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageFa.php
@@ -15,11 +15,5 @@
1616 SF_SP_HAS_DEFAULT_FORM => 'فرم پیش‌فرض دارد',// Has default form
1717 SF_SP_HAS_ALTERNATE_FORM => 'فرم مشابه دارد'// Has alternate form
1818 );
19 -
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'فرم',// Form
22 - SF_NS_FORM_TALK => 'بحث_فرم'// Form_talk
23 - );
2419
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageRu.php
@@ -5,9 +5,4 @@
66 var $m_SpecialProperties = array(
77 );
88
9 - var $m_Namespaces = array(
10 - SF_NS_FORM => 'Форма',
11 - SF_NS_FORM_TALK => 'Обсуждение_формы'
12 - );
13 -
149 }
Index: trunk/extensions/SemanticForms/languages/SF_LanguageDe_formal.php
@@ -15,11 +15,5 @@
1616 SF_SP_HAS_DEFAULT_FORM => 'Hat Standardformular',
1717 SF_SP_HAS_ALTERNATE_FORM => 'Hat Alternativformular'
1818 );
19 -
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'Formular',
22 - SF_NS_FORM_TALK => 'Formular Diskussion'
23 - );
2419
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageDe.php
@@ -16,11 +16,5 @@
1717 SF_SP_PAGE_HAS_DEFAULT_FORM => 'Seite Hat Standardformular',
1818 SF_SP_HAS_ALTERNATE_FORM => 'Hat Alternativformular'
1919 );
20 -
21 - var $m_Namespaces = array(
22 - SF_NS_FORM => 'Formular',
23 - SF_NS_FORM_TALK => 'Formular Diskussion'
24 - );
2520
2621 }
27 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageZh_tw.php
@@ -16,11 +16,6 @@
1717 SF_SP_HAS_ALTERNATE_FORM => '代用表單' // (Has alternate form)
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => '表單', // (Form)
22 - SF_NS_FORM_TALK => '表單討論' // (Form_talk) SF 0.7.6前原譯為'表單_talk'
23 - );
24 -
2520 }
2621
2722 $m_SpecialPropertyAliases ['設有表單'] = SF_SP_HAS_DEFAULT_FORM; // (Has default form) //Adding the item "Has alternate form", this item will not be suitable for translating into “設有表單”. It has changed to use “預設表單”.
Index: trunk/extensions/SemanticForms/languages/SF_LanguageId.php
@@ -14,9 +14,4 @@
1515 SF_SP_HAS_FIELD_LABEL_FORMAT => 'Memiliki format label bidang',
1616 );
1717
18 - var $m_Namespaces = array(
19 - SF_NS_FORM => 'Formulir',
20 - SF_NS_FORM_TALK => 'Pembicaraan_Formulir'
21 - );
22 -
2318 }
Index: trunk/extensions/SemanticForms/languages/SF_LanguageHe.php
@@ -15,11 +15,5 @@
1616 SF_SP_HAS_DEFAULT_FORM => 'משתמש בטופס',
1717 SF_SP_HAS_ALTERNATE_FORM => 'משתמש בטופס'
1818 );
19 -
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'Form',
22 - SF_NS_FORM_TALK => 'Form_talk'
23 - );
2419
2520 }
26 -
Index: trunk/extensions/SemanticForms/languages/SF_LanguageArz.php
@@ -16,10 +16,4 @@
1717 SF_SP_HAS_ALTERNATE_FORM => 'لديه استمارة بديلة'// Has alternate form
1818 );
1919
20 - var $m_Namespaces = array(
21 - SF_NS_FORM => 'استمارة',// Form
22 - SF_NS_FORM_TALK => 'نقاش_الاستمارة'// Form_talk
23 - );
24 -
2520 }
26 -

Follow-up revisions

RevisionCommit summaryAuthorDate
r112621Follow-up to r112620 - removing files that, after the move of namespace names...yaron18:18, 28 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112493Re-did changes in r111514 by jeroendedauw, with slight modifications - now th...yaron17:33, 27 February 2012

Status & tagging log