You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
28 lines
1.2 KiB
From 3f4885f3012132e915031461036a76e693489652 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
|
Date: Sun, 25 Oct 2020 20:39:50 +0000
|
|
Subject: [PATCH] rhbz#1891326 suggest package install of the most appropiate
|
|
pt langpack
|
|
|
|
Change-Id: I87ff1a941a3a5dc0c321440a9c286ae73c9d0384
|
|
---
|
|
svtools/source/misc/langhelp.cxx | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/svtools/source/misc/langhelp.cxx b/svtools/source/misc/langhelp.cxx
|
|
index e64a3b869076..acaf2c6e24f3 100644
|
|
--- a/svtools/source/misc/langhelp.cxx
|
|
+++ b/svtools/source/misc/langhelp.cxx
|
|
@@ -139,6 +139,8 @@ OUString getInstalledLocaleForSystemUILanguage(const css::uno::Sequence<OUString
|
|
aPackages.emplace_back("libreoffice-langpack-zh-Hans");
|
|
else if (MsLangId::isTraditionalChinese(eType))
|
|
aPackages.emplace_back("libreoffice-langpack-zh-Hant");
|
|
+ else if (install == "pt")
|
|
+ aPackages.emplace_back("libreoffice-langpack-pt-PT");
|
|
else
|
|
aPackages.emplace_back("libreoffice-langpack-" + install);
|
|
}
|
|
--
|
|
2.26.2
|
|
|