summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-16 21:33:08 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-16 21:33:08 +0100
commit0df669ee21864cc795ec3e79b65a6ca98debdddc (patch)
treee05e486bab20886876078647718ec681ebd53591 /tests
parentacec5ee630bf7e3036356639b904206582ee07d2 (diff)
downloadwolfbones-0df669ee21864cc795ec3e79b65a6ca98debdddc.tar.gz
wolfbones-0df669ee21864cc795ec3e79b65a6ca98debdddc.tar.bz2
added -k_ to xgettext, now first we must take out locale support into the generic .mk files!
Diffstat (limited to 'tests')
-rw-r--r--tests/gettext/GNUmakefile2
-rw-r--r--tests/gettext/test_gettext.pot7
-rw-r--r--tests/gettext/test_gettext_de.po7
-rw-r--r--tests/gettext/test_gettext_de_CH.po7
4 files changed, 10 insertions, 13 deletions
diff --git a/tests/gettext/GNUmakefile b/tests/gettext/GNUmakefile
index f2ab4f7..c933f57 100644
--- a/tests/gettext/GNUmakefile
+++ b/tests/gettext/GNUmakefile
@@ -35,7 +35,7 @@ test_gettext: $(TOPDIR)/src/libwolf.a
# - NetBSD needs -lintl for linking, the LANG is defined different (only de)
%.pot: %.c
- xgettext --flag=_:1:pass-c-format -d test_gettext -s -o $@ $<
+ xgettext -k_ --flag=_:1:pass-c-format -d test_gettext -s -o $@ $<
touch $@
test_gettext_de.po: test_gettext.pot
diff --git a/tests/gettext/test_gettext.pot b/tests/gettext/test_gettext.pot
index a974e1a..18e7dc3 100644
--- a/tests/gettext/test_gettext.pot
+++ b/tests/gettext/test_gettext.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-09 20:04+0100\n"
+"POT-Creation-Date: 2009-03-16 21:26+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,12 +16,11 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: test_gettext.c:52
+#: test_gettext.c:59
#, c-format
msgid "A message with two parameters, a string %s and an integer %d\n"
msgstr ""
-#. print something localized
-#: test_gettext.c:51
+#: test_gettext.c:53
msgid "A message without parameters"
msgstr ""
diff --git a/tests/gettext/test_gettext_de.po b/tests/gettext/test_gettext_de.po
index 9fc103a..f6b0c63 100644
--- a/tests/gettext/test_gettext_de.po
+++ b/tests/gettext/test_gettext_de.po
@@ -6,7 +6,7 @@
msgid ""
msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2009-03-09 20:04+0100\n"
+ "POT-Creation-Date: 2009-03-16 21:26+0100\n"
"PO-Revision-Date: 2009-03-09 09:33+0100\n"
"Last-Translator: <abaumann@yahoo.com>\n"
"Language-Team: German\n"
@@ -15,12 +15,11 @@ msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: test_gettext.c:52
+#: test_gettext.c:59
#, c-format
msgid "A message with two parameters, a string %s and an integer %d\n"
msgstr "Eine Meldung mit einem String Parameter %s und einer Zahl %d\n"
-#. print something localized
-#: test_gettext.c:51
+#: test_gettext.c:53
msgid "A message without parameters"
msgstr "Eine Meldung ohne Parameter"
diff --git a/tests/gettext/test_gettext_de_CH.po b/tests/gettext/test_gettext_de_CH.po
index 9fc103a..f6b0c63 100644
--- a/tests/gettext/test_gettext_de_CH.po
+++ b/tests/gettext/test_gettext_de_CH.po
@@ -6,7 +6,7 @@
msgid ""
msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2009-03-09 20:04+0100\n"
+ "POT-Creation-Date: 2009-03-16 21:26+0100\n"
"PO-Revision-Date: 2009-03-09 09:33+0100\n"
"Last-Translator: <abaumann@yahoo.com>\n"
"Language-Team: German\n"
@@ -15,12 +15,11 @@ msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: test_gettext.c:52
+#: test_gettext.c:59
#, c-format
msgid "A message with two parameters, a string %s and an integer %d\n"
msgstr "Eine Meldung mit einem String Parameter %s und einer Zahl %d\n"
-#. print something localized
-#: test_gettext.c:51
+#: test_gettext.c:53
msgid "A message without parameters"
msgstr "Eine Meldung ohne Parameter"