i18nlangtag/source/isolang/mslangid.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7ac5ee3546e15455c5ee306af234bb7fe8a29049
Author:     Hossein <hoss...@libreoffice.org>
AuthorDate: Sun Jan 9 16:58:29 2022 +0100
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Sun Jan 9 18:50:23 2022 +0100

    tdf#146084 No hyphenation warning for Pashto
    
    Pashto language, which is spoken in Afghanistan and Pakistan uses the
    Arabic script, and does not use hyphenation.
    
    Change-Id: I87a1235b183055b0961ab27f45281be7aa9965c3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128191
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/i18nlangtag/source/isolang/mslangid.cxx 
b/i18nlangtag/source/isolang/mslangid.cxx
index 0143ea228596..34c55b66e261 100644
--- a/i18nlangtag/source/isolang/mslangid.cxx
+++ b/i18nlangtag/source/isolang/mslangid.cxx
@@ -179,6 +179,7 @@ bool MsLangId::usesHyphenation(LanguageType nLang)
             primary(LANGUAGE_SOMALI),
             primary(LANGUAGE_SWAHILI),
             primary(LANGUAGE_URDU_PAKISTAN),
+            primary(LANGUAGE_PASHTO),
             primary(LANGUAGE_VIETNAMESE))
         || isCJK(nLang))
     {

Reply via email to