summaryrefslogtreecommitdiff
path: root/eclass/kde4-functions.eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2008-12-24 17:06:52 +0100
committerAlexey Shvetsov <alexxy@gentoo.ru>2008-12-26 21:11:58 +0300
commit4dde57f32139b166f4630417da73be99090ae56c (patch)
treed10ae475dd1d50013a81062b07351d2aefd4d45d /eclass/kde4-functions.eclass
parentda350660f70065c3cca7c78144c76d77815ae379 (diff)
downloadkde-4dde57f32139b166f4630417da73be99090ae56c.tar.gz
kde-4dde57f32139b166f4630417da73be99090ae56c.tar.bz2
kde-4dde57f32139b166f4630417da73be99090ae56c.zip
Nice colors about enabling linguas.
Diffstat (limited to 'eclass/kde4-functions.eclass')
-rw-r--r--eclass/kde4-functions.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
index 2cd098069bc..3de79980df8 100644
--- a/eclass/kde4-functions.eclass
+++ b/eclass/kde4-functions.eclass
@@ -113,6 +113,7 @@ enable_selected_linguas() {
done
comment_all_add_subdirectory "${KDE_LINGUAS_DIR:-${S}/po}"
for lingua in ${LINGUAS}; do
+ ebegin "Enabling LANGUAGE: ${lingua}"
if [ -d "${S}"/po/"${lingua}" ]; then
sed -e "/add_subdirectory([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \
-e "/ADD_SUBDIRECTORY([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \
@@ -121,6 +122,7 @@ enable_selected_linguas() {
if [ -e "${S}"/po/"${lingua}".po.old ]; then
mv "${S}"/po/"${lingua}".po.old "${S}"/po/"${lingua}".po
fi
+ eend $?
done
}