r66337 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66336‎ | r66337 | r66338 >
Date:12:51, 13 May 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r66317: Tweak i18n file to let it work with translatewiki
Tweak messages a bit
Add module to translatewiki
Modified paths:
  • /trunk/extensions/JS2Support/mwEmbed/mwEmbed.i18n.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/JS2Support/mwEmbed/mwEmbed.i18n.php
@@ -2,6 +2,9 @@
33 /**
44 * Localization file for mwEmbed.js
55 */
 6+
 7+$messages = array();
 8+
69 $messages['en'] = array(
710 'mwe-loading_txt' => 'Loading ...',
811 'mwe-size-gigabytes' => '$1 GB',
@@ -13,21 +16,24 @@
1417 'mwe-load-drag-item' => 'Loading dragged item',
1518 'mwe-ok' => 'OK',
1619 'mwe-cancel' => 'Cancel',
17 - 'mwe-enable-gadget' => 'Enable multimedia beta ( mwEmbed ) for all pages',
18 - 'mwe-enable-gadget-done' => 'multimedia beta gadget has been enabled',
 20+ 'mwe-enable-gadget' => 'Enable multimedia beta (mwEmbed) for all pages',
 21+ 'mwe-enable-gadget-done' => 'Multimedia beta gadget has been enabled',
1922 'mwe-must-login-gadget' => 'To enable gadget you must <a target="_new" href="$1">login</a>',
2023 'mwe-test-plural' => 'I ran {{PLURAL:$1|$1 test|$1 tests}}',
2124 );
 25+
2226 $messages['af'] = array(
2327 'mwe-loading_txt' => 'laai ...',
2428 'mwe-error_load_lib' => 'Fout: JavaScript $1 kon nie gevind word of definieer nie $2 nie',
2529 'mwe-ok' => 'OK',
2630 'mwe-cancel' => 'Kanselleer',
2731 );
 32+
2833 $messages['ar'] = array(
2934 'mwe-loading_txt' => 'يحمل...',
3035 'mwe-cancel' => 'ألغِ',
3136 );
 37+
3238 $messages['be-tarask'] = array(
3339 'mwe-loading_txt' => 'загрузка …',
3440 'mwe-error_load_lib' => 'Памылка: JavaScript $1 не даступны альбо не вызначае $2',
@@ -41,6 +47,7 @@
4248 'mwe-ok' => 'Mat eo',
4349 'mwe-cancel' => 'Nullañ',
4450 );
 51+
4552 $messages['bs'] = array(
4653 'mwe-loading_txt' => 'učitavam ...',
4754 'mwe-apiproxy-setup' => 'Postavljanje API proksija',
@@ -51,9 +58,11 @@
5259 'mwe-loading_txt' => 'Načítá se …',
5360 'mwe-cancel' => 'Storno',
5461 );
 62+
5563 $messages['cy'] = array(
5664 'mwe-loading_txt' => 'wrthi\'n llwytho ...',
5765 );
 66+
5867 $messages['de'] = array(
5968 'mwe-loading_txt' => 'lade …',
6069 'mwe-error_load_lib' => 'Fehler: JavaScript $1 war nicht abrufbar oder lässt $2 nicht zu',
@@ -61,6 +70,7 @@
6271 'mwe-ok' => 'OK',
6372 'mwe-cancel' => 'Abbrechen',
6473 );
 74+
6575 $messages['diq'] = array(
6676 'mwe-loading_txt' => 'bar beno...',
6777 'mwe-error_load_lib' => 'xeta: $1 JavaScript re nêresiyeno ya zi pê $2yi şınasnaye niyo.',
@@ -69,6 +79,7 @@
7080 'mwe-ok' => 'temam',
7181 'mwe-cancel' => 'iptal',
7282 );
 83+
7384 $messages['dsb'] = array(
7485 'mwe-loading_txt' => 'zacytujo se ...',
7586 'mwe-error_load_lib' => 'Zmólka: JavaScript $1 njejo wótwołujobny był abo njedefiněrujo $2',
@@ -77,6 +88,7 @@
7889 'mwe-ok' => 'W pórědku',
7990 'mwe-cancel' => 'Pśetergnuś',
8091 );
 92+
8193 $messages['el'] = array(
8294 'mwe-loading_txt' => 'φόρτωση ...',
8395 );
@@ -84,20 +96,24 @@
8597 'mwe-loading_txt' => 'ŝarĝante ...',
8698 'mwe-cancel' => 'Nuligi',
8799 );
 100+
88101 $messages['es'] = array(
89102 'mwe-loading_txt' => 'cargando ...',
90103 'mwe-load-drag-item' => 'Cargando el objeto arrastrado',
91104 'mwe-ok' => 'OK',
92105 'mwe-cancel' => 'Cancelar',
93106 );
 107+
94108 $messages['eu'] = array(
95109 'mwe-loading_txt' => 'Kargatzen ...',
96110 'mwe-ok' => 'Ados',
97111 'mwe-cancel' => 'Ezeztatu',
98112 );
 113+
99114 $messages['fi'] = array(
100115 'mwe-cancel' => 'Peruuta',
101116 );
 117+
102118 $messages['fr'] = array(
103119 'mwe-loading_txt' => 'chargement ...',
104120 'mwe-error_load_lib' => 'Erreur : JavaScript $1 n\'a pas pu être trouvé ou ne définit pas $2',
@@ -106,6 +122,7 @@
107123 'mwe-ok' => 'OK',
108124 'mwe-cancel' => 'Annuler',
109125 );
 126+
110127 $messages['gl'] = array(
111128 'mwe-loading_txt' => 'cargando...',
112129 'mwe-error_load_lib' => 'Erro: o JavaScript $1 non se puido atopar ou non definía $2',
@@ -114,6 +131,7 @@
115132 'mwe-ok' => 'De acordo',
116133 'mwe-cancel' => 'Cancelar',
117134 );
 135+
118136 $messages['gsw'] = array(
119137 'mwe-loading_txt' => 'Am Lade ...',
120138 'mwe-error_load_lib' => 'Fähler: s JavaScript $1 het nit chenne glade wäre oder s losst $2 nit zue',
@@ -122,10 +140,12 @@
123141 'mwe-ok' => 'OK',
124142 'mwe-cancel' => 'Abbräche',
125143 );
 144+
126145 $messages['he'] = array(
127146 'mwe-loading_txt' => 'בטעינה ...',
128147 'mwe-error_load_lib' => 'שגיאה: לא ניתן היה לטעון את ספריית ה־JavaScript בשם $1 או שהיא אינה מגדירה את $2',
129148 );
 149+
130150 $messages['hsb'] = array(
131151 'mwe-loading_txt' => 'začituje so ...',
132152 'mwe-size-gigabytes' => '$1 GB',
@@ -138,6 +158,7 @@
139159 'mwe-ok' => 'W porjadku',
140160 'mwe-cancel' => 'Přetorhnyć',
141161 );
 162+
142163 $messages['hu'] = array(
143164 'mwe-loading_txt' => 'betöltés…',
144165 'mwe-error_load_lib' => 'Hiba: a(z) $1 JavaScript-fájl nem elérhető, vagy nem definiálja a(z) $2 osztályt.',
@@ -146,6 +167,7 @@
147168 'mwe-ok' => 'OK',
148169 'mwe-cancel' => 'Mégse',
149170 );
 171+
150172 $messages['ia'] = array(
151173 'mwe-loading_txt' => 'cargamento ...',
152174 'mwe-error_load_lib' => 'Error: JavaScript $1 non esseva recuperabile o non defini $2',
@@ -154,6 +176,7 @@
155177 'mwe-ok' => 'OK',
156178 'mwe-cancel' => 'Cancella',
157179 );
 180+
158181 $messages['id'] = array(
159182 'mwe-loading_txt' => 'memuat...',
160183 'mwe-error_load_lib' => 'Kesalahan: JavaScript $1 tidak dapat diambil atau tidak mendefinisikan $2',
@@ -162,9 +185,11 @@
163186 'mwe-ok' => 'Oke',
164187 'mwe-cancel' => 'Batalkan',
165188 );
 189+
166190 $messages['it'] = array(
167191 'mwe-cancel' => 'Annulla',
168192 );
 193+
169194 $messages['ja'] = array(
170195 'mwe-loading_txt' => '読み込み中 …',
171196 'mwe-error_load_lib' => 'エラー:JavaScript $1 は参照不能か、$2 を定義していません。',
@@ -172,11 +197,12 @@
173198 'mwe-load-drag-item' => 'ドラッグされた項目を読み込み中',
174199 'mwe-ok' => 'OK',
175200 'mwe-cancel' => '中止',
176 -);
 201+)
177202 $messages['ko'] = array(
178203 'mwe-loading_txt' => '불러오는 중...',
179204 'mwe-cancel' => '취소',
180205 );
 206+
181207 $messages['ksh'] = array(
182208 'mwe-loading_txt' => 'aam Laade …',
183209 'mwe-size-gigabytes' => '$1&nbsp;GB',
@@ -186,12 +212,14 @@
187213 'mwe-error_load_lib' => 'Fähler: Dat JavaSkrep „<code lang="en">$1</code>“ wohr nit ze laade udder et leiht „<code lang="en">$2</code>“ nit faß.',
188214 'mwe-cancel' => 'Affbräsche',
189215 );
 216+
190217 $messages['lb'] = array(
191218 'mwe-loading_txt' => 'lueden ...',
192219 'mwe-apiproxy-setup' => 'API-Proxy astellen',
193220 'mwe-ok' => 'OK',
194221 'mwe-cancel' => 'Ofbriechen',
195222 );
 223+
196224 $messages['ml'] = array(
197225 'mwe-loading_txt' => 'ശേഖരിക്കുന്നു ...',
198226 'mwe-error_load_lib' => 'പിശക്: ജാവാസ്ക്രിപ്റ്റ് $1 ശേഖരിക്കാൻ കഴിഞ്ഞില്ല അല്ലെങ്കിൽ $2 നിർവ്വചിച്ചിട്ടില്ല',
@@ -200,6 +228,7 @@
201229 'mwe-ok' => 'ശരി',
202230 'mwe-cancel' => 'റദ്ദാക്കുക',
203231 );
 232+
204233 $messages['nl'] = array(
205234 'mwe-loading_txt' => 'bezig met laden ...',
206235 'mwe-error_load_lib' => 'Fout: JavaScript $1 kon niet opgehaald worden of definieert $2 niet',
@@ -208,6 +237,7 @@
209238 'mwe-ok' => 'OK',
210239 'mwe-cancel' => 'Annuleren',
211240 );
 241+
212242 $messages['oc'] = array(
213243 'mwe-loading_txt' => 'cargament ...',
214244 'mwe-error_load_lib' => 'Error : JavaScript $1 a pas pogut èsser trobat o definís pas $2',
@@ -216,13 +246,16 @@
217247 'mwe-ok' => 'OK',
218248 'mwe-cancel' => 'Anullar',
219249 );
 250+
220251 $messages['pdc'] = array(
221252 'mwe-ok' => 'OK',
222253 );
 254+
223255 $messages['pl'] = array(
224256 'mwe-loading_txt' => 'ładowanie ...',
225257 'mwe-error_load_lib' => 'Błąd – W plik JavaScript $1 brak jest możliwości pobrania oraz definicji $2',
226258 );
 259+
227260 $messages['pt'] = array(
228261 'mwe-loading_txt' => 'A carregar ...',
229262 'mwe-error_load_lib' => 'Erro: O JavaScript $1 não pode ser importado ou não define $2',
@@ -231,6 +264,7 @@
232265 'mwe-ok' => 'OK',
233266 'mwe-cancel' => 'Cancelar',
234267 );
 268+
235269 $messages['ru'] = array(
236270 'mwe-loading_txt' => 'загрузка …',
237271 'mwe-error_load_lib' => 'Ошибка. JavaScript $1 не доступен или не определяет $2',
@@ -239,18 +273,22 @@
240274 'mwe-ok' => 'OK',
241275 'mwe-cancel' => 'Отмена',
242276 );
 277+
243278 $messages['sk'] = array(
244279 'mwe-loading_txt' => 'načítava sa ...',
245280 'mwe-error_load_lib' => 'Error: JavaScript $1 nebolo možné získať alebo neobsahuje definíciu $2',
246281 );
 282+
247283 $messages['sv'] = array(
248284 'mwe-ok' => 'OK',
249285 'mwe-cancel' => 'Avbryt',
250286 );
 287+
251288 $messages['te'] = array(
252289 'mwe-ok' => 'సరే',
253290 'mwe-cancel' => 'రద్దుచేయి',
254291 );
 292+
255293 $messages['tr'] = array(
256294 'mwe-loading_txt' => 'yükleniyor ...',
257295 'mwe-error_load_lib' => 'Hata: $1 JavaScripti erişilebilir değil ya da $2 tanımlı değil',
@@ -259,14 +297,17 @@
260298 'mwe-ok' => 'Tamam',
261299 'mwe-cancel' => 'İptal',
262300 );
 301+
263302 $messages['vec'] = array(
264303 'mwe-loading_txt' => 'so\' drio cargar ...',
265304 'mwe-ok' => 'Va ben',
266305 'mwe-cancel' => 'Anula',
267306 );
 307+
268308 $messages['vi'] = array(
269309 'mwe-loading_txt' => 'đang tải …',
270310 'mwe-size-kilobytes' => '$1 kB',
271311 'mwe-ok' => 'OK',
272312 'mwe-cancel' => 'Hủy bỏ',
273313 );
 314+
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -568,6 +568,10 @@
569569
570570 JS2 Support
571571
 572+JS2 Support - mwEmbed
 573+file = JS2Support/mwEmbed/mwEmbed.i18n.php
 574+optional = mwe-size-gigabytes, mwe-size-megabytes, mwe-size-kilobytes, mwe-size-bytes
 575+
572576 Labeled Section Transclusion
573577 file = LabeledSectionTransclusion/lst.i18n.php
574578 descmsg = lst-desc
@@ -670,13 +674,6 @@
671675 id = ext-mwsearch
672676 file = MWSearch/MWSearch.i18n.php
673677
674 -# Need to make a symlink into extensions/ to make this work.
675 -#mwEmbed
676 -#descmsg = translate-group-desc-mwembed
677 -#optional = mwe-size-gigabytes, mwe-size-megabytes, mwe-size-kilobytes, mwe-size-bytes
678 -#optional = mwe-cc_title, rsd-archive_org-title, rsd-flickr-title, rsd-metavid-title
679 -#ignored = mwe-welcome_to_sequencer
680 -
681678 MW Releases
682679 ignored = mwreleases-list
683680

Follow-up revisions

RevisionCommit summaryAuthorDate
r66338follow-up r66337: fix syntax errorraymond12:53, 13 May 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66317* Updated JS2 documentation...dale00:24, 13 May 2010

Status & tagging log