jenkins-bot has submitted this change and it was merged.

Change subject: Add space between number and unit of measure
......................................................................


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
---
M languages/messages/MessagesEn.php
M tests/phpunit/languages/LanguageTest.php
2 files changed, 20 insertions(+), 20 deletions(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/languages/messages/MessagesEn.php 
b/languages/messages/MessagesEn.php
index aa17b99..e07da4ff 100644
--- a/languages/messages/MessagesEn.php
+++ b/languages/messages/MessagesEn.php
@@ -4606,15 +4606,15 @@
 '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 dd90d31..7647144 100644
--- a/tests/phpunit/languages/LanguageTest.php
+++ b/tests/phpunit/languages/LanguageTest.php
@@ -902,57 +902,57 @@
                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"
                        ),
                );

-- 
To view, visit https://gerrit.wikimedia.org/r/53380
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I81ad428ebc8b2511b871bf98540bc74508f00939
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: IAlex <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to