Commit 8fb5bee4 authored by dgozman@chromium.org's avatar dgozman@chromium.org

Change kB to KB for consistency.

BUG=chromium-os:22812
TEST=Open task manager or downloads, and observe KB instead of kB.

Review URL: http://codereview.chromium.org/9490008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124947 0039d316-1c4b-4281-b951-d872f2087c98
parent b91dafdd
......@@ -343,7 +343,7 @@ need to be translated for each locale.-->
<ph name="QUANTITY">$1<ex>42</ex></ph> B
</message>
<message name="IDS_APP_KIBIBYTES" desc="Units tag indicating a quantity of kilobytes">
<ph name="QUANTITY">$1<ex>42.0</ex></ph> kB
<ph name="QUANTITY">$1<ex>42.0</ex></ph> KB
</message>
<message name="IDS_APP_MEBIBYTES" desc="Units tag indicating a quantity of megabytes">
<ph name="QUANTITY">$1<ex>42.0</ex></ph> MB
......@@ -361,7 +361,7 @@ need to be translated for each locale.-->
<ph name="QUANTITY">$1<ex>42</ex></ph> B/s
</message>
<message name="IDS_APP_KIBIBYTES_PER_SECOND" desc="Units tag indicating a speed of kilobytes/second">
<ph name="QUANTITY">$1<ex>42.0</ex></ph> kB/s
<ph name="QUANTITY">$1<ex>42.0</ex></ph> KB/s
</message>
<message name="IDS_APP_MEBIBYTES_PER_SECOND" desc="Units tag indicating a speed of megabytes/second">
<ph name="QUANTITY">$1<ex>42.0</ex></ph> MB/s
......
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
......@@ -44,8 +44,8 @@ TEST(BytesFormattingTest, FormatBytes) {
// digits.
{0, DATA_UNITS_BYTE, "0", "0 B"},
{512, DATA_UNITS_BYTE, "512", "512 B"},
{512, DATA_UNITS_KIBIBYTE, "0.5", "0.5 kB"},
{1024*1024, DATA_UNITS_KIBIBYTE, "1,024", "1,024 kB"},
{512, DATA_UNITS_KIBIBYTE, "0.5", "0.5 KB"},
{1024*1024, DATA_UNITS_KIBIBYTE, "1,024", "1,024 KB"},
{1024*1024, DATA_UNITS_MEBIBYTE, "1.0", "1.0 MB"},
{1024*1024*1024, DATA_UNITS_GIBIBYTE, "1.0", "1.0 GB"},
{10LL*1024*1024*1024, DATA_UNITS_GIBIBYTE, "10.0", "10.0 GB"},
......@@ -56,8 +56,8 @@ TEST(BytesFormattingTest, FormatBytes) {
{~(1LL<<63), DATA_UNITS_GIBIBYTE, "8,589,934,592", "8,589,934,592 GB"},
{~(1LL<<63), DATA_UNITS_PEBIBYTE, "8,192", "8,192 PB"},
{99*1024 + 103, DATA_UNITS_KIBIBYTE, "99.1", "99.1 kB"},
{1024*1024 + 103, DATA_UNITS_KIBIBYTE, "1,024", "1,024 kB"},
{99*1024 + 103, DATA_UNITS_KIBIBYTE, "99.1", "99.1 KB"},
{1024*1024 + 103, DATA_UNITS_KIBIBYTE, "1,024", "1,024 KB"},
{1024*1024 + 205 * 1024, DATA_UNITS_MEBIBYTE, "1.2", "1.2 MB"},
{1024*1024*1024 + (927 * 1024*1024), DATA_UNITS_GIBIBYTE,
"1.9", "1.9 GB"},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment