]> git.deb.at Git - deb/packages.git/blobdiff - templates/rss/newpkg.tmpl
Move patch-tracking.d.net to patch-tracker.d.o and update names (Closes: #545262)
[deb/packages.git] / templates / rss / newpkg.tmpl
index 476202d3abe42b5cdfa0195f45355f372668a85d..90533bae152dd3d3a89b135cc36e42efb27cb68c 100644 (file)
@@ -9,15 +9,23 @@
  xmlns:admin="http://webns.net/mvcb/"
 >
 
-[%- root_url = "$packages_homepage$suite/";
+[%- root_url = "$packages_homepage_abs$suite/";
     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('The following packages were added to suite %s (section %s) in the %s archive during the last 7 days.',
+       suite, section, organisation);
+    ELSE;
+       g('The following packages were added to suite %s in the %s archive during the last 7 days.',
+       suite, organisation);
+    END; -%]
+</description>
+<dc:language>[% po_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 -%]