Commit 832fd328 authored by Tony Mak's avatar Tony Mak
Browse files

Import LangID fix and filter out "und" result

We did not handle "und" and thought that und is a foreign language
to users as it does not match any of the system languages. Though "und" is
a valid BCP47 tag, but most clients are not aware of this and thus not
handling this. So, filtering out "und" from the result. An empty list
result should effectively mean "und".

Test: No translation action is shown when selecting
     DE19 1234 1234 1234 1234 12  (with a new model file)

Test: Translation action is shown when selecting some foreign text.
      (with a new model file)

BUG: 140542425

Merged-In: I0e1aee3ea6b32b1d06d8ef638091fc2ac3d57763

Change-Id: Ic89e53b64553c02c5dc6fc710e14289c8a692674
parent 32f4be9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment