From 423f4b8bc9228e24b6380646edae5daa237cd0e0 Mon Sep 17 00:00:00 2001 From: Alexander Potashev Date: Sun, 24 Feb 2019 16:36:24 +0300 Subject: [PATCH] i18n: Do not refer to parent directory from Messages.sh Summary: This will make file references in .po/.pot files clearer for translators. Test Plan: none Reviewers: mvourlakos Reviewed By: mvourlakos Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D19274 --- Messages.sh | 4 ++++ app/Messages.sh | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 Messages.sh delete mode 100644 app/Messages.sh diff --git a/Messages.sh b/Messages.sh new file mode 100644 index 000000000..ae763372a --- /dev/null +++ b/Messages.sh @@ -0,0 +1,4 @@ +#! /usr/bin/env bash +$EXTRACTRC `find app -name \*.rc -o -name \*.ui` >> rc.cpp + +$XGETTEXT `find app shell rc.cpp -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/latte-dock.pot diff --git a/app/Messages.sh b/app/Messages.sh deleted file mode 100644 index c0b8c5556..000000000 --- a/app/Messages.sh +++ /dev/null @@ -1,4 +0,0 @@ -#! /usr/bin/env bash -$EXTRACTRC `find . -name \*.rc -o -name \*.ui` >> rc.cpp - -$XGETTEXT `find . ../shell -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/latte-dock.pot