diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-03 07:25:37 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-03 07:25:37 +0200 |
commit | a1c05d93bbb3c1bdb0c0fed9d7110804037cfd55 (patch) | |
tree | cb97ed3768912934cfc0e817beca620200d91993 /resources/locale/gen-pot.sh | |
parent | 5478fe2ceb86715f4ab9a51eb97c517465febfa6 (diff) |
Imported Upstream version 0.6.2upstream/0.6.2
Diffstat (limited to 'resources/locale/gen-pot.sh')
-rwxr-xr-x | resources/locale/gen-pot.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/resources/locale/gen-pot.sh b/resources/locale/gen-pot.sh index 3938b63..67b0b2c 100755 --- a/resources/locale/gen-pot.sh +++ b/resources/locale/gen-pot.sh @@ -7,30 +7,29 @@ domain="gnomepie" version="0.4" copyright="Simon Schneegans <code@simonschneegans.de>" +rm $domain.pot + filelist=$( find ../ui/ -name '*.ui' -printf "%h/%f " ) xgettext --package-name $domain \ --package-version $version \ --default-domain $domain \ - --output $domain.pot.tmp \ + --output $domain.pot \ --copyright-holder="$copyright" \ --from-code utf-8 \ -k_ \ -L Glade \ $filelist -filelist=$( find ../../src/ -name '*.vala' -printf "%h/%f " ) +filelist=$( find ../../src/ -name '*.vala' -printf "%h/%f " ) xgettext --package-name $domain \ --package-version $version \ --default-domain $domain \ --output $domain.pot \ --copyright-holder="$copyright" \ --from-code utf-8 \ + --join-existing \ -k_ \ -L C# \ $filelist - -awk 'NR>18' $domain.pot.tmp >> $domain.pot - -sed --in-place $domain.pot --expression='s/CHARSET/UTF-8/' -rm $domain.pot.tmp +sed --in-place $domain.pot --expression='s/CHARSET/UTF-8/' |