rhbz#1891326 suggest package install of the most appropiate pt langpack
Change-Id: I87ff1a941a3a5dc0c321440a9c286ae73c9d0384 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104783 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
f91b7c2ec4
commit
c575569f20
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue