X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Frss%2Fnewpkg.tmpl;h=90533bae152dd3d3a89b135cc36e42efb27cb68c;hp=476202d3abe42b5cdfa0195f45355f372668a85d;hb=a6b39cb5eec2cf7d8a0d756f0090a9d8644443c9;hpb=e0996d1bc5a737ae3fbeb9d1598d106ad5496a6a diff --git a/templates/rss/newpkg.tmpl b/templates/rss/newpkg.tmpl index 476202d..90533ba 100644 --- a/templates/rss/newpkg.tmpl +++ b/templates/rss/newpkg.tmpl @@ -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 -%] -New [% organisation %] Packages +[% g('New %s Packages', organisation) %] [% root_url %]newpkg -Packages that were added to the [% suite %] [% organisation %] archive [% " (section \"$section\")" IF section %] during the last 7 days. -en -Copyright [% timestamp.year %], [% copyright.name %] + +[%- 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; -%] + +[% po_lang %] +[% g('Copyright ©') %] [% timestamp.year %], [% copyright.name %] [% rss_timestamp %] [% contact.mail %] weekly @@ -39,7 +47,7 @@ [% pkg.0 %] [% root_url _ pkg.0 %] -[% pkg.-1 %] +[% pkg.-1 | html %] [% pkg.6 %] [% END -%]