]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
templates: Fix translation of multiline strings
[deb/packages.git] / templates / html / show.tmpl
index 90c5e72dcbc893c2f1851d2e9d6974f4c06e25b1..59a125c7830fa400fc5c3b79cfadc362a0dbde76 100644 (file)
 [% changelog_link = 'changelog';
    changelog_link = "$changelogs_url$files.changelog.path" %] 
 <h2>[% g('Experimental package') %]</h2>
-<p>[% g('Warning: This package is from the <strong>experimental</strong> distribution.
-That means it is likely unstable or buggy, and it may even cause data loss.
-Please be sure to consult the <a href="%s">changelog</a> and other possible documentation before
-using it.', changelog_link) %]</p>
+<p>[% g('Warning: This package is from the <strong>experimental</strong> distribution. That means it is likely unstable or buggy, and it may even cause data loss. Please be sure to consult the <a href="%s">changelog</a> and other possible documentation before using it.',
+       changelog_link) %]</p>
 [% END %]
 [% IF subsection == "debian-installer" %]
 <h2>[% g('debian-installer udeb package') %]</h2>
-<p>[% g('Warning: This package is intended for the use in building
-<a href="http://www.debian.org/devel/debian-installer">debian-installer</a> images only.
-Do not install it on a normal %s system.', organisation ) %]</p>
+<p>[% g('Warning: This package is intended for the use in building <a href="http://www.debian.org/devel/debian-installer">debian-installer</a> images only. Do not install it on a normal %s system.',
+       organisation ) %]</p>
 [% END %]
 </div>
 [% END %]
@@ -218,14 +215,14 @@ Do not install it on a normal %s system.', organisation ) %]</p>
     <div id="pdeps">
     <h2>[% g('Other Packages Related to %s', pkg) %]</h2>
 
-    <table id="pdeplegend" class="visual" summary="legend"><tr>
+    <table id="pdeplegend" class="visual" summary="[% g('legend') %]"><tr>
     [% IF is_source %]
-    <td><ul class="uladep"><li>build-depends</li></ul></td>
-    <td><ul class="ulidep"><li>build-depends-indep</li></ul></td>
+    <td><ul class="uladep"><li>[% g('build-depends') %]</li></ul></td>
+    <td><ul class="ulidep"><li>[% g('build-depends-indep') %]</li></ul></td>
     [% ELSE %]
-    <td><ul class="uldep"><li>depends</li></ul></td>
-    <td><ul class="ulrec"><li>recommends</li></ul></td>
-    <td><ul class="ulsug"><li>suggests</li></ul></td>
+    <td><ul class="uldep"><li>[% g('depends') %]</li></ul></td>
+    <td><ul class="ulrec"><li>[% g('recommends') %]</li></ul></td>
+    <td><ul class="ulsug"><li>[% g('suggests') %]</li></ul></td>
     [% END %]
     </tr></table>
   [%- END %]
@@ -242,7 +239,11 @@ Do not install it on a normal %s system.', organisation ) %]</p>
       [%- IF !is_old_pkgs -%]
         <dd>[% desc -%]
         [%- IF providers.pkgs.size > 0 -%]
-          [% '<br>also a ' IF providers.also %][% g('virtual package provided by') %]
+         [% IF providers.also;
+               '<br>' _ g('also a virtual package provided by');
+            ELSE;
+               g('virtual package provided by');
+            END; %]
          [% js_id = name %]
            <span id="js_[% js_id %]" class="p_js_elem"></span> <span id="html_[% js_id %]">[% FOREACH provider IN providers.pkgs %]<a href="[% make_url(provider,'','suite',suite,'source','') %]">[% provider %]</a>[% ', ' UNLESS loop.last %][% END %]</span>
        [% IF providers.pkgs.size > 10 %]