aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/news.wml
diff options
context:
space:
mode:
authorDenis Barbier <barbier>2002-11-09 14:11:46 +0000
committerDenis Barbier <barbier>2002-11-09 14:11:46 +0000
commite1faa2100d6ddcce1f711c824eb30e2808f45e3f (patch)
treef59a9bcdcc3914b20acae7c470aaf8fe7c99c464 /english/template/debian/news.wml
parenta1846a7975eca9ec9d1fed3ddf70fdf7b822cef3 (diff)
Inside <gettext>...</gettext> strings, there must be no %0 or
%attributes text, because they are expanded before gettext is called. Replace with a variable. CVS version numbers english/po/templates.pot: 1.1 -> 1.2 english/template/debian/news.wml: 1.53 -> 1.54 english/template/debian/security_tags.wml: 1.41 -> 1.42
Diffstat (limited to 'english/template/debian/news.wml')
-rw-r--r--english/template/debian/news.wml9
1 files changed, 6 insertions, 3 deletions
diff --git a/english/template/debian/news.wml b/english/template/debian/news.wml
index 7f9f6fdb4cb..506ee3bff2a 100644
--- a/english/template/debian/news.wml
+++ b/english/template/debian/news.wml
@@ -7,10 +7,13 @@
<gettext>Back to other <a href="./">Debian news</a>.</gettext>
</define-tag>
-# Hint for translators: in the following, %0 is replaced by the URL
-# in english the final line would look like, "<http://broken.com (dead.link)>"
<define-tag newsurldead whitespace=delete>
- <gettext>%0 (dead link)</gettext>
+ <preserve url />
+ <set-var url=%0 />
+# '<get-var url />' is replaced by the URL and must not be translated.
+# In English the final line would look like "<http://broken.com (dead.link)>"
+ <gettext><get-var url /> (dead link)</gettext>
+ <restore url />
</define-tag>
# DO NOT translate anything below here. If you feel there is something that

© 2014-2024 Faster IT GmbH | imprint | privacy policy