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

Issue 25212002: Bug fix: Translate: CLD2 imcompatibility (Closed)

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

Description

Bug fix: Translate: CLD2 imcompatibility CLD2 returns zh-Hant insteaad of zh-TW, but this is an incompatible behavior. I fixed it by simply converting it in Chromium. Some other language codes than zh-TW/Hant are also changed, but they doesn't affect the Translate feature. BUG=301360 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226449

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comments #

Patch Set 3 : (rebasing) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M chrome/common/translate/language_detection_util.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
hajimehoshi
Can you take a look? Thank you in advance.
7 years, 2 months ago (2013-09-30 06:00:07 UTC) #1
Takashi Toyoshima
https://codereview.chromium.org/25212002/diff/1/chrome/common/translate/language_detection_util.cc File chrome/common/translate/language_detection_util.cc (right): https://codereview.chromium.org/25212002/diff/1/chrome/common/translate/language_detection_util.cc#newcode158 chrome/common/translate/language_detection_util.cc:158: language = "zh-TW"; Do you have any reason to ...
7 years, 2 months ago (2013-10-01 06:20:17 UTC) #2
hajimehoshi
Thank you! https://codereview.chromium.org/25212002/diff/1/chrome/common/translate/language_detection_util.cc File chrome/common/translate/language_detection_util.cc (right): https://codereview.chromium.org/25212002/diff/1/chrome/common/translate/language_detection_util.cc#newcode158 chrome/common/translate/language_detection_util.cc:158: language = "zh-TW"; On 2013/10/01 06:20:17, Takashi ...
7 years, 2 months ago (2013-10-02 01:13:25 UTC) #3
Takashi Toyoshima
lgtm
7 years, 2 months ago (2013-10-02 04:25:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hajimehoshi@chromium.org/25212002/10001
7 years, 2 months ago (2013-10-02 04:27:27 UTC) #5
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 10:53:13 UTC) #6
Message was sent while issue was closed.
Change committed as 226449

Powered by Google App Engine
This is Rietveld 408576698