summaryrefslogtreecommitdiffstats
path: root/i18nlangtag
diff options
context:
space:
mode:
authorHossein <hossein@libreoffice.org>2022-01-09 16:58:29 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-01-09 21:14:23 +0100
commit4b0b5adf22ee479258a2625d6d12d81160f247d0 (patch)
tree3acd3d2b79d676d744fcd220ccf12c309ce0fcbc /i18nlangtag
parenttdf#146641 allocations attempted while hidden are discarded by gtk (diff)
downloadcore-4b0b5adf22ee479258a2625d6d12d81160f247d0.tar.gz
core-4b0b5adf22ee479258a2625d6d12d81160f247d0.zip
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 <fitojb@ubuntu.com> (cherry picked from commit 7ac5ee3546e15455c5ee306af234bb7fe8a29049) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128148
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/isolang/mslangid.cxx1
1 files changed, 1 insertions, 0 deletions
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))
{