From d1b534df5aa6f2f98883177b955e6c22e9d8ff49 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 21 Feb 2017 15:55:17 +0100 Subject: SDDM: compile the dutch translation --- kde/patch/sddm-qt5.patch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kde/patch/sddm-qt5.patch b/kde/patch/sddm-qt5.patch index 23c3cc4..8b2df3a 100644 --- a/kde/patch/sddm-qt5.patch +++ b/kde/patch/sddm-qt5.patch @@ -17,3 +17,9 @@ cat $CWD//patch/sddm-qt5/sddm_avatars.patch | patch -p1 --verbose || { touch ${S # Fix a compilation error on passwd backend: # (fixed in sddm-0.12.0). #cat $CWD/patch/sddm-qt5/sddm_qstring.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + +# Add the dutch translation: +if ! grep -q nl.ts data/translations/CMakeLists.txt ; then + sed -e '/set(TRANSLATION_FILES/s/TRANSLATION_FILES/&\n nl.ts/' \ + -i data/translations/CMakeLists.txt +fi -- cgit v1.2.3