Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 7189076: Localize strings, speeds. (Closed)

Created:
9 years, 6 months ago by Avi (use Gerrit)
Modified:
9 years, 6 months ago
CC:
chromium-reviews, michaeln, cbentzel+watch_chromium.org, tbarzic+watch_chromium.org, brettw-cc_chromium.org, achuith+watch_chromium.org, darin-cc_chromium.org, jshin+watch_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr., davemoore+watch_chromium.org
Visibility:
Public.

Description

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.) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90092

Patch Set 1 #

Patch Set 2 : tweaking #

Total comments: 19

Patch Set 3 : with review feedback #

Patch Set 4 : typo #

Total comments: 12

Patch Set 5 : api cleanup #

Patch Set 6 : metric #

Patch Set 7 : fixes for jshin #

Patch Set 8 : copyright dates #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+556 lines, -275 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M base/i18n/number_formatting.h View 1 2 3 4 5 6 2 chunks +17 lines, -1 line 0 comments Download
M base/i18n/number_formatting.cc View 1 2 3 4 5 6 3 chunks +36 lines, -2 lines 2 comments Download
A base/i18n/number_formatting_unittest.cc View 1 2 3 4 5 6 1 chunk +92 lines, -0 lines 0 comments Download
M base/string_util.h View 1 1 chunk +5 lines, -25 lines 3 comments Download
M base/string_util.cc View 1 2 3 1 chunk +22 lines, -72 lines 0 comments Download
M base/string_util_unittest.cc View 2 chunks +18 lines, -50 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 4 3 chunks +5 lines, -12 lines 0 comments Download
M chrome/browser/diagnostics/recon_diagnostics.cc View 1 2 3 4 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/download/download_item_model.cc View 1 2 3 4 5 6 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/download/download_manager_unittest.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/download/download_util.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 2 3 4 5 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/cookie_details.mm View 1 2 3 4 5 6 7 7 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc View 1 2 3 4 6 chunks +8 lines, -20 lines 0 comments Download
M chrome/browser/ui/views/appcache_info_view.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/database_info_view.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/database_open_info_view.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/indexed_db_info_view.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/local_storage_info_view.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
chrome/browser/ui/webui/cookies_tree_model_util.cc View 1 2 3 4 6 chunks +9 lines, -26 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M ui/base/strings/app_strings.grd View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A ui/base/text/bytes_formatting.h View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
A ui/base/text/bytes_formatting.cc View 1 2 3 4 5 1 chunk +110 lines, -0 lines 0 comments Download
A ui/base/text/bytes_formatting_unittest.cc View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
M ui/ui_base.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ui_unittests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/appcache/view_appcache_internals_job.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Avi (use Gerrit)
WDYT?
9 years, 6 months ago (2011-06-20 23:27:48 UTC) #1
Evan Stade
+jshin overall patch looks great http://codereview.chromium.org/7189076/diff/2001/base/i18n/number_formatting.cc File base/i18n/number_formatting.cc (right): http://codereview.chromium.org/7189076/diff/2001/base/i18n/number_formatting.cc#newcode45 base/i18n/number_formatting.cc:45: g_number_format_int.Get().number_format.get(); this is the ...
9 years, 6 months ago (2011-06-21 03:18:41 UTC) #2
Avi (use Gerrit)
http://codereview.chromium.org/7189076/diff/2001/base/i18n/number_formatting.cc File base/i18n/number_formatting.cc (right): http://codereview.chromium.org/7189076/diff/2001/base/i18n/number_formatting.cc#newcode45 base/i18n/number_formatting.cc:45: g_number_format_int.Get().number_format.get(); On 2011/06/21 03:18:41, Evan Stade wrote: > this ...
9 years, 6 months ago (2011-06-21 14:30:19 UTC) #3
Evan Stade
http://codereview.chromium.org/7189076/diff/2001/ui/base/strings/app_strings.grd File ui/base/strings/app_strings.grd (right): http://codereview.chromium.org/7189076/diff/2001/ui/base/strings/app_strings.grd#newcode388 ui/base/strings/app_strings.grd:388: <ph name="QUANTITY">$1<ex>42.0</ex></ph> kB On 2011/06/21 14:30:19, Avi wrote: > ...
9 years, 6 months ago (2011-06-21 22:10:57 UTC) #4
Avi (use Gerrit)
http://codereview.chromium.org/7189076/diff/2001/ui/base/strings/app_strings.grd File ui/base/strings/app_strings.grd (right): http://codereview.chromium.org/7189076/diff/2001/ui/base/strings/app_strings.grd#newcode388 ui/base/strings/app_strings.grd:388: <ph name="QUANTITY">$1<ex>42.0</ex></ph> kB Some omit the space between the ...
9 years, 6 months ago (2011-06-21 22:20:07 UTC) #5
Evan Stade
LGTM after the change you're working on, although I still think jshin might have some ...
9 years, 6 months ago (2011-06-21 22:26:18 UTC) #6
Avi (use Gerrit)
ptal
9 years, 6 months ago (2011-06-21 23:39:16 UTC) #7
jungshik at Google
Looks good ! Thank you for the change. I have a few informational comments along ...
9 years, 6 months ago (2011-06-22 00:35:00 UTC) #8
Avi (use Gerrit)
http://codereview.chromium.org/7189076/diff/11001/base/i18n/number_formatting.h File base/i18n/number_formatting.h (right): http://codereview.chromium.org/7189076/diff/11001/base/i18n/number_formatting.h#newcode15 base/i18n/number_formatting.h:15: // Ex: FormatNumber(1234567) => "1,234,567" On 2011/06/22 00:35:01, Jungshik ...
9 years, 6 months ago (2011-06-22 16:48:24 UTC) #9
Avi (use Gerrit)
ptal
9 years, 6 months ago (2011-06-22 18:24:33 UTC) #10
Evan Stade
lgtm
9 years, 6 months ago (2011-06-22 18:42:20 UTC) #11
Avi (use Gerrit)
Mark: approval plz from base/ OWNER?
9 years, 6 months ago (2011-06-22 20:07:29 UTC) #12
Mark Mentovai
LGTM. I only reviewed the changes in base. http://codereview.chromium.org/7189076/diff/15031/base/i18n/number_formatting.cc File base/i18n/number_formatting.cc (right): http://codereview.chromium.org/7189076/diff/15031/base/i18n/number_formatting.cc#newcode41 base/i18n/number_formatting.cc:41: static ...
9 years, 6 months ago (2011-06-22 20:24:10 UTC) #13
Avi (use Gerrit)
http://codereview.chromium.org/7189076/diff/15031/base/i18n/number_formatting.cc File base/i18n/number_formatting.cc (right): http://codereview.chromium.org/7189076/diff/15031/base/i18n/number_formatting.cc#newcode41 base/i18n/number_formatting.cc:41: static On 2011/06/22 20:24:11, Mark Mentovai wrote: > Rather ...
9 years, 6 months ago (2011-06-22 20:27:37 UTC) #14
Mark Mentovai
http://codereview.chromium.org/7189076/diff/15031/base/string_util.h File base/string_util.h (right): http://codereview.chromium.org/7189076/diff/15031/base/string_util.h#newcode413 base/string_util.h:413: // FormatBytes instead; remove this. Avi wrote: > It's ...
9 years, 6 months ago (2011-06-22 20:29:22 UTC) #15
Avi (use Gerrit)
rdsmith: Approval from net/ OWNER plz?
9 years, 6 months ago (2011-06-22 20:33:19 UTC) #16
Evan Stade
I thought we decided it was OK to TBR owner approval for these kinds of ...
9 years, 6 months ago (2011-06-22 20:38:18 UTC) #17
Randy Smith (Not in Mondays)
9 years, 6 months ago (2011-06-22 20:38:35 UTC) #18
On 2011/06/22 20:33:19, Avi wrote:
> rdsmith: Approval from net/ OWNER plz?

Rubber-stamp LGTM based on approval from evan, who appears to be the last person
who touched that code (I don't know net_util.cc particularly).

Powered by Google App Engine
This is Rietveld 408576698