X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=f90586ae51b4d46a47fb803aa07fc6e94f5b3464;hb=3954845023a55026b0e57a131877cfd1b7fdc0b7;hp=81046542f7dc23bffbdd08a562f4f1a4326e61f8;hpb=a25c95422f90812abd754ce588a9fb71de3c1e7f;p=deb%2Fpackages.git diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 8104654..f90586a 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -48,7 +48,6 @@
-[%# @translators: I'm really sorry :/ %] [% 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"); @@ -58,6 +57,7 @@ source_wording, keyword_enc, suite_wording, section_wording, arch_wording); ELSE; exact_wording = opts.exact ? "" : g(" (including subword matching)"); + # @translators: I'm really sorry :/ msg = g("You have searched for %s in packages names and descriptions in %s, %s, and %s%s.", keyword_enc, suite_wording, section_wording, arch_wording, exact_wording); END %] @@ -88,7 +88,7 @@ [% FOREACH s IN suites; suite = s.suite %]
  • [% suite %] - [%- ' (' _ suite_aliases.$suite _ ')' IF suite_aliases.$suite %][% ' (' _ s.subsection _ ')' IF s.subsection %]: [% IF s.trans_desc.$lang; s.trans_desc.$lang | html; ELSE; s.desc | html; END %] [%- IF s.section != main_section %] [[% s.section %]][% END %] + [%- ' (' _ suite_aliases.$suite _ ')' IF suite_aliases.$suite %][% ' (' _ s.subsection _ ')' IF s.subsection %]: [% IF s.trans_desc.$lang; s.trans_desc.$lang | html; ELSE; s.desc | html; END %] [%- IF s.section && s.section != main_section %] [[% s.section %]][% END %] [% FOREACH s.versions %]
    [% version %] [%- IF archive != main_archive %] [[% archive %]][% END %]: [% architectures.join(' ') %] [% END %]