commit: fix serbian string set loading

From: Jordi Mas (jmas@softcatala.org)
Date: Thu Sep 11 2003 - 10:51:42 EDT

  • Next message: Dom Lachowicz: "Re: commit: fix serbian string set loading"

    Currently the name of the serbian string set is "sr-SR.strings" but we have in
    the locale table "sr". This inconsistence was causing the Serbian string file
    not been found and loaded.

    Attached the proposed patch.

    Best Regards,

    -- 
    

    Jordi Mas i Hernāndez - Abiword developer - http://www.abisource.com jmas@softcatala.org - Softcatalā member - http://www.softcatala.org - Personal Homepage http://www.softcatala.org/~jmas

    Index: src/af/util/xp/ut_Language.cpp
    ===================================================================
    RCS file: /cvsroot/abi/src/af/util/xp/ut_Language.cpp,v
    retrieving revision 1.41
    diff -u -r1.41 ut_Language.cpp
    --- src/af/util/xp/ut_Language.cpp 8 Jun 2003 13:21:36 -0000 1.41
    +++ src/af/util/xp/ut_Language.cpp 11 Sep 2003 14:57:10 -0000
    @@ -113,7 +113,7 @@
             {"sk-SK", NULL, XAP_STRING_ID_LANG_SK_SK, UTLANG_LTR},
             {"sl-SI", NULL, XAP_STRING_ID_LANG_SL_SI, UTLANG_LTR},
             {"sq-AL", NULL, XAP_STRING_ID_LANG_SQ_AL, UTLANG_LTR},
    - {"sr", NULL, XAP_STRING_ID_LANG_SR, UTLANG_LTR}, // Why not sr-YU?
    + {"sr-SR", NULL, XAP_STRING_ID_LANG_SR, UTLANG_LTR}, // Why not sr-YU?
             {"sv-SE", NULL, XAP_STRING_ID_LANG_SV_SE, UTLANG_LTR},
             {"th-TH", NULL, XAP_STRING_ID_LANG_TH_TH, UTLANG_LTR},
             {"tr-TR", NULL, XAP_STRING_ID_LANG_TR_TR, UTLANG_LTR}, // UTLANG_RTL for Ottoman Turkish



    This archive was generated by hypermail 2.1.4 : Thu Sep 11 2003 - 11:06:53 EDT