summaryrefslogtreecommitdiff
path: root/i18nlangtag/qa/cppunit
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-10-25 20:24:46 +0200
committerEike Rathke <erack@redhat.com>2013-10-25 20:27:03 +0200
commit116a888b43e4df35a2ef1a0e272182722b75d11c (patch)
tree989fc9e0a54105ec8300167bfddd7443559985b6 /i18nlangtag/qa/cppunit
parentaaba61ba1ff30956b791836cf05d6bd511f26fa2 (diff)
override 'yi-Hebr-*' with 'yi-*' as Hebr is suppress-script
Change-Id: Iaae25a7d517404fc9c8186fd1006f9a4af82f584
Diffstat (limited to 'i18nlangtag/qa/cppunit')
-rw-r--r--i18nlangtag/qa/cppunit/test_languagetag.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx
index fd6fe43bcb8c..0d6f1304b1f8 100644
--- a/i18nlangtag/qa/cppunit/test_languagetag.cxx
+++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx
@@ -604,7 +604,7 @@ static bool checkMapping( const OUString rStr1, const OUString& rStr2 )
if (rStr1 == "qu-EC" ) return rStr2 == "quz-EC";
if (rStr1 == "qu-PE" ) return rStr2 == "quz-PE";
if (rStr1 == "ff-NG" ) return rStr2 == "fuv-NG";
- if (rStr1 == "ji-IL" ) return rStr2 == "yi-Hebr-IL";
+ if (rStr1 == "ji-IL" ) return rStr2 == "yi-IL";
if (rStr1 == "iu-CA" ) return rStr2 == "iu-Latn-CA";
if (rStr1 == "iu" ) return rStr2 == "iu-Latn";
if (rStr1 == "gbz-AF" ) return rStr2 == "prs-AF";
@@ -621,6 +621,8 @@ static bool checkMapping( const OUString rStr1, const OUString& rStr2 )
if (rStr1 == "sr-Cyrl-BA" ) return rStr2 == "sr-BA";
if (rStr1 == "sr-Cyrl-CS" ) return rStr2 == "sr-CS";
if (rStr1 == "sr-Cyrl" ) return rStr2 == "sr";
+ if (rStr1 == "yi-Hebr-US" ) return rStr2 == "yi-US";
+ if (rStr1 == "yi-Hebr-IL" ) return rStr2 == "yi-IL";
return rStr1 == rStr2;
}