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

Issue 317623003: Translate: Bug fix: need to normalize the language code for Translate UI (Closed)

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

Description

Translate: Bug fix: need to normalize the language code for Translate UI Before passing the language code to Translate UI, this must be normalized (like 'hi-IN' -> 'hi'). I mistakenly droped this process when moving GetTranslateLanguages from translate_bubble_view.cc to translate_tab_helper.cc (https://codereview.chromium.org/203223002) :-( BUG=380137 R=toyoshim@chromium.org

Patch Set 1 #

Total comments: 2

Patch Set 2 : toyoshim's review #

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

Messages

Total messages: 17 (0 generated)
hajimehoshi
PTAL
6 years, 6 months ago (2014-06-04 08:01:17 UTC) #1
hajimehoshi
PTAL
6 years, 6 months ago (2014-06-04 08:01:17 UTC) #2
Takashi Toyoshima
lgtm https://codereview.chromium.org/317623003/diff/1/chrome/browser/translate/translate_tab_helper.cc File chrome/browser/translate/translate_tab_helper.cc (right): https://codereview.chromium.org/317623003/diff/1/chrome/browser/translate/translate_tab_helper.cc#newcode126 chrome/browser/translate/translate_tab_helper.cc:126: *source = TranslateDownloadManager::GetLanguageCode(*source); Optional suggestion. If you want ...
6 years, 6 months ago (2014-06-04 20:39:33 UTC) #3
hajimehoshi
Thanks! https://codereview.chromium.org/317623003/diff/1/chrome/browser/translate/translate_tab_helper.cc File chrome/browser/translate/translate_tab_helper.cc (right): https://codereview.chromium.org/317623003/diff/1/chrome/browser/translate/translate_tab_helper.cc#newcode126 chrome/browser/translate/translate_tab_helper.cc:126: *source = TranslateDownloadManager::GetLanguageCode(*source); On 2014/06/04 20:39:33, Takashi Toyoshima ...
6 years, 6 months ago (2014-06-05 08:42:53 UTC) #4
hajimehoshi
The CQ bit was checked by hajimehoshi@chromium.org
6 years, 6 months ago (2014-06-05 08:42:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hajimehoshi@chromium.org/317623003/20001
6 years, 6 months ago (2014-06-05 08:44:23 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 09:16:52 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 09:19:45 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/10958) linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/31641) linux_chromium_gn_rel ...
6 years, 6 months ago (2014-06-05 09:19:46 UTC) #9
hajimehoshi
The CQ bit was checked by hajimehoshi@chromium.org
6 years, 6 months ago (2014-06-05 11:03:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hajimehoshi@chromium.org/317623003/20001
6 years, 6 months ago (2014-06-05 11:05:14 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 11:30:18 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 11:32:54 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/10995) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/71842) linux_chromium_chromeos_rel ...
6 years, 6 months ago (2014-06-05 11:32:55 UTC) #14
hajimehoshi
toyoshim: I'm ooo until the end of the next week, so I can't treat this ...
6 years, 6 months ago (2014-06-06 22:23:30 UTC) #15
Takashi Toyoshima
OK. I take over this CL and land it as https://codereview.chromium.org/322733002/. translate_tab_helper.cc was renamed to ...
6 years, 6 months ago (2014-06-09 05:21:41 UTC) #16
hajimehoshi
6 years, 6 months ago (2014-06-10 22:32:47 UTC) #17
Thank you!


On Mon, Jun 9, 2014 at 7:21 AM, <toyoshim@chromium.org> wrote:

> OK.
> I take over this CL and land it as https://codereview.chromium.
> org/322733002/.
> translate_tab_helper.cc was renamed to chrome_translate_client.cc in trunk.
>
> https://codereview.chromium.org/317623003/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698