[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - svtools/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 27 09:31:50 UTC 2020


 svtools/source/misc/langhelp.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 36f307d8472fdeb19d03746794ebb2b8fcec907f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Oct 25 20:39:50 2020 +0000
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Tue Oct 27 10:31:17 2020 +0100

    rhbz#1891326 suggest package install of the most appropiate pt langpack
    
    Change-Id: I87ff1a941a3a5dc0c321440a9c286ae73c9d0384
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104830
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>

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);
                 }


More information about the Libreoffice-commits mailing list