]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
html/{search,show}.tmpl: Fix string translations
[deb/packages.git] / templates / html / show.tmpl
index c7da7c6a7bce8fea8ddfb07ef5f53c8c56331703..808c517aef6e94e68c8789bc93e1f0be9288ca2d 100644 (file)
@@ -218,14 +218,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 +242,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 %]
@@ -264,7 +268,7 @@ Do not install it on a normal %s system.', organisation ) %]</p>
 [% FOREACH d IN downloads %]
   [% IF loop.first -%]
     <div id="pdownload">
-    <h2>Download [% pkg %]</h2>
+    <h2>[% g('Download %s', pkg) %]</h2>
     
     <table summary="[% g('The download table links to the download of the package and a file overview. In addition it gives information about the package size and the installed size.') %]">
     <caption class="hidecss">[% g('Download for all available architectures') %]</caption>