summaryrefslogtreecommitdiff
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 18:50:23 +0100
commit7ac5ee3546e15455c5ee306af234bb7fe8a29049 (patch)
treecf122102d5d713bbb32594c968a84d2d4ee24cc6 /i18nlangtag
parent6e527140e8a75a999db2a35208fb85ab3bb552a8 (diff)
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>
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 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))
{