aboutsummaryrefslogtreecommitdiff
path: root/update-po.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-11-12 14:55:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-11-12 14:55:43 +0100
commita146339c86c592b4f4aaba69386b7772fb130abf (patch)
tree94ec0de4970c22af0802e60b9faa5746493ff5b7 /update-po.sh
parent9833b92f27b2639cd3a82d1abe880969d79680b7 (diff)
downloadayatana-indicator-notifications-a146339c86c592b4f4aaba69386b7772fb130abf.tar.gz
ayatana-indicator-notifications-a146339c86c592b4f4aaba69386b7772fb130abf.tar.bz2
ayatana-indicator-notifications-a146339c86c592b4f4aaba69386b7772fb130abf.zip
locale: Update translation files after rewrite to indicator-ng.h System Indicator style.
Diffstat (limited to 'update-po.sh')
-rwxr-xr-xupdate-po.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-po.sh b/update-po.sh
index f0081bb..59ad5c4 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -16,7 +16,7 @@ set -x
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
-GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//')
+GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/')
cp po/${GETTEXT_DOMAIN}.pot po/${GETTEXT_DOMAIN}.pot~