DescriptionAdd NormalizeLanguageCode() to normalize language codes.
The normalization is needed to avoid duplicates in the language table in
the language config diloag, as well as the combobox in the "add language"
dialog, when engines return "jpn" and "ja" as language codes.
Along the way, fixed typos in function names.
TEST=added unit tests, and manually
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43705
Patch Set 1 #
Total comments: 2
Patch Set 2 : add a comment #
Messages
Total messages: 4 (0 generated)
|