diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-03 07:25:38 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-03 07:25:38 +0200 |
commit | daab38595df60c0ef3e142c195382cb35d448203 (patch) | |
tree | 4186938621912272570b4187a4d8ef8e3ca87b47 /resources/locale/gen-pot.sh | |
parent | fbd5a9eb0d29bdfd9f5f0892190452e17871afd9 (diff) | |
parent | a1c05d93bbb3c1bdb0c0fed9d7110804037cfd55 (diff) |
Merge tag 'upstream/0.6.2'
Upstream version 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/' |