X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=0c27c00849c734ffd9e6160fd381224695b2a20d;hp=808c517aef6e94e68c8789bc93e1f0be9288ca2d;hb=994eceb69bd5a8865a51e00b3cfb1c7a1f03f78e;hpb=0826daa3d7e40754506b392b395aaf66974c5598 diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 808c517..0c27c00 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 %] @@ -197,19 +196,19 @@ Do not install it on a normal %s system.', organisation ) %]

[%- END %] [% END %] -[% FOREACH providers %] +[% FOREACH p IN providers %] [% IF loop.first %]

[% g('Packages providing %s', pkg) %]

[% END %] -
[% IF available %][% name %][% ELSE %][% name %][% END %]
-
[% desc %]
+
[% IF p.available %][% p.name %][% ELSE; p.name; END %]
+
[% IF p.trans_desc.$lang; p.trans_desc.$lang | html; ELSE; p.desc | html; END %]
[% '
' IF loop.last %] [% END %]
[% END %] -[% FOREACH binaries %] +[% FOREACH b IN binaries %] [% IF loop.first %]
[% g('The following binary packages are built from this source package:') %]
[% END %] -
[% IF available %][% name %][% ELSE %][% name %][% END %]
-
[% desc %]
+
[% IF b.available %][% b.name %][% ELSE; b.name; END %]
+
[% IF b.trans_desc.$lang; b.trans_desc.$lang | html; ELSE; b.desc | html; END %]
[% '
' IF loop.last %] [% END %] @@ -235,12 +234,12 @@ 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 trans_desc.$lang; trans_desc.$lang | html; ELSE; desc | html; END -%] [%- IF providers.pkgs.size > 0 -%] [% IF providers.also; '
    ' _ g('also a virtual package provided by');