X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=eee041bbe128031f15eb1e414a672a063aec867f;hp=c7da7c6a7bce8fea8ddfb07ef5f53c8c56331703;hb=8ac8fa1f369ab0073709518ec2a8d44aa859afcf;hpb=10daaec363999a0a2f5359f69d8a81e0308c537f diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index c7da7c6..eee041b 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -143,16 +143,13 @@ [% changelog_link = 'changelog'; changelog_link = "$changelogs_url$files.changelog.path" %]

[% g('Experimental package') %]

-

[% g('Warning: This package is from the experimental distribution. -That means it is likely unstable or buggy, and it may even cause data loss. -Please be sure to consult the changelog and other possible documentation before -using it.', changelog_link) %]

+

[% g('Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. Please be sure to consult the changelog and other possible documentation before using it.', + changelog_link) %]

[% END %] [% IF subsection == "debian-installer" %]

[% g('debian-installer udeb package') %]

-

[% g('Warning: This package is intended for the use in building -debian-installer images only. -Do not install it on a normal %s system.', organisation ) %]

+

[% g('Warning: This package is intended for the use in building debian-installer images only. Do not install it on a normal %s system.', + organisation ) %]

[% END %] [% END %] @@ -179,14 +176,16 @@ Do not install it on a normal %s system.', organisation ) %]

[% g('Tags') %]: [%- END %] - [% facet = tag.0; - facet_name = debtags_voc.$facet; - tag_id = "$tag.0::$tag.1"; - tag_name = debtags_voc.$tag_id; + [% facet = tag.0; lfacet = "$facet-$lang"; + facet_name = debtags_voc.$lfacet; + SET facet_name = debtags_voc.$facet UNLESS facet_name; + tag_id = "$tag.0::$tag.1"; ltag = "$tag_id-$lang"; + tag_name = debtags_voc.$ltag; + SET tag_name = debtags_voc.$tag_id UNLESS tag_name; %] [% facet_name _ ': ' UNLESS old_facet && facet == old_facet %] [% IF tag_name %] - [% tag_name %][% ', ' UNLESS loop.last %] + [% tag_name | html %][% ', ' UNLESS loop.last %] [% ELSE %] [% tag_id %][% ', ' UNLESS loop.last %] [% END %] @@ -218,14 +217,14 @@ Do not install it on a normal %s system.', organisation ) %]

[% g('Other Packages Related to %s', pkg) %]

- +
[% IF is_source %] - - + + [% ELSE %] - - - + + + [% END %]
  • build-depends
  • build-depends-indep
  • [% g('build-depends') %]
  • [% g('build-depends-indep') %]
  • depends
  • recommends
  • suggests
  • [% g('depends') %]
  • [% g('recommends') %]
  • [% g('suggests') %]
[%- END %] @@ -235,14 +234,18 @@ Do not install it on a normal %s system.', organisation ) %]

[% '
  • ' UNLESS is_old_pkgs %] [% FOREACH alternatives %] [% '
    ' IF loop.first %] -
    [% IF loop.first %][% id %]:[% ELSE %]or [% END %] +
    [% IF loop.first %][% id %]:[% ELSE %][% g('or ') %][% END %] [% IF suite %][% name %][% ELSE %][% name %][% END %] [% ' (' _ version _ ')' IF version %] [% ' [' _ arch_str _ ']' IF arch_str %]
    [%- IF !is_old_pkgs -%]
    [% desc -%] [%- IF providers.pkgs.size > 0 -%] - [% '
    also a ' IF providers.also %][% g('virtual package provided by') %] + [% IF providers.also; + '
    ' _ g('also a virtual package provided by'); + ELSE; + g('virtual package provided by'); + END; %] [% js_id = name %] [% FOREACH provider IN providers.pkgs %][% provider %][% ', ' UNLESS loop.last %][% END %] [% IF providers.pkgs.size > 10 %] @@ -264,7 +267,7 @@ Do not install it on a normal %s system.', organisation ) %]

    [% FOREACH d IN downloads %] [% IF loop.first -%]
    -

    Download [% pkg %]

    +

    [% g('Download %s', pkg) %]

    [% g('Download for all available architectures') %]