summaryrefslogtreecommitdiff
path: root/i18nlangtag/qa
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-01-22 22:30:39 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-04 16:38:59 +0000
commit9c9876c8b63fb47814e05141c74a4fc244cfa56c (patch)
treeec1cf78510935857807b9c706a682e4ab8a1215c /i18nlangtag/qa
parent939941d63493a38bb10c72ebf7084b636458459a (diff)
tdf#97315 forward compatibility for [eu-ES] mapping to [eu]
Commit 72c5e230f9cda8e18f63f7bbc6567487b4c5a5e0 maps [eu] to [eu-ES] for 5.2 (cherry-picked to 5.1), enable 5.0.5 to read that but still save [eu]. Change-Id: I2aa82023a1ffb411c034beceb0bc999885adb026 Reviewed-on: https://gerrit.libreoffice.org/21727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'i18nlangtag/qa')
-rw-r--r--i18nlangtag/qa/cppunit/test_languagetag.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx
index b76547c426a6..f13863c4bc09 100644
--- a/i18nlangtag/qa/cppunit/test_languagetag.cxx
+++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx
@@ -665,6 +665,7 @@ static bool checkMapping( const OUString& rStr1, const OUString& rStr2 )
if (rStr1 == "ku-SY" ) return rStr2 == "kmr-Latn-SY";
if (rStr1 == "ku-IQ" ) return rStr2 == "ckb-IQ";
if (rStr1 == "ku-IR" ) return rStr2 == "ckb-IR";
+ if (rStr1 == "eu-ES" ) return rStr2 == "eu";
return rStr1 == rStr2;
}