Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Issue 23013007: Avoid adding English to the blocked languages on non-English UI (Closed)

Created:
7 years, 4 months ago by hajimehoshi
Modified:
7 years, 4 months ago
Reviewers:
Takashi Toyoshima
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Avoid adding English to the blocked languages on non-English UI Because of crbug/36182, English is translated even though English exists in the Accept language list on non-English loccale. English is always listed in the list by default whichever the user locale is. So, when the blocked language list is created, English should not be included in the list on non-English locale. BUG=264155 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218477

Patch Set 1 #

Total comments: 13

Patch Set 2 : Modifying #

Total comments: 2

Patch Set 3 : (Rebasing) #

Patch Set 4 : Replace TEST_F with TEST #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -6 lines) Patch
M chrome/browser/translate/translate_prefs.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/translate/translate_prefs.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/translate/translate_prefs_unittest.cc View 1 2 3 2 chunks +56 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
hajimehoshi
Can you take a look? Thank you in advance.
7 years, 4 months ago (2013-08-19 08:01:19 UTC) #1
Takashi Toyoshima
https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_accept_languages.cc File chrome/browser/translate/translate_accept_languages.cc (right): https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_accept_languages.cc#newcode94 chrome/browser/translate/translate_accept_languages.cc:94: printf("ui_lang: %s\n", ui_lang.c_str()); ? https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_prefs.cc File chrome/browser/translate/translate_prefs.cc (right): https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_prefs.cc#newcode381 ...
7 years, 4 months ago (2013-08-19 12:53:46 UTC) #2
hajimehoshi
Thank you. PTAL https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_accept_languages.cc File chrome/browser/translate/translate_accept_languages.cc (right): https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_accept_languages.cc#newcode94 chrome/browser/translate/translate_accept_languages.cc:94: printf("ui_lang: %s\n", ui_lang.c_str()); Oops, sorry. On ...
7 years, 4 months ago (2013-08-20 01:31:24 UTC) #3
Takashi Toyoshima
https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_prefs_unittest.cc File chrome/browser/translate/translate_prefs_unittest.cc (right): https://codereview.chromium.org/23013007/diff/1/chrome/browser/translate/translate_prefs_unittest.cc#newcode34 chrome/browser/translate/translate_prefs_unittest.cc:34: std::string original_locale_; Basic principle is that all tests run ...
7 years, 4 months ago (2013-08-20 02:03:10 UTC) #4
hajimehoshi
Thank you! PTAL https://codereview.chromium.org/23013007/diff/7001/chrome/browser/translate/translate_prefs_unittest.cc File chrome/browser/translate/translate_prefs_unittest.cc (right): https://codereview.chromium.org/23013007/diff/7001/chrome/browser/translate/translate_prefs_unittest.cc#newcode14 chrome/browser/translate/translate_prefs_unittest.cc:14: class TranslatePrefsTest : public testing::Test { ...
7 years, 4 months ago (2013-08-20 03:31:31 UTC) #5
Takashi Toyoshima
lgtm
7 years, 4 months ago (2013-08-20 03:51:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/23013007/14002
7 years, 4 months ago (2013-08-20 06:22:18 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-20 14:06:02 UTC) #8
Message was sent while issue was closed.
Change committed as 218477

Powered by Google App Engine
This is Rietveld 408576698