diff options
author | Shaun McCance <shaunm@gnome.org> | 2012-05-14 14:15:33 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2012-05-14 14:15:33 -0400 |
commit | d4f1b9512988e6588c190b3ac16c1604cab3f5ab (patch) | |
tree | d0676d23875d8ffdfed3652b0522c538b83e79fe /data | |
parent | e03d3c810798c0bb41b3142d2f3427ddd897cd37 (diff) | |
download | yelp-d4f1b9512988e6588c190b3ac16c1604cab3f5ab.tar.gz |
Fixed my mistake in generating yelp.pot for xslt translations
I was generating the POT file from the generated yelp.xml instead
of from the source yelp.xml.in. Since the generated file doesn't
have the ITS rules, <string/> was not withinText, so itstool used
a placeholder, so no translations actually matched.
I fixed the Makefile and all of the translations.
Also, I was using ALL_LINGUAS to create the POT file, just like
yelp-xsl does. But I wasn't setting ALL_LINGUAS in configure.ac.
Fixed.
Diffstat (limited to 'data')
-rw-r--r-- | data/domains/Makefile.am | 2 | ||||
-rw-r--r-- | data/domains/yelp.pot | 15 |
2 files changed, 13 insertions, 4 deletions
diff --git a/data/domains/Makefile.am b/data/domains/Makefile.am index 35d04cb8..8725af7a 100644 --- a/data/domains/Makefile.am +++ b/data/domains/Makefile.am @@ -1,6 +1,6 @@ ALL_LINGUAS = @ALL_LINGUAS@ -yelp.pot: yelp.xml +yelp.pot: yelp.xml.in itstool -o "$@" "$^" all: yelp.xml yelp.pot diff --git a/data/domains/yelp.pot b/data/domains/yelp.pot index 2cf0b05e..58e06e3b 100644 --- a/data/domains/yelp.pot +++ b/data/domains/yelp.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2012-02-23 13:14-0500\n" +"POT-Creation-Date: 2012-05-14 13:45-0400\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" @@ -9,7 +9,16 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: yelp.xml:2(msg/msgstr) -msgid "Install <_:string-1/>" +#. ID: install.tooltip +#. This is a format message used to format tooltips on install: links. These +#. links allow users to install packages by clicking a link in the help. The +#. tooltip may also be used as the link text, if there's no link text in the +#. document. Special elements in the message will be replaced with the +#. appropriate content, as follows: +#. +#. <string/> - The package to install +#. +#: yelp.xml.in:29(msg/msgstr) +msgid "Install <string/>" msgstr "" |