r20190 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20189‎ | r20190 | r20191 >
Date:09:21, 7 March 2007
Author:raymond
Status:old
Tags:
Comment:
* (bug 6906) Changed <sup> position for proper underlining
Removed untranslated/untranslatable localizations
Modified paths:
  • /trunk/extensions/Cite/Cite.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/Cite.i18n.php
@@ -46,7 +46,7 @@
4747 'cite_reference_link' => '<sup id="$1" class="reference">[[#$2|<nowiki>[</nowiki>$3<nowiki>]</nowiki>]]</sup>',
4848 'cite_references_link_one' => '<li id="$1">[[#$2|↑]] $3</li>',
4949 'cite_references_link_many' => '<li id="$1">↑ $2 $3</li>',
50 - 'cite_references_link_many_format' => '[[#$1|<sup>$2</sup>]]',
 50+ 'cite_references_link_many_format' => '<sup>[[#$1|$2]]</sup>',
5151 # An item from this set is passed as $3 in the message above
5252 'cite_references_link_many_format_backlink_labels' => 'a b c d e f g h i j k l m n o p q r s t u v w x y z',
5353 'cite_references_link_many_sep' => " ",
@@ -80,31 +80,6 @@
8181 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => 'Chyba v tagu <code>&lt;references&gt;</code>; zde není dovolen vstup, použijte <code>&lt;references /&gt;</code>',
8282 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => 'Invalid <code>&lt;references&gt;</code> tag; no parameters are allowed, use <code>&lt;references /&gt;</code>',
8383 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "Došla označení zpětných odkazů, přidejte jich několik do zprávy „''cite_references_link_many_format_backlink_labels''“",
84 -
85 - /*
86 - Output formatting
87 - */
88 - 'cite_reference_link_key_with_num' => '$1_$2',
89 - # Ids produced by <ref>
90 - 'cite_reference_link_prefix' => '_ref-',
91 - 'cite_reference_link_suffix' => '',
92 - # Ids produced by <references>
93 - 'cite_references_link_prefix' => '_note-',
94 - 'cite_references_link_suffix' => '',
95 -
96 - 'cite_reference_link' => '<sup id="$1" class="reference">[[#$2|<nowiki>[</nowiki>$3<nowiki>]</nowiki>]]</sup>',
97 - 'cite_references_link_one' => '<li id="$1">[[#$2|↑]] $3</li>',
98 - 'cite_references_link_many' => '<li id="$1">↑ $2 $3</li>',
99 - 'cite_references_link_many_format' => '[[#$1|<sup>$2</sup>]]',
100 - # An item from this set is passed as $3 in the message above
101 - 'cite_references_link_many_format_backlink_labels' => 'a b c d e f g h i j k l m n o p q r s t u v w x y z',
102 - 'cite_references_link_many_sep' => ' ',
103 - 'cite_references_link_many_and' => ' ',
104 -
105 - # Although I could just use # instead of <li> above and nothing here that
106 - # will break on input that contains linebreaks
107 - 'cite_references_prefix' => '<ol class="references">',
108 - 'cite_references_suffix' => '</ol>',
10984 );
11085
11186 $wgCiteMessages['de'] = array(
@@ -173,31 +148,6 @@
174149 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => 'תגית <code>&lt;references&gt;</code> שגויה; לא ניתן לכתוב תוכן, יש להשתמש בקוד <code>&lt;references /&gt;</code>',
175150 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => 'תגית <code>&lt;references&gt;</code> שגויה; לא ניתן להשתמש בפרמטרים, יש להשתמש בקוד <code>&lt;references /&gt;</code>',
176151 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "נגמרו תוויות הקישורים המותאמים אישית, אנא הגדירו נוספים בהודעת המערכת \"''cite_references_link_many_format_backlink_labels''\"",
177 -
178 - /*
179 - Output formatting
180 - */
181 - 'cite_reference_link_key_with_num' => '$1_$2',
182 - # Ids produced by <ref>
183 - 'cite_reference_link_prefix' => '_ref-',
184 - 'cite_reference_link_suffix' => '',
185 - # Ids produced by <references>
186 - 'cite_references_link_prefix' => '_note-',
187 - 'cite_references_link_suffix' => '',
188 -
189 - 'cite_reference_link' => '<sup id="$1" class="reference">[[#$2|<nowiki>[</nowiki>$3<nowiki>]</nowiki>]]</sup>',
190 - 'cite_references_link_one' => '<li id="$1">[[#$2|↑]] $3</li>',
191 - 'cite_references_link_many' => '<li id="$1">↑ $2 $3</li>',
192 - 'cite_references_link_many_format' => '[[#$1|<sup>$2</sup>]]',
193 - # An item from this set is passed as $3 in the message above
194 - 'cite_references_link_many_format_backlink_labels' => 'a b c d e f g h i j k l m n o p q r s t u v w x y z',
195 - 'cite_references_link_many_sep' => " ",
196 - 'cite_references_link_many_and' => " ",
197 -
198 - # Although I could just use # instead of <li> above and nothing here that
199 - # will break on input that contains linebreaks
200 - 'cite_references_prefix' => '<ol class="references">',
201 - 'cite_references_suffix' => '</ol>',
202152 );
203153 $wgCiteMessages['id'] = array(
204154 # Internal errors
@@ -347,7 +297,7 @@
348298 'cite_error_' . CITE_ERROR_REF_NUMERIC_KEY => 'Neleistina <code>&lt;ref&gt;</code> gairė; vardas negali būti tiesiog skaičius, naudokite tekstinį pavadinimą',
349299 'cite_error_' . CITE_ERROR_REF_NO_KEY => 'Neleistina <code>&lt;ref&gt;</code> gairė; nuorodos be turinio turi turėti vardą',
350300 'cite_error_' . CITE_ERROR_REF_TOO_MANY_KEYS => 'Neleistina <code>&lt;ref&gt;</code> gairė; neleistini vardai, pvz., per daug',
351 - 'cite_error_' . CITE_ERROR_REF_NO_INPUT /**/ => 'Neleistina <code>&lt;ref&gt;</code> gairė; nuorodos be vardo turi turėti turinį',
 301+ 'cite_error_' . CITE_ERROR_REF_NO_INPUT => 'Neleistina <code>&lt;ref&gt;</code> gairė; nuorodos be vardo turi turėti turinį',
352302 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => 'Neleistina <code>&lt;references&gt;</code> gairė; neleistina jokia įvestis, naudokite <code>&lt;references /&gt;</code>',
353303 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => 'Neleistina <code>&lt;references&gt;</code> gairė; neleidžiami jokie parametrai, naudokite <code>&lt;references /&gt;</code>',
354304 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "Baigėsi antraštės, nurodykite daugiau \"''cite_references_link_many_format_backlink_labels''\" sisteminiame tekste",
@@ -428,31 +378,6 @@
429379 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => 'Neplatné volanie; neočakával sa vstup',
430380 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => 'Neplatné parametre; neočakávli sa žiadne',
431381 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "Minuli sa generované návestia spätných odkazov, definujte viac v správe \"''cite_references_link_many_format_backlink_labels''\"",
432 -
433 - /*
434 - Output formatting
435 - */
436 - 'cite_reference_link_key_with_num' => '$1_$2',
437 - # Ids produced by <ref>
438 - 'cite_reference_link_prefix' => '_ref-',
439 - 'cite_reference_link_suffix' => '',
440 - # Ids produced by <references>
441 - 'cite_references_link_prefix' => '_note-',
442 - 'cite_references_link_suffix' => '',
443 -
444 - 'cite_reference_link' => '<sup id="$1" class="reference">[[#$2|<nowiki>[</nowiki>$3<nowiki>]</nowiki>]]</sup>',
445 - 'cite_references_link_one' => '<li id="$1">[[#$2|↑]] $3</li>',
446 - 'cite_references_link_many' => '<li id="$1">↑ $2 $3</li>',
447 - 'cite_references_link_many_format' => '[[#$1|<sup>$2</sup>]]',
448 - # An item from this set is passed as $3 in the message above
449 - 'cite_references_link_many_format_backlink_labels' => 'a b c d e f g h i j k l m n o p q r s t u v w x y z',
450 - 'cite_references_link_many_sep' => ' ',
451 - 'cite_references_link_many_and' => ' ',
452 -
453 - # Although I could just use # instead of <li> above and nothing here that
454 - # will break on input that contains linebreaks
455 - 'cite_references_prefix' => '<ol class="references">',
456 - 'cite_references_suffix' => '</ol>',
457382 );
458383 $wgCiteMessages['zh-cn'] = array(
459384 /*
@@ -477,31 +402,6 @@
478403 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => '无效输入;需求为空',
479404 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => '非法参数;需求为空',
480405 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "自定义后退标签已经用完了,现在可在标签 \"''cite_references_link_many_format_backlink_labels''\" 定义更多信息",
481 -
482 - /*
483 - Output formatting
484 - */
485 - 'cite_reference_link_key_with_num' => '$1_$2',
486 - # Ids produced by <ref>
487 - 'cite_reference_link_prefix' => '_ref-',
488 - 'cite_reference_link_suffix' => '',
489 - # Ids produced by <references>
490 - 'cite_references_link_prefix' => '_note-',
491 - 'cite_references_link_suffix' => '',
492 -
493 - 'cite_reference_link' => '<sup id="$1" class="reference">[[#$2|<nowiki>[</nowiki>$3<nowiki>]</nowiki>]]</sup>',
494 - 'cite_references_link_one' => '<li id="$1">[[#$2|↑]] $3</li>',
495 - 'cite_references_link_many' => '<li id="$1">↑ $2 $3</li>',
496 - 'cite_references_link_many_format' => '[[#$1|<sup>$2</sup>]]',
497 - # An item from this set is passed as $3 in the message above
498 - 'cite_references_link_many_format_backlink_labels' => 'a b c d e f g h i j k l m n o p q r s t u v w x y z',
499 - 'cite_references_link_many_sep' => ' ',
500 - 'cite_references_link_many_and' => ' ',
501 -
502 - # Although I could just use # instead of <li> above and nothing here that
503 - # will break on input that contains linebreaks
504 - 'cite_references_prefix' => '<ol class="references">',
505 - 'cite_references_suffix' => '</ol>',
506406 );
507407 $wgCiteMessages['zh-tw'] = array(
508408 /*
@@ -526,31 +426,6 @@
527427 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => '無效輸入;需求為空',
528428 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => '非法參數;需求為空',
529429 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "自訂後退標籤已經用完了,現在可在標籤 \"''cite_references_link_many_format_backlink_labels''\" 定義更多信息",
530 -
531 - /*
532 - Output formatting
533 - */
534 - 'cite_reference_link_key_with_num' => '$1_$2',
535 - # Ids produced by <ref>
536 - 'cite_reference_link_prefix' => '_ref-',
537 - 'cite_reference_link_suffix' => '',
538 - # Ids produced by <references>
539 - 'cite_references_link_prefix' => '_note-',
540 - 'cite_references_link_suffix' => '',
541 -
542 - 'cite_reference_link' => '<sup id="$1" class="reference">[[#$2|<nowiki>[</nowiki>$3<nowiki>]</nowiki>]]</sup>',
543 - 'cite_references_link_one' => '<li id="$1">[[#$2|↑]] $3</li>',
544 - 'cite_references_link_many' => '<li id="$1">↑ $2 $3</li>',
545 - 'cite_references_link_many_format' => '[[#$1|<sup>$2</sup>]]',
546 - # An item from this set is passed as $3 in the message above
547 - 'cite_references_link_many_format_backlink_labels' => 'a b c d e f g h i j k l m n o p q r s t u v w x y z',
548 - 'cite_references_link_many_sep' => ' ',
549 - 'cite_references_link_many_and' => ' ',
550 -
551 - # Although I could just use # instead of <li> above and nothing here that
552 - # will break on input that contains linebreaks
553 - 'cite_references_prefix' => '<ol class="references">',
554 - 'cite_references_suffix' => '</ol>',
555430 );
556431 $wgCiteMessages['zh-yue'] = array(
557432 /*
@@ -575,31 +450,6 @@
576451 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT => '無效嘅輸入; 唔需要有嘢',
577452 'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => '無效嘅參數; 唔需要有嘢',
578453 'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL => "用晒啲自定返回標籤, 響 \"''cite_references_link_many_format_backlink_labels''\" 信息再整多啲",
579 -
580 - /*
581 - Output formatting
582 - */
583 - 'cite_reference_link_key_with_num' => '$1_$2',
584 - # Ids produced by <ref>
585 - 'cite_reference_link_prefix' => '_ref-',
586 - 'cite_reference_link_suffix' => '',
587 - # Ids produced by <references>
588 - 'cite_references_link_prefix' => '_note-',
589 - 'cite_references_link_suffix' => '',
590 -
591 - 'cite_reference_link' => '<sup id="$1" class="reference">[[#$2|<nowiki>[</nowiki>$3<nowiki>]</nowiki>]]</sup>',
592 - 'cite_references_link_one' => '<li id="$1">[[#$2|↑]] $3</li>',
593 - 'cite_references_link_many' => '<li id="$1">↑ $2 $3</li>',
594 - 'cite_references_link_many_format' => '[[#$1|<sup>$2</sup>]]',
595 - # An item from this set is passed as $3 in the message above
596 - 'cite_references_link_many_format_backlink_labels' => 'a b c d e f g h i j k l m n o p q r s t u v w x y z',
597 - 'cite_references_link_many_sep' => ' ',
598 - 'cite_references_link_many_and' => ' ',
599 -
600 - # Although I could just use # instead of <li> above and nothing here that
601 - # will break on input that contains linebreaks
602 - 'cite_references_prefix' => '<ol class="references">',
603 - 'cite_references_suffix' => '</ol>',
604454 );
605455 $wgCiteMessages['zh-hk'] = $wgCiteMessages['zh-tw'];
606456 $wgCiteMessages['zh-sg'] = $wgCiteMessages['zh-cn'];

Follow-up revisions

RevisionCommit summaryAuthorDate
r20224Fix for r20190raymond11:20, 8 March 2007