Don't let the last translation act as a default
Change-Id: Ia75743ad23ce651c9aab392098686d1978b49fe2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193629 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195194 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
committed by
Caolán McNamara
parent
06b20325c6
commit
4147d2f934
@@ -545,7 +545,9 @@ namespace {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (aKeyString.isEmpty())
|
||||
if (aLocale.isEmpty())
|
||||
; // Do nothing, we don't have a matching translation
|
||||
else if (aKeyString.isEmpty())
|
||||
aKeyString = aStr;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user