X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fnewpkg.tmpl;h=aaff0745cf642f4237f585d932e6b7d5310c895b;hp=0f36b4cf807aa7b568f58113791801056ef4cc2e;hb=944e9ffd2b7f527a3e96bb33a8a5b17f965a7815;hpb=08aa87adaf6c59131d01f8a4a078dc4e78475788 diff --git a/templates/html/newpkg.tmpl b/templates/html/newpkg.tmpl index 0f36b4c..aaff074 100644 --- a/templates/html/newpkg.tmpl +++ b/templates/html/newpkg.tmpl @@ -1,30 +1,37 @@ [%- PROCESS 'html/head.tmpl' - title_tag = "New Packages in \"$suite\"" + title_tag = g('New Packages in "%s"', suite) description = desc keywords = "$suite, new packages, $section" rss_alternate = 'newpkg?format=rss' -%] -

New Packages in "[% suite %]"

+

[% g('New Packages in "%s"', suite) %]

-

The following packages were added to suite [% suite %][% " (section $section)" IF section %] in the [% organisation %] archive during the last 7 days. You can also display this list -[%- IF opts.mode == 'byage' %] - sorted by name -[%- ELSE %] - sorted by age -[%- END %].

-

This information is also available as an RSS feed -[RSS 1.0 Feed]

+

+[% 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; + IF opts.mode == 'byage'; + g(' You can also display this list sorted by name.', make_url('newpkg','','mode','')); + ELSE; + g(' You can also display this list sorted by age.', make_url('newpkg','mode=byage')); + END %]

+

[% g('This information is also available as an RSS feed') %] +[% g('[RSS 1.0 Feed]') %]

[% FOREACH pkg IN new_packages %] [% '' IF loop.last %] [% END %] -

All packages
-(compact compressed textlist)
- New packages in +

[% g('All packages') %]
+([% g('compact compressed textlist') %])
+ [% g('New packages in ') %] [% FOREACH s IN sections %] [%- IF s == section -%] [% s %]