Chromium Code Reviews
DescriptionMake the spellcheck-context-menu generation code more robust/future-proof (fil and fil-PH will match each other).
Currently, en-AU, de-CH, fr-CA do not match any spellcheck language. With
this change, they will match en-US, de-DE, fr-FR, respectively unless
there's an exact (more specific) match. Matching en-{AU,NZ,ZA} with en-US
is not ideal.
BUG=5251
TEST=Add 'fr-CA' (but NOT fr or fr-FR) to the accept-language list and see if 'fr-FR' comes up
in the list of spell-check languages in the context menu of a textarea. Add 'de' (but not de-DE) to a-l list and see if 'de-DE' comes up in the list of spell-check languages in the context menu.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6562
Patch Set 1 #Patch Set 2 : '' #Messages
Total messages: 2 (0 generated)
|