Add plural support in 'longpageerror'.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 16 Jan 2012 12:05:55 +0000 (12:05 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 16 Jan 2012 12:05:55 +0000 (12:05 +0000)
languages/messages/MessagesEn.php

index 68f60cd..2065491 100644 (file)
@@ -1398,7 +1398,7 @@ You are also promising us that you wrote this yourself, or copied it from a publ
 '''Do not submit copyrighted work without permission!'''",
 'editpage-tos-summary'             => '-', # do not translate or duplicate this message to other languages
 'longpage-hint'                    => '-', # do not translate or duplicate this message to other languages
-'longpageerror'                    => "'''Error: The text you have submitted is $1 kilobytes long, which is longer than the maximum of $2 kilobytes.'''
+'longpageerror'                    => "'''Error: The text you have submitted is {{PLURAL:$1|one kilobyte|$1 kilobytes}} long, which is longer than the maximum of {{PLURAL:$2|one kilobyte|$2 kilobytes}}.'''
 It cannot be saved.",
 'readonlywarning'                  => "'''Warning: The database has been locked for maintenance, so you will not be able to save your edits right now.'''
 You may wish to cut-n-paste the text into a text file and save it for later.