[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - download.lst i18nlangtag/qa

Eike Rathke erack at redhat.com
Thu Jul 9 15:13:40 PDT 2015


 download.lst                                |    4 ++--
 i18nlangtag/qa/cppunit/test_languagetag.cxx |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 1fb6d2664b878d2dc18922345cb90bf048d0c11a
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jul 9 23:30:09 2015 +0200

    update to language-subtag-registry as of 2015-06-08
    
    (cherry picked from commit 712c4c6e85fcf0c5486f247aafa9af511212278e)
    
    fix langtag test with liblangtag 0.5.7
    
    (cherry picked from commit b43fde69caf456585004b3e1da5161d76eadf057)
    
    c8639daa5a32cf98fa17903424b00916cb6d8c6f
    
    Change-Id: I05ad85ea8d852ef2531db76fa6a79aa068c1699c
    Reviewed-on: https://gerrit.libreoffice.org/16904
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/download.lst b/download.lst
index ce32fa2..ac2c3d4 100644
--- a/download.lst
+++ b/download.lst
@@ -82,8 +82,8 @@ export JPEG_MD5SUM := 3353992aecaee1805ef4109aadd433e7
 export JPEG_TARBALL := jpegsrc.v9a.tar.gz
 export JPEG_TURBO_MD5SUM := 2c3a68129dac443a72815ff5bb374b05
 export JPEG_TURBO_TARBALL := libjpeg-turbo-1.3.1.tar.gz
-export LANGTAGREG_MD5SUM := 0f2677ec23bb43ddc7355d1b4cc8ed45
-export LANGTAGREG_TARBALL := language-subtag-registry-2014-12-03.tar.bz2
+export LANGTAGREG_MD5SUM := d431bd8a70455be1fa8523fa633c005b
+export LANGTAGREG_TARBALL := language-subtag-registry-2015-06-08.tar.bz2
 export LANGUAGETOOL_TARBALL := b63e6340a02ff1cacfeadb2c42286161-JLanguageTool-1.7.0.tar.bz2
 export LCMS2_MD5SUM := f4c08d38ceade4a664ebff7228910a33
 export LCMS2_TARBALL := lcms2-2.6.tar.gz
diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx
index 81ec2df..b76547c 100644
--- a/i18nlangtag/qa/cppunit/test_languagetag.cxx
+++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx
@@ -601,7 +601,10 @@ void TestLanguageTag::testAllTags()
         CPPUNIT_ASSERT( LanguageTag::isValidBcp47( "de-Latn-DE", &aCanonicalized) && aCanonicalized == "de-DE" );
         /* TODO: at least some (those we know) grandfathered tags should be
          * recognized by the replacement code. */
-        CPPUNIT_ASSERT( LanguageTag::isValidBcp47( "en-GB-oed", &aCanonicalized) && aCanonicalized == "en-GB-oed" );
+        CPPUNIT_ASSERT( LanguageTag::isValidBcp47( "en-GB-oed", &aCanonicalized) );
+        // en-GB-oed has become deprecated in updated language-subtag-registry database
+        // (liblangtag 0.5.7)
+        CPPUNIT_ASSERT( ( aCanonicalized == "en-GB-oxendict" ) || ( aCanonicalized == "en-GB-oed" ) );
 #else
         CPPUNIT_ASSERT( LanguageTag::isValidBcp47( "de-Latn-DE", &aCanonicalized) && aCanonicalized == "de-Latn-DE" );
 #endif


More information about the Libreoffice-commits mailing list