]> git.deb.at Git - deb/packages.git/blobdiff - templates/rss/newpkg.tmpl
Make all remaining templates translatable
[deb/packages.git] / templates / rss / newpkg.tmpl
index 476202d3abe42b5cdfa0195f45355f372668a85d..4735c4423848e97611f919f8e3dc595f26e79c49 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>