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

New commits:
commit 4b0b5adf22ee479258a2625d6d12d81160f247d0
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 21:14: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>
    (cherry picked from commit 7ac5ee3546e15455c5ee306af234bb7fe8a29049)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128148

diff --git a/i18nlangtag/source/isolang/mslangid.cxx 
b/i18nlangtag/source/isolang/mslangid.cxx
index 661bebcb6956..83d21b596de9 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