X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=f7eace51ae2cb803afc13e2665125017c29b15f0;hp=2cf2aeb1a249fe6d7f033b7efcc97dd92788f3aa;hb=48f3321140ad5bcc857d33ca335244f4685afdb1;hpb=a6146cf5473f4b13172414851b63894024394cb3 diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 2cf2aeb..f7eace5 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -48,9 +48,9 @@
-[% suite_wording = suite_enc.match("^(default|all)$") ? g("all suites") : g("suite(s) $suite_enc"); - section_wording = (section_enc == 'all') ? g("all sections") : g("section(s) $section_enc"); - arch_wording = (architectures_enc == 'any') ? g("all architectures") : g("architecture(s) $architectures_enc"); +[% suite_wording = suite_enc.match("^(default|all)$") ? g("all suites") : g("suite(s) %s", suite_enc); + section_wording = (section_enc == 'all') ? g("all sections") : g("section(s) %s", section_enc); + arch_wording = (architectures_enc == 'any') ? g("all architectures") : g("architecture(s) %s", architectures_enc); IF opts.searchon == "names"; source_wording = opts.source ? g("source packages") : g("packages"); msg = g("You have searched for %s that names contain %s in %s, %s, and %s.", @@ -112,7 +112,7 @@ [%- IF real_archive %] [[% real_archive %]][% END %]
[% g('Binary packages:') %] [% FOREACH binary IN binaries.sort %][% binary %][% ', ' UNLESS loop.last %][% END %] [% IF binaries.size > 10 %] - + [% END %] [% END %]