X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=222159341b46da13e40d61bd5df96781e9125bf6;hb=44c93c3f354ded054d8e07e77a59ee2a5ba4a9fc;hp=c7da7c6a7bce8fea8ddfb07ef5f53c8c56331703;hpb=2ad60a1122641f5c264f36a690847b76d38120b3;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index c7da7c6..2221593 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 ) %]
[% 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 %]
@@ -218,14 +217,14 @@ Do not install it on a normal %s system.', organisation ) %]
[% g('Other Packages Related to %s', pkg) %]
-
+
[% IF is_source %]
- |
- |
+ |
+ - [% g('build-depends-indep') %]
|
[% ELSE %]
- |
- |
- |
+ |
+ |
+ |
[% END %]
[%- END %]
@@ -235,16 +234,20 @@ 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 -%]
- [% '
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 %]
+ [% FOREACH provider IN providers.pkgs.sort %][% provider %][% ', ' UNLESS loop.last %][% END %]
[% IF providers.pkgs.size > 10 %]
[% END %]
@@ -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') %]