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

Issue 7274001: Get Chrome About dialog 'official build' label to display properly. (Closed)

Created:
9 years, 6 months ago by Finnur
Modified:
9 years, 5 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews
Visibility:
Public.

Description

Fix Chrome About dialog unicode 'official build' label to display properly. We recently added a UTF8 encoded 'official build' localized string to the About dialog, but elsewhere in the file that string is treated as containing ASCII. This causes garbage to be displayed in ie. Russian locale. This affects Chromium builds only, since this is not done for Google Chrome builds. BUG=87370 TEST=Open Chromium in Russian locale. No garbage should been seen in the dialog (see screenshot in bug). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90776

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -18 lines) Patch
M chrome/browser/ui/views/about_chrome_view.h View 1 2 chunks +3 lines, -1 line 1 comment Download
M chrome/browser/ui/views/about_chrome_view.cc View 1 2 7 chunks +11 lines, -17 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Finnur
9 years, 6 months ago (2011-06-27 15:14:58 UTC) #1
Evan Martin
Shouldn't the offical build string be UTF-16 to begin with, if it contains Unicode? The ...
9 years, 6 months ago (2011-06-27 17:40:23 UTC) #2
Finnur
Fair enough. Made that change plus two others: 1) Moved an include to the .h ...
9 years, 5 months ago (2011-06-28 10:24:30 UTC) #3
Evan Martin
LGTM http://codereview.chromium.org/7274001/diff/5003/chrome/browser/ui/views/about_chrome_view.h File chrome/browser/ui/views/about_chrome_view.h (right): http://codereview.chromium.org/7274001/diff/5003/chrome/browser/ui/views/about_chrome_view.h#newcode141 chrome/browser/ui/views/about_chrome_view.h:141: // Additional information about the version (channel and ...
9 years, 5 months ago (2011-06-28 15:53:16 UTC) #4
Evan Martin
LGTM
9 years, 5 months ago (2011-06-28 15:53:17 UTC) #5
Finnur
9 years, 5 months ago (2011-06-28 15:57:06 UTC) #6
On 2011/06/28 15:53:16, Evan Martin wrote:
> LGTM
> 
>
http://codereview.chromium.org/7274001/diff/5003/chrome/browser/ui/views/abou...
> File chrome/browser/ui/views/about_chrome_view.h (right):
> 
>
http://codereview.chromium.org/7274001/diff/5003/chrome/browser/ui/views/abou...
> chrome/browser/ui/views/about_chrome_view.h:141: // Additional information
about
> the version (channel and build number).
> Can you note here that a translation of "Official Build" might be included in
> the build number?  I think not knowing this is why I (or someone else) made
this
> a string.

Sure!

Powered by Google App Engine
This is Rietveld 408576698