DescriptionTranslate: Bug fix: need to normalize the language code for Translate UI
Take over this CL from hajimehoshi@chromium.org, and just rebase the CL
to trunk.
Original description by hajimehoshi@ follows;
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
TBR=hajimehoshi@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275786
Patch Set 1 #
Total comments: 1
Messages
Total messages: 10 (0 generated)
|