From ee93ce669981bbeeb8de812e80c4ed58958d0b89 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 12 Mar 2013 17:22:00 +0100 Subject: [PATCH] Add space between number and unit of measure Also update tests. Spotted by Opraco in https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Bitrate-kilobits/en Change-Id: I81ad428ebc8b2511b871bf98540bc74508f00939 --- languages/messages/MessagesEn.php | 18 +++++++++--------- tests/phpunit/languages/LanguageTest.php | 22 +++++++++++----------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index aa17b99def..e07da4ff5d 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -4606,15 +4606,15 @@ Please confirm that you really want to recreate this page.", 'size-yottabytes' => '$1 YB', # only translate this message to other languages if you have to change it # Bitrate units -'bitrate-bits' => '$1bps', # only translate this message to other languages if you have to change it -'bitrate-kilobits' => '$1kbps', # only translate this message to other languages if you have to change it -'bitrate-megabits' => '$1Mbps', # only translate this message to other languages if you have to change it -'bitrate-gigabits' => '$1Gbps', # only translate this message to other languages if you have to change it -'bitrate-terabits' => '$1Tbps', # only translate this message to other languages if you have to change it -'bitrate-petabits' => '$1Pbps', # only translate this message to other languages if you have to change it -'bitrate-exabits' => '$1Ebps', # only translate this message to other languages if you have to change it -'bitrate-zetabits' => '$1Zbps', # only translate this message to other languages if you have to change it -'bitrate-yottabits' => '$1Ybps', # only translate this message to other languages if you have to change it +'bitrate-bits' => '$1 bps', # only translate this message to other languages if you have to change it +'bitrate-kilobits' => '$1 kbps', # only translate this message to other languages if you have to change it +'bitrate-megabits' => '$1 Mbps', # only translate this message to other languages if you have to change it +'bitrate-gigabits' => '$1 Gbps', # only translate this message to other languages if you have to change it +'bitrate-terabits' => '$1 Tbps', # only translate this message to other languages if you have to change it +'bitrate-petabits' => '$1 Pbps', # only translate this message to other languages if you have to change it +'bitrate-exabits' => '$1 Ebps', # only translate this message to other languages if you have to change it +'bitrate-zetabits' => '$1 Zbps', # only translate this message to other languages if you have to change it +'bitrate-yottabits' => '$1 Ybps', # only translate this message to other languages if you have to change it # Live preview 'livepreview-loading' => 'Loading...', diff --git a/tests/phpunit/languages/LanguageTest.php b/tests/phpunit/languages/LanguageTest.php index dd90d31b53..76471445a2 100644 --- a/tests/phpunit/languages/LanguageTest.php +++ b/tests/phpunit/languages/LanguageTest.php @@ -902,57 +902,57 @@ class LanguageTest extends LanguageClassesTestCase { return array( array( 0, - "0bps", + "0 bps", "0 bits per second" ), array( 999, - "999bps", + "999 bps", "999 bits per second" ), array( 1000, - "1kbps", + "1 kbps", "1 kilobit per second" ), array( 1000 * 1000, - "1Mbps", + "1 Mbps", "1 megabit per second" ), array( pow( 10, 9 ), - "1Gbps", + "1 Gbps", "1 gigabit per second" ), array( pow( 10, 12 ), - "1Tbps", + "1 Tbps", "1 terabit per second" ), array( pow( 10, 15 ), - "1Pbps", + "1 Pbps", "1 petabit per second" ), array( pow( 10, 18 ), - "1Ebps", + "1 Ebps", "1 exabit per second" ), array( pow( 10, 21 ), - "1Zbps", + "1 Zbps", "1 zetabit per second" ), array( pow( 10, 24 ), - "1Ybps", + "1 Ybps", "1 yottabit per second" ), array( pow( 10, 27 ), - "1,000Ybps", + "1,000 Ybps", "1,000 yottabits per second" ), ); -- 2.20.1