r100224 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100223‎ | r100224 | r100225 >
Date:13:52, 19 October 2011
Author:cervidae
Status:deferred
Tags:
Comment:
Rename GlobalUserGroups.i18n.extras.php to GlobalUserGroups.i18n.groups.php
Modified paths:
  • /trunk/extensions/GlobalUserGroups/GlobalUserGroups.i18n.extras.php (deleted) (history)
  • /trunk/extensions/GlobalUserGroups/GlobalUserGroups.i18n.groups.php (added) (history)
  • /trunk/extensions/GlobalUserGroups/GlobalUserGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalUserGroups/GlobalUserGroups.i18n.extras.php
@@ -1,185 +0,0 @@
2 -<?php
3 -/**
4 - * Internationalization file for extra user groups if GlobalUserGroups extension is used
5 - *
6 - * @since 1.0
7 - *
8 - * @file GlobalUserGroups.i18n.extras.php
9 - * @ingroup GlobalUserGroupsExtras
10 - *
11 - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
12 - * @author Tim Weyer (SVG) <svg@tim-weyer.org>
13 - */
14 -
15 -$messages = array();
16 -
17 -/** English
18 - * @author SVG
19 - */
20 -$messages['en'] = array(
21 - 'group-bot-global' => 'Global bots',
22 - 'group-bot-global-member' => '{{GENDER:$1|global bot}}',
23 - 'grouppage-bot-global' => '{{ns:project}}:Global bots',
24 -
25 - 'group-checkuser-global' => 'Global Check users',
26 - 'group-checkuser-global-member' => '{{GENDER:$1|global check user}}',
27 - 'grouppage-checkuser-global' => '{{ns:project}}:Global checkusers',
28 -
29 - 'group-communitymanager' => 'Community managers',
30 - 'group-communitymanager-member' => '{{GENDER:$1|community manager}}',
31 - 'grouppage-communitymanager' => '{{ns:project}}:Community managers',
32 -
33 - 'group-helper' => 'Helpers',
34 - 'group-helper-member' => '{{GENDER:$1|helper}}',
35 - 'grouppage-helper' => '{{ns:project}}:Helpers',
36 -
37 - 'group-helper-global' => 'Global Helpers',
38 - 'group-helper-global-member' => '{{GENDER:$1|global helper}}',
39 - 'grouppage-helper-global' => '{{ns:project}}:Global helpers',
40 -
41 - 'group-ipblock-exempt' => 'IP block exemptions',
42 - 'group-ipblock-exempt-member' => '{{GENDER:$1|ip block exemption}}',
43 - 'grouppage-ipblock-exempt' => '{{ns:project}}:IP block exemptions',
44 -
45 - 'group-ipblock-exempt-g' => 'Global IP block exemptions',
46 - 'group-ipblock-exempt-g-member' => '{{GENDER:$1|global ip block exemption}}',
47 - 'grouppage-ipblock-exempt-g' => '{{ns:project}}:Global IP block exemptions',
48 -
49 - 'group-rollback-global' => 'Global rollbackers',
50 - 'group-rollback-global-member' => '{{GENDER:$1|global rollbacker}}',
51 - 'grouppage-rollback-global' => '{{ns:project}}:Global rollbackers',
52 -
53 - 'group-steward' => 'Stewards',
54 - 'group-steward-member' => '{{GENDER:$1|steward|stewardess}}',
55 - 'grouppage-steward' => '{{ns:project}}:Stewards',
56 -
57 - 'group-steward-global' => 'Global stewards',
58 - 'group-steward-global-member' => '{{GENDER:$1|global steward|global stewardess}}',
59 - 'grouppage-steward-global' => '{{ns:project}}:Global stewards',
60 -
61 - 'group-sysadmin' => 'System administrators',
62 - 'group-sysadmin-member' => '{{GENDER:$1|system administrator}}',
63 - 'grouppage-sysadmin' => '{{ns:project}}:System administrators',
64 -
65 - 'group-sysadmin-global' => 'Global system administrators',
66 - 'group-sysadmin-global-member' => '{{GENDER:$1|global system administrator}}',
67 - 'grouppage-sysadmin-global' => '{{ns:project}}:Global system administrators',
68 -
69 - 'group-sysop-global' => 'Global administrators',
70 - 'group-sysop-global-member' => '{{GENDER:$1|global administrator}}',
71 - 'grouppage-sysop-global' => '{{ns:project}}:Global administrators',
72 -);
73 -
74 -/** Message documentation (Message documentation)
75 - * @author SVG
76 - */
77 -$messages['qqq'] = array(
78 - 'group-bot-global' => '{{doc-group|bot-global}}',
79 - 'group-bot-global-member' => '{{doc-group|bot-global|member}}',
80 - 'grouppage-bot-global' => '{{doc-group|bot-global|page}}',
81 -
82 - 'group-checkuser-global' => '{{doc-group|checkuser-global}}',
83 - 'group-checkuser-global-member' => '{{doc-group|checkuser-global|member}}',
84 - 'grouppage-checkuser-global' => '{{doc-group|checkuser-global|page}}',
85 -
86 - 'group-communitymanager' => '{{doc-group|communitymanager}}',
87 - 'group-communitymanager-member' => '{{doc-group|communitymanager|member}}',
88 - 'grouppage-communitymanager' => '{{doc-group|communitymanager|page}}',
89 -
90 - 'group-helper' => '{{doc-group|helper}}',
91 - 'group-helper-member' => '{{doc-group|helper|member}}',
92 - 'grouppage-helper' => '{{doc-group|helper|page}}',
93 -
94 - 'group-helper-global' => '{{doc-group|helper-global}}',
95 - 'group-helper-global-member' => '{{doc-group|helper-global|member}}',
96 - 'grouppage-helper-global' => '{{doc-group|helper-global|page}}',
97 -
98 - 'group-ipblock-exempt' => '{{doc-group|ipblock-exempt}}',
99 - 'group-ipblock-exempt-member' => '{{doc-group|ipblock-exempt|member}}',
100 - 'grouppage-ipblock-exempt' => '{{doc-group|ipblock-exempt|page}}',
101 -
102 - 'group-ipblock-exempt-g' => '{{doc-group|ipblock-exempt-g}}',
103 - 'group-ipblock-exempt-g-member' => '{{doc-group|ipblock-exempt-g|member}}',
104 - 'grouppage-ipblock-exempt-g' => '{{doc-group|ipblock-exempt-g|page}}',
105 -
106 - 'group-rollback-global' => '{{doc-group|rollback-global}}',
107 - 'group-rollback-global-member' => '{{doc-group|rollback-global|member}}',
108 - 'grouppage-rollback-global' => '{{doc-group|rollback-global|page}}',
109 -
110 - 'group-steward' => '{{doc-group|steward}}',
111 - 'group-steward-member' => '{{doc-group|steward|member}}',
112 - 'grouppage-steward' => '{{doc-group|steward|page}}',
113 -
114 - 'group-steward-global' => '{{doc-group|steward-global}}',
115 - 'group-steward-global-member' => '{{doc-group|steward-global|member}}',
116 - 'grouppage-steward-global' => '{{doc-group|steward-global|page}}',
117 -
118 - 'group-sysadmin' => '{{doc-group|sysadmin}}',
119 - 'group-sysadmin-member' => '{{doc-group|sysadmin|member}}',
120 - 'grouppage-sysadmin' => '{{doc-group|sysadmin|page}}',
121 -
122 - 'group-sysadmin-global' => '{{doc-group|sysadmin-global}}',
123 - 'group-sysadmin-global-member' => '{{doc-group|sysadmin-global|member}}',
124 - 'grouppage-sysadmin-global' => '{{doc-group|sysadmin-global|page}}',
125 -
126 - 'group-sysop-global' => '{{doc-group|sysop-global}}',
127 - 'group-sysop-global-member' => '{{doc-group|sysop-global|member}}',
128 - 'grouppage-sysop-global' => '{{doc-group|sysop-global|page}}',
129 -);
130 -
131 -/** German (Deutsch)
132 - * @author SVG
133 - */
134 -$messages['de'] = array(
135 - 'group-bot-global' => 'Globale Bots',
136 - 'group-bot-global-member' => '{{GENDER:$1|Globaler Bot}}',
137 - 'grouppage-bot-global' => '{{ns:project}}:Globale Bots',
138 -
139 - 'group-communitymanager' => 'Community Manager',
140 - 'group-communitymanager-member' => '{{GENDER:$1|Community Manager|Community Managerin}}',
141 - 'grouppage-communitymanager' => '{{ns:project}}:Community Manager',
142 -
143 - 'group-checkuser-global' => 'Globale Checkuser',
144 - 'group-checkuser-global-member' => '{{GENDER:$1|Globaler Checkuser|Globale Checkuserin}}',
145 - 'grouppage-checkuser-global' => '{{ns:project}}:Globale Checkuser',
146 -
147 - 'group-helper' => 'Helfer',
148 - 'group-helper-member' => '{{GENDER:$1|Helfer|Helferin}}',
149 - 'grouppage-helper' => '{{ns:project}}:Helfer',
150 -
151 - 'group-helper-global' => 'Globale Helfer',
152 - 'group-helper-global-member' => '{{GENDER:$1|Globaler Helfer|Globale Helferin}}',
153 - 'grouppage-helper-global' => '{{ns:project}}:Globale Helfer',
154 -
155 - 'group-ipblock-exempt' => 'IP-Sperre-Ausnahmen',
156 - 'group-ipblock-exempt-member' => '{{GENDER:$1|IP-Sperre-Ausnahme}}',
157 - 'grouppage-ipblock-exempt' => '{{ns:project}}:IP-Sperre-Ausnahmen',
158 -
159 - 'group-ipblock-exempt-g' => 'Globale IP-Sperre-Ausnahmen',
160 - 'group-ipblock-exempt-g-member' => '{{GENDER:$1|Globale IP-Sperre-Ausnahme}}',
161 - 'grouppage-ipblock-exempt-g' => '{{ns:project}}:Globale IP-Sperre-Ausnahmen',
162 -
163 - 'group-rollback-global' => 'Globale Zurücksetzer',
164 - 'group-rollback-global-member' => '{{GENDER:$1|Globaler Zurücksetzer|Globale Zurücksetzerin}}',
165 - 'grouppage-rollback-global' => '{{ns:project}}:Globale Zurücksetzer',
166 -
167 - 'group-steward' => 'Stewards',
168 - 'group-steward-member' => '{{GENDER:$1|Steward|Stewardess}}',
169 - 'grouppage-steward' => '{{ns:project}}:Stewards',
170 -
171 - 'group-steward-global' => 'Globale Stewards',
172 - 'group-steward-global-member' => '{{GENDER:$1|Globaler Steward|Globale Stewardess}}',
173 - 'grouppage-steward-global' => '{{ns:project}}:Globale Stewards',
174 -
175 - 'group-sysadmin' => 'Systemadministratoren',
176 - 'group-sysadmin-member' => '{{GENDER:$1|Systemadministrator|Systemadministratorin}}',
177 - 'grouppage-sysadmin' => '{{ns:project}}:Systemadministratoren',
178 -
179 - 'group-sysadmin-global' => 'Globale Systemadministratoren',
180 - 'group-sysadmin-global-member' => '{{GENDER:$1|Globaler Systemadministrator|Globale Systemadministratorin}}',
181 - 'grouppage-sysadmin-global' => '{{ns:project}}:Globale Systemadministratoren',
182 -
183 - 'group-sysop-global' => 'Globale Administratoren',
184 - 'group-sysop-global-member' => '{{GENDER:$1|Globaler Administrator|Globale Administratorin}}',
185 - 'grouppage-sysop-global' => '{{ns:project}}:Globale Administratoren',
186 -);
Index: trunk/extensions/GlobalUserGroups/GlobalUserGroups.i18n.groups.php
@@ -0,0 +1,185 @@
 2+<?php
 3+/**
 4+ * Internationalization file for extra user groups if GlobalUserGroups extension is used
 5+ *
 6+ * @since 1.0
 7+ *
 8+ * @file GlobalUserGroups.i18n.groups.php
 9+ * @ingroup GlobalUserGroupsExtras
 10+ *
 11+ * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
 12+ * @author Tim Weyer (SVG) <svg@tim-weyer.org>
 13+ */
 14+
 15+$messages = array();
 16+
 17+/** English
 18+ * @author SVG
 19+ */
 20+$messages['en'] = array(
 21+ 'group-bot-global' => 'Global bots',
 22+ 'group-bot-global-member' => '{{GENDER:$1|global bot}}',
 23+ 'grouppage-bot-global' => '{{ns:project}}:Global bots',
 24+
 25+ 'group-checkuser-global' => 'Global Check users',
 26+ 'group-checkuser-global-member' => '{{GENDER:$1|global check user}}',
 27+ 'grouppage-checkuser-global' => '{{ns:project}}:Global checkusers',
 28+
 29+ 'group-communitymanager' => 'Community managers',
 30+ 'group-communitymanager-member' => '{{GENDER:$1|community manager}}',
 31+ 'grouppage-communitymanager' => '{{ns:project}}:Community managers',
 32+
 33+ 'group-helper' => 'Helpers',
 34+ 'group-helper-member' => '{{GENDER:$1|helper}}',
 35+ 'grouppage-helper' => '{{ns:project}}:Helpers',
 36+
 37+ 'group-helper-global' => 'Global Helpers',
 38+ 'group-helper-global-member' => '{{GENDER:$1|global helper}}',
 39+ 'grouppage-helper-global' => '{{ns:project}}:Global helpers',
 40+
 41+ 'group-ipblock-exempt' => 'IP block exemptions',
 42+ 'group-ipblock-exempt-member' => '{{GENDER:$1|ip block exemption}}',
 43+ 'grouppage-ipblock-exempt' => '{{ns:project}}:IP block exemptions',
 44+
 45+ 'group-ipblock-exempt-g' => 'Global IP block exemptions',
 46+ 'group-ipblock-exempt-g-member' => '{{GENDER:$1|global ip block exemption}}',
 47+ 'grouppage-ipblock-exempt-g' => '{{ns:project}}:Global IP block exemptions',
 48+
 49+ 'group-rollback-global' => 'Global rollbackers',
 50+ 'group-rollback-global-member' => '{{GENDER:$1|global rollbacker}}',
 51+ 'grouppage-rollback-global' => '{{ns:project}}:Global rollbackers',
 52+
 53+ 'group-steward' => 'Stewards',
 54+ 'group-steward-member' => '{{GENDER:$1|steward|stewardess}}',
 55+ 'grouppage-steward' => '{{ns:project}}:Stewards',
 56+
 57+ 'group-steward-global' => 'Global stewards',
 58+ 'group-steward-global-member' => '{{GENDER:$1|global steward|global stewardess}}',
 59+ 'grouppage-steward-global' => '{{ns:project}}:Global stewards',
 60+
 61+ 'group-sysadmin' => 'System administrators',
 62+ 'group-sysadmin-member' => '{{GENDER:$1|system administrator}}',
 63+ 'grouppage-sysadmin' => '{{ns:project}}:System administrators',
 64+
 65+ 'group-sysadmin-global' => 'Global system administrators',
 66+ 'group-sysadmin-global-member' => '{{GENDER:$1|global system administrator}}',
 67+ 'grouppage-sysadmin-global' => '{{ns:project}}:Global system administrators',
 68+
 69+ 'group-sysop-global' => 'Global administrators',
 70+ 'group-sysop-global-member' => '{{GENDER:$1|global administrator}}',
 71+ 'grouppage-sysop-global' => '{{ns:project}}:Global administrators',
 72+);
 73+
 74+/** Message documentation (Message documentation)
 75+ * @author SVG
 76+ */
 77+$messages['qqq'] = array(
 78+ 'group-bot-global' => '{{doc-group|bot-global}}',
 79+ 'group-bot-global-member' => '{{doc-group|bot-global|member}}',
 80+ 'grouppage-bot-global' => '{{doc-group|bot-global|page}}',
 81+
 82+ 'group-checkuser-global' => '{{doc-group|checkuser-global}}',
 83+ 'group-checkuser-global-member' => '{{doc-group|checkuser-global|member}}',
 84+ 'grouppage-checkuser-global' => '{{doc-group|checkuser-global|page}}',
 85+
 86+ 'group-communitymanager' => '{{doc-group|communitymanager}}',
 87+ 'group-communitymanager-member' => '{{doc-group|communitymanager|member}}',
 88+ 'grouppage-communitymanager' => '{{doc-group|communitymanager|page}}',
 89+
 90+ 'group-helper' => '{{doc-group|helper}}',
 91+ 'group-helper-member' => '{{doc-group|helper|member}}',
 92+ 'grouppage-helper' => '{{doc-group|helper|page}}',
 93+
 94+ 'group-helper-global' => '{{doc-group|helper-global}}',
 95+ 'group-helper-global-member' => '{{doc-group|helper-global|member}}',
 96+ 'grouppage-helper-global' => '{{doc-group|helper-global|page}}',
 97+
 98+ 'group-ipblock-exempt' => '{{doc-group|ipblock-exempt}}',
 99+ 'group-ipblock-exempt-member' => '{{doc-group|ipblock-exempt|member}}',
 100+ 'grouppage-ipblock-exempt' => '{{doc-group|ipblock-exempt|page}}',
 101+
 102+ 'group-ipblock-exempt-g' => '{{doc-group|ipblock-exempt-g}}',
 103+ 'group-ipblock-exempt-g-member' => '{{doc-group|ipblock-exempt-g|member}}',
 104+ 'grouppage-ipblock-exempt-g' => '{{doc-group|ipblock-exempt-g|page}}',
 105+
 106+ 'group-rollback-global' => '{{doc-group|rollback-global}}',
 107+ 'group-rollback-global-member' => '{{doc-group|rollback-global|member}}',
 108+ 'grouppage-rollback-global' => '{{doc-group|rollback-global|page}}',
 109+
 110+ 'group-steward' => '{{doc-group|steward}}',
 111+ 'group-steward-member' => '{{doc-group|steward|member}}',
 112+ 'grouppage-steward' => '{{doc-group|steward|page}}',
 113+
 114+ 'group-steward-global' => '{{doc-group|steward-global}}',
 115+ 'group-steward-global-member' => '{{doc-group|steward-global|member}}',
 116+ 'grouppage-steward-global' => '{{doc-group|steward-global|page}}',
 117+
 118+ 'group-sysadmin' => '{{doc-group|sysadmin}}',
 119+ 'group-sysadmin-member' => '{{doc-group|sysadmin|member}}',
 120+ 'grouppage-sysadmin' => '{{doc-group|sysadmin|page}}',
 121+
 122+ 'group-sysadmin-global' => '{{doc-group|sysadmin-global}}',
 123+ 'group-sysadmin-global-member' => '{{doc-group|sysadmin-global|member}}',
 124+ 'grouppage-sysadmin-global' => '{{doc-group|sysadmin-global|page}}',
 125+
 126+ 'group-sysop-global' => '{{doc-group|sysop-global}}',
 127+ 'group-sysop-global-member' => '{{doc-group|sysop-global|member}}',
 128+ 'grouppage-sysop-global' => '{{doc-group|sysop-global|page}}',
 129+);
 130+
 131+/** German (Deutsch)
 132+ * @author SVG
 133+ */
 134+$messages['de'] = array(
 135+ 'group-bot-global' => 'Globale Bots',
 136+ 'group-bot-global-member' => '{{GENDER:$1|Globaler Bot}}',
 137+ 'grouppage-bot-global' => '{{ns:project}}:Globale Bots',
 138+
 139+ 'group-communitymanager' => 'Community Manager',
 140+ 'group-communitymanager-member' => '{{GENDER:$1|Community Manager|Community Managerin}}',
 141+ 'grouppage-communitymanager' => '{{ns:project}}:Community Manager',
 142+
 143+ 'group-checkuser-global' => 'Globale Checkuser',
 144+ 'group-checkuser-global-member' => '{{GENDER:$1|Globaler Checkuser|Globale Checkuserin}}',
 145+ 'grouppage-checkuser-global' => '{{ns:project}}:Globale Checkuser',
 146+
 147+ 'group-helper' => 'Helfer',
 148+ 'group-helper-member' => '{{GENDER:$1|Helfer|Helferin}}',
 149+ 'grouppage-helper' => '{{ns:project}}:Helfer',
 150+
 151+ 'group-helper-global' => 'Globale Helfer',
 152+ 'group-helper-global-member' => '{{GENDER:$1|Globaler Helfer|Globale Helferin}}',
 153+ 'grouppage-helper-global' => '{{ns:project}}:Globale Helfer',
 154+
 155+ 'group-ipblock-exempt' => 'IP-Sperre-Ausnahmen',
 156+ 'group-ipblock-exempt-member' => '{{GENDER:$1|IP-Sperre-Ausnahme}}',
 157+ 'grouppage-ipblock-exempt' => '{{ns:project}}:IP-Sperre-Ausnahmen',
 158+
 159+ 'group-ipblock-exempt-g' => 'Globale IP-Sperre-Ausnahmen',
 160+ 'group-ipblock-exempt-g-member' => '{{GENDER:$1|Globale IP-Sperre-Ausnahme}}',
 161+ 'grouppage-ipblock-exempt-g' => '{{ns:project}}:Globale IP-Sperre-Ausnahmen',
 162+
 163+ 'group-rollback-global' => 'Globale Zurücksetzer',
 164+ 'group-rollback-global-member' => '{{GENDER:$1|Globaler Zurücksetzer|Globale Zurücksetzerin}}',
 165+ 'grouppage-rollback-global' => '{{ns:project}}:Globale Zurücksetzer',
 166+
 167+ 'group-steward' => 'Stewards',
 168+ 'group-steward-member' => '{{GENDER:$1|Steward|Stewardess}}',
 169+ 'grouppage-steward' => '{{ns:project}}:Stewards',
 170+
 171+ 'group-steward-global' => 'Globale Stewards',
 172+ 'group-steward-global-member' => '{{GENDER:$1|Globaler Steward|Globale Stewardess}}',
 173+ 'grouppage-steward-global' => '{{ns:project}}:Globale Stewards',
 174+
 175+ 'group-sysadmin' => 'Systemadministratoren',
 176+ 'group-sysadmin-member' => '{{GENDER:$1|Systemadministrator|Systemadministratorin}}',
 177+ 'grouppage-sysadmin' => '{{ns:project}}:Systemadministratoren',
 178+
 179+ 'group-sysadmin-global' => 'Globale Systemadministratoren',
 180+ 'group-sysadmin-global-member' => '{{GENDER:$1|Globaler Systemadministrator|Globale Systemadministratorin}}',
 181+ 'grouppage-sysadmin-global' => '{{ns:project}}:Globale Systemadministratoren',
 182+
 183+ 'group-sysop-global' => 'Globale Administratoren',
 184+ 'group-sysop-global-member' => '{{GENDER:$1|Globaler Administrator|Globale Administratorin}}',
 185+ 'grouppage-sysop-global' => '{{ns:project}}:Globale Administratoren',
 186+);
Property changes on: trunk/extensions/GlobalUserGroups/GlobalUserGroups.i18n.groups.php
___________________________________________________________________
Added: svn:eol-style
1187 + native
Index: trunk/extensions/GlobalUserGroups/GlobalUserGroups.php
@@ -26,7 +26,7 @@
2727 'version' => '1.0.1',
2828 );
2929
30 -// Use extra translations for various user group names and similars
 30+// Use extra translations for various user group names
3131 $wgGlobalUserGroupsUseEMWT = true;
3232
3333 // Translations
@@ -99,6 +99,6 @@
100100 $dir = dirname( __FILE__ ) . '/';
101101
102102 if ( $wgGlobalUserGroupsUseEMWT ) {
103 - $wgExtensionMessagesFiles['GlobalUserGroupsExtras'] = $dir . 'GlobalUserGroups.i18n.extras.php';
 103+ $wgExtensionMessagesFiles['GlobalUserGroupsExtras'] = $dir . 'GlobalUserGroups.i18n.groups.php';
104104 }
105105 }

Status & tagging log