kde5.eclass: install all translations when LINGUAS is undefined

This mirrors the behaviour of the gettext autotools macros.

Gentoo-bug: 581382

Signed-off-by: Johannes Huber <johu@gentoo.org>
This commit is contained in:
Michael Palimaka
2016-05-20 21:46:11 +02:00
committed by Johannes Huber
parent b1d31c25de
commit 548f4ee19c

View File

@@ -397,7 +397,7 @@ kde5_src_prepare() {
# enable only the requested translations
# when required
if [[ -d po ]] ; then
if [[ -d po && -v LINGUAS ]] ; then
pushd po > /dev/null || die
for lang in *; do
if [[ -d ${lang} ]] && ! has ${lang} ${LINGUAS} ; then