Related: rhbz#968892 discard impossible languages for oriya script fallback
Change-Id: I2fa1a127fbd2f905a89f0c30898ad56099fa8df1
This commit is contained in:
parent
830cc95abb
commit
0e89a49f67
@ -860,19 +860,27 @@ namespace
|
|||||||
OUString sLang = rLangTag.getLanguage();
|
OUString sLang = rLangTag.getLanguage();
|
||||||
switch (eScript)
|
switch (eScript)
|
||||||
{
|
{
|
||||||
case USCRIPT_TELUGU:
|
//http://en.wiktionary.org/wiki/Category:Oriya_script_languages
|
||||||
bIsImpossible = sLang != "te";
|
case USCRIPT_ORIYA:
|
||||||
|
bIsImpossible =
|
||||||
|
sLang != "or" &&
|
||||||
|
sLang != "kxv";
|
||||||
break;
|
break;
|
||||||
|
//http://en.wiktionary.org/wiki/Category:Telugu_script_languages
|
||||||
|
case USCRIPT_TELUGU:
|
||||||
|
bIsImpossible =
|
||||||
|
sLang != "te" &&
|
||||||
|
sLang != "gon" &&
|
||||||
|
sLang != "kfc";
|
||||||
|
break;
|
||||||
|
//http://en.wiktionary.org/wiki/Category:Bengali_script_languages
|
||||||
case USCRIPT_BENGALI:
|
case USCRIPT_BENGALI:
|
||||||
bIsImpossible = sLang != "bn" &&
|
bIsImpossible =
|
||||||
sLang != "as" && sLang != "mkb" &&
|
sLang != "bn" &&
|
||||||
sLang != "kfv" && sLang != "ccp" &&
|
sLang != "as" &&
|
||||||
sLang != "tnv" && sLang != "ctg" &&
|
sLang != "bpy" &&
|
||||||
sLang != "haj" && sLang != "ksy" &&
|
sLang != "ctg" &&
|
||||||
sLang != "rkt" && sLang != "rjs" &&
|
sLang != "sa";
|
||||||
sLang != "rhg" && sLang != "syl" &&
|
|
||||||
sLang != "kyv" && sLang != "zrg" &&
|
|
||||||
sLang != "nhh";
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user