summaryrefslogtreecommitdiff
path: root/eclass/kde5.eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2019-04-28 22:50:13 +1000
committerMichael Palimaka <kensington@gentoo.org>2019-04-28 22:53:24 +1000
commit0957f99dcbfa6585b93828a9f3373601c3e71ca9 (patch)
tree5c7340ffb2da63df9b8a59b2a0ada35297e23785 /eclass/kde5.eclass
parent5abbf76f7eda87b8a8cdbb2d08a0965490a0804a (diff)
downloadkde-0957f99dcbfa6585b93828a9f3373601c3e71ca9.tar.gz
kde-0957f99dcbfa6585b93828a9f3373601c3e71ca9.tar.bz2
kde-0957f99dcbfa6585b93828a9f3373601c3e71ca9.zip
kde5.eclass: install linguas-related files unconditionally for kconfigwidgets
See https://api.kde.org/frameworks/kconfigwidgets/html/klanguagename_8cpp_source.html#l00040 for source reference. Reported-by: Andrius Štikonas <andrius@stikonas.eu> Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 14aa80ef272..40a146e33c0 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -497,7 +497,10 @@ kde5_src_prepare() {
fi
# enable only the requested translations when required
- if [[ -v LINGUAS ]] ; then
+ # always install unconditionally for kconfigwidgets - if you use language
+ # X as system language, and there is a combobox with language names, the
+ # translated language name for language Y is taken from /usr/share/locale/Y/kf5_entry.desktop
+ if [[ -v LINGUAS && ${PN} != kconfigwidgets ]] ; then
local po
for po in ${KDE_PO_DIRS}; do
if [[ -d ${po} ]] ; then