mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Johannes Huber
parent
b1d31c25de
commit
548f4ee19c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user