1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Test C support: non-ASCII extracted comments. 5 6: ${XGETTEXT=xgettext} 7 8${XGETTEXT} --from-code=ISO-8859-1 --add-comments --no-location --no-wrap \ 9 -o xg-c-comment-6.tmp "$wabs_srcdir"/xg-c-comment-6.c || Exit 1 10func_filter_POT_Creation_Date xg-c-comment-6.tmp xg-c-comment-6.po 11 12cat <<\EOF > xg-c-comment-6.ok 13# SOME DESCRIPTIVE TITLE. 14# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 15# This file is distributed under the same license as the PACKAGE package. 16# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. 17# 18#, fuzzy 19msgid "" 20msgstr "" 21"Project-Id-Version: PACKAGE VERSION\n" 22"Report-Msgid-Bugs-To: \n" 23"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 24"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 25"Language-Team: LANGUAGE <LL@li.org>\n" 26"Language: \n" 27"MIME-Version: 1.0\n" 28"Content-Type: text/plain; charset=UTF-8\n" 29"Content-Transfer-Encoding: 8bit\n" 30 31#. A mountain near Zürich. 32msgid "Käferberg" 33msgstr "" 34EOF 35 36: ${DIFF=diff} 37${DIFF} xg-c-comment-6.ok xg-c-comment-6.po || Exit 1 38