Simplify the usage of pure % numbers a bit:
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 2 Mar 2009 18:23:20 +0000 (18:23 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 2 Mar 2009 18:23:20 +0000 (18:23 +0000)
* Add a generic 'percent' message
* Move existing translations from extensions to core
* Remove these special messages from extensions

languages/messages/MessagesDe.php
languages/messages/MessagesEn.php
languages/messages/MessagesFi.php
languages/messages/MessagesFr.php
languages/messages/MessagesTr.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc

index 201db2e..f4287a0 100644 (file)
@@ -3071,6 +3071,9 @@ Bitte bestätige, dass du diese Seite wirklich neu erstellen möchten.",
 'confirm-purge-top'    => 'Diese Seite aus dem Server-Cache löschen?',
 'confirm-purge-bottom' => 'Leert den Cache einer Seite und erzwingt die Anzeige der aktuellen Version.',
 
+# Separators for various lists, etc.
+'percent' => '$1&nbsp;%',
+
 # Multipage image navigation
 'imgmultipageprev' => '← vorige Seite',
 'imgmultipagenext' => 'nächste Seite →',
index e271af8..3937df8 100644 (file)
@@ -3601,6 +3601,7 @@ Please confirm that you really want to recreate this page.",
 'pipe-separator'      => '&#32;|&#32;', # only translate this message to other languages if you have to change it
 'word-separator'      => '&#32;', # only translate this message to other languages if you have to change it
 'ellipsis'            => '…', # only translate this message to other languages if you have to change it
+'percent'             => '$1%', # only translate this message to other languages if you have to change it
 
 # Multipage image navigation
 'imgmultipageprev' => '← previous page',
index 2d3dd01..3666e6f 100644 (file)
@@ -2897,6 +2897,9 @@ Varmista, että haluat luoda sivun uudelleen.",
 'confirm-purge-top'    => 'Poistetaanko tämän sivun välimuistikopiot?',
 'confirm-purge-bottom' => 'Välimuistikopioiden poistaminen tyhjentää välimuistin ja pakottaa sivun uusimman version näkyviin.',
 
+# Separators for various lists, etc.
+'percent' => '$1&nbsp;%',
+
 # Multipage image navigation
 'imgmultipageprev' => '← edellinen sivu',
 'imgmultipagenext' => 'seuraava sivu →',
index 3d1892d..2996a93 100644 (file)
@@ -3077,6 +3077,7 @@ Veuillez confirmer que vous désirez réellement recréer cette page.",
 'semicolon-separator' => '&nbsp;;&#32;',
 'colon-separator'     => '&nbsp;:&#32;',
 'autocomment-prefix'  => '&#32;–&#32;',
+'percent'             => '$1&nbsp;%',
 
 # Multipage image navigation
 'imgmultipageprev' => '← page précédente',
index b402969..00e21ab 100644 (file)
@@ -2906,6 +2906,9 @@ Sayfayı baştan açmak isityorsanız, lütfen onaylayın.",
 'confirm-purge-top'    => 'Sayfa önbelleği temizlensin mi?',
 'confirm-purge-bottom' => 'Bir sayfayı tasfiye etmek önbelleği temizler ve en güncel sürümün görünmesine zorlar.',
 
+# Separators for various lists, etc.
+'percent' => '%$1',
+
 # Multipage image navigation
 'imgmultipageprev' => '← önceki sayfa',
 'imgmultipagenext' => 'sonraki sayfa →',
index 0f3e4e8..5546846 100644 (file)
@@ -324,6 +324,7 @@ $wgOptionalMessages = array(
        'pipe-separator',
        'word-separator',
        'ellipsis',
+       'percent',
        'autocomment-prefix',
        'listgrouprights-right-display',
        'timezone-utc',
index eee749a..83ae613 100644 (file)
@@ -2728,6 +2728,7 @@ $wgMessageStructure = array(
                'pipe-separator',
                'word-separator',
                'ellipsis',
+               'percent',
        ),
        'imgmulti' => array(
                'imgmultipageprev',