X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Frss%2Fnewpkg.tmpl;h=1137d4f6ad5121bbe13573f3f421ef3abcbce5cf;hb=00c0f31dd886913fab8387abb61fb9f1a029fe14;hp=476202d3abe42b5cdfa0195f45355f372668a85d;hpb=e0996d1bc5a737ae3fbeb9d1598d106ad5496a6a;p=deb%2Fpackages.git diff --git a/templates/rss/newpkg.tmpl b/templates/rss/newpkg.tmpl index 476202d..1137d4f 100644 --- a/templates/rss/newpkg.tmpl +++ b/templates/rss/newpkg.tmpl @@ -13,11 +13,19 @@ 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('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; -%] + +[% 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 -%]