]> git.deb.at Git - deb/packages.git/blobdiff - templates/rss/newpkg.tmpl
Merge commit 'alioth/master'
[deb/packages.git] / templates / rss / newpkg.tmpl
index 476202d3abe42b5cdfa0195f45355f372668a85d..1137d4f6ad5121bbe13573f3f421ef3abcbce5cf 100644 (file)
     SET root_url = "$root_url$section/" IF section -%]
 
 <channel rdf:about="[% root_url %]newpkg">
-<title>New [% organisation %] Packages</title>
+<title>[% g('New %s Packages', organisation) %]</title>
 <link>[% root_url %]newpkg</link>
-<description>Packages that were added to the [% suite %] [% organisation %] archive [% " (section \"$section\")" IF section %] during the last 7 days.</description>
-<dc:language>en</dc:language>
-<dc:rights>Copyright [% timestamp.year %], [% copyright.name %]</dc:rights>
+<description>
+[%- IF section; 
+       g('Packages that were added to the %s %s archive (section "%s") during the last 7 days.',
+       suite, organisation, section);
+    ELSE;
+       g('Packages that were added to the %s %s archive during the last 7 days.',
+       suite, organisation, section);
+    END; -%]
+</description>
+<dc:language>[% lang %]</dc:language>
+<dc:rights>[% g('Copyright ©') %] [% timestamp.year %], [% copyright.name %]</dc:rights>
 <dc:date>[% rss_timestamp %]</dc:date>
 <dc:publisher>[% contact.mail %]</dc:publisher>
 <syn:updatePeriod>weekly</syn:updatePeriod>
@@ -39,7 +47,7 @@
 <item rdf:about="[% root_url _ pkg.0 %]">
 <title>[% pkg.0 %]</title>
 <link>[% root_url _ pkg.0 %]</link>
-<description>[% pkg.-1 %]</description>
+<description>[% pkg.-1 | html %]</description>
 <dc:subject>[% pkg.6 %]</dc:subject>
 </item>
 [% END -%]