From da5d3de38a4d5ee6eea3c13e642b37efa47e9661 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Mon, 2 Apr 2018 16:59:05 +0200 Subject: Adjust po makefile and po-update to manage isodumper.policy and usb-formater.desktop --- po/Makefile | 66 ++---------------------------------------------------- tools/po-update.sh | 2 ++ 2 files changed, 4 insertions(+), 64 deletions(-) diff --git a/po/Makefile b/po/Makefile index 3732884..b558bf7 100644 --- a/po/Makefile +++ b/po/Makefile @@ -31,71 +31,9 @@ clean: formatting: all # formatting all isodumper.po files - #(just add to the list the available language or comment the unavailable language) - cd ../tools && sh po-update.sh ar - cd ../tools && sh po-update.sh ast - cd ../tools && sh po-update.sh ca - cd ../tools && sh po-update.sh cs - cd ../tools && sh po-update.sh da - cd ../tools && sh po-update.sh de - cd ../tools && sh po-update.sh el - cd ../tools && sh po-update.sh en_GB - cd ../tools && sh po-update.sh es - cd ../tools && sh po-update.sh et - cd ../tools && sh po-update.sh eu - cd ../tools && sh po-update.sh fr - cd ../tools && sh po-update.sh hr - cd ../tools && sh po-update.sh hu - cd ../tools && sh po-update.sh id - cd ../tools && sh po-update.sh it - cd ../tools && sh po-update.sh ja - cd ../tools && sh po-update.sh nl - cd ../tools && sh po-update.sh pl - cd ../tools && sh po-update.sh pt - cd ../tools && sh po-update.sh pt_BR - cd ../tools && sh po-update.sh ro - cd ../tools && sh po-update.sh ru - cd ../tools && sh po-update.sh sk - cd ../tools && sh po-update.sh sl - cd ../tools && sh po-update.sh sq - cd ../tools && sh po-update.sh sv - cd ../tools && sh po-update.sh tr - cd ../tools && sh po-update.sh uk - cd ../tools && sh po-update.sh zh_CN - cd ../tools && sh po-update.sh zh_TW + cd ../tools && sh po-update.sh compile : all # compile all isodumper.mo files - #(just add to the list the available language or comment the unavailable language) - cd ../tools && sh po-compile.sh ar - cd ../tools && sh po-compile.sh ast - cd ../tools && sh po-compile.sh ca - cd ../tools && sh po-compile.sh cs - cd ../tools && sh po-compile.sh da - cd ../tools && sh po-compile.sh de - cd ../tools && sh po-compile.sh el - cd ../tools && sh po-compile.sh en_GB - cd ../tools && sh po-compile.sh es - cd ../tools && sh po-compile.sh et - cd ../tools && sh po-compile.sh eu - cd ../tools && sh po-compile.sh fr - cd ../tools && sh po-compile.sh hr - cd ../tools && sh po-compile.sh hu - cd ../tools && sh po-compile.sh id - cd ../tools && sh po-compile.sh it - cd ../tools && sh po-compile.sh ja - cd ../tools && sh po-compile.sh nl - cd ../tools && sh po-compile.sh pl - cd ../tools && sh po-compile.sh pt - cd ../tools && sh po-compile.sh pt_BR - cd ../tools && sh po-compile.sh ro - cd ../tools && sh po-compile.sh ru - cd ../tools && sh po-compile.sh sk - cd ../tools && sh po-compile.sh sl - cd ../tools && sh po-compile.sh sq - cd ../tools && sh po-compile.sh sv - cd ../tools && sh po-compile.sh tr - cd ../tools && sh po-compile.sh uk - cd ../tools && sh po-compile.sh zh_CN - cd ../tools && sh po-compile.sh zh_TW + cd ../tools && sh po-compile.sh diff --git a/tools/po-update.sh b/tools/po-update.sh index c2348b9..9d21979 100755 --- a/tools/po-update.sh +++ b/tools/po-update.sh @@ -38,10 +38,12 @@ POT_FILE="$POT_DIR/$DOMAIN.pot" /bin/sed --in-place --expression="s/charset=CHARSET/charset=UTF-8/" "$POT_FILE" intltool-merge --desktop-style po share/applications/isodumper.desktop.in share/applications/isodumper.desktop +intltool-merge --desktop-style po polkit/org.mageia.isodumper.policy.in polkit/org.mageia.isodumper.policy intltool-merge --desktop-style po share/applications/format-usb.desktop.in share/applications/format-usb.desktop rm -f polkit/org.mageia.isodumper.policy.in.h rm -f share/applications/isodumper.desktop.in.h +rm -f share/applications/format-usb.desktop.in.h update_po() { local LL_CC="$1" -- cgit v1.2.1