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

« back to all changes in this revision

Viewing changes to gettext-tools/tests/xgettext-4

  • 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:
14
14
: ${XGETTEXT=xgettext}
15
15
# delete POT-Creation-Date: line because the date depends on local time.
16
16
${XGETTEXT} --output - --foreign-user --no-location -k_ xg-test4.in.c \
17
 
  | sed '/\"POT-Creation-Date:.*/d' | tr -d '\r' > xg-test4.po
 
17
  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-test4.po
18
18
 
19
19
tmpfiles="$tmpfiles xg-test4.ok"
20
20
cat <<EOF > xg-test4.ok
30
30
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
31
31
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
32
32
"Language-Team: LANGUAGE <LL@li.org>\n"
 
33
"Language: \n"
33
34
"MIME-Version: 1.0\n"
34
35
"Content-Type: text/plain; charset=CHARSET\n"
35
36
"Content-Transfer-Encoding: 8bit\n"