summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 20:40:22 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 20:40:22 +0000
commit7a3b263af6356885628add7a8843a40dbee5b8ab (patch)
treeeff6140c44d29b6904b90366df65161364ea555f /net
parentefaba4815ff6786082583393ad06f8c22ef11fa0 (diff)
downloadchromium_src-7a3b263af6356885628add7a8843a40dbee5b8ab.zip
chromium_src-7a3b263af6356885628add7a8843a40dbee5b8ab.tar.gz
chromium_src-7a3b263af6356885628add7a8843a40dbee5b8ab.tar.bz2
Localize strings, speeds.
BUG=86527 TEST=run in non-English. For European languages, during a download the decimal separators should be commas (e.g. "0,0 MB"). (The speeds are in strings files and might take a little time to run through the translation machinery.) Review URL: http://codereview.chromium.org/7189076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/net_util.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 6b706d1..d2b742b 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -1225,10 +1225,7 @@ std::string GetDirectoryListingEntry(const string16& name,
result.append(",0,");
}
- base::JsonDoubleQuote(
- FormatBytes(size, GetByteDisplayUnits(size), true),
- true,
- &result);
+ base::JsonDoubleQuote(FormatBytesUnlocalized(size), true, &result);
result.append(",");