~ubuntu-branches/ubuntu/utopic/gettext/utopic

« back to all changes in this revision

Viewing changes to gettext-tools/tests/xgettext-perl-3

  • Committer: Colin Watson
  • Date: 2010-08-01 21:36:08 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: cjwatson@canonical.com-20100801213608-yy7vkm8lpatep3ci
merge from Debian 0.18.1.1-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
: ${XGETTEXT=xgettext}
19
19
# delete POT-Creation-Date: line because the date depends on local time.
20
20
${XGETTEXT} --output - --from-code=UTF-8 xg-pl-3.pl \
21
 
  | sed '/\"POT-Creation-Date:.*/d' | tr -d '\r' > xg-pl-3.po
 
21
  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-pl-3.po
22
22
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
23
23
 
24
24
tmpfiles="$tmpfiles xg-pl-3.ok"
36
36
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
37
37
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
38
38
"Language-Team: LANGUAGE <LL@li.org>\n"
 
39
"Language: \n"
39
40
"MIME-Version: 1.0\n"
40
41
"Content-Type: text/plain; charset=UTF-8\n"
41
42
"Content-Transfer-Encoding: 8bit\n"