From: Frank Lichtenheld Date: Sat, 13 Oct 2007 22:13:26 +0000 (+0200) Subject: Make HTML shared templates translatable X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=e454ca3e9cd32ded30b5ee29302119ccd28d71ee;p=deb%2Fpackages.git Make HTML shared templates translatable --- diff --git a/templates/html/foot.tmpl b/templates/html/foot.tmpl index 17a5e2a..a08d34c 100644 --- a/templates/html/foot.tmpl +++ b/templates/html/foot.tmpl @@ -8,28 +8,31 @@ Total page evaluation took [% benchmark %]
[% IF langs.size > 0 %]
-

This page is also available in the following languages:

+

[% g('This page is also available in the following languages:') %]

-

How to set the default document language

+

[% g('How to set the default document language', cn_help_url) %]

[% END %]
-

0 %]>Back to: [% organisation %] homepage || Packages search page

+

0 %]>[% g('Back to:') %] [% g('%s Homepage', organisation) %] || [% g('Packages search page') %]


-

To report a problem with the web site, e-mail [% contact.mail %]. For other contact information, see the [% organisation %] contact page.

-

[% IF timestamp.string %]Generated: [% timestamp.string %]
[% END %] -[% UNLESS footer.doNotDisplayCopyright %] -Content Copyright © [% copyright.years %] [% copyright.name %]; See license terms. [% IF trademarknotes -%][% trademarknotes %][%- END %] -[% END %] -

Learn more about this site.

+

[% g('To report a problem with the web site, e-mail %s. For other contact information, see the %s contact page.', + contact.mail, contact.mail, organisation, contact.url) %]

+

[% IF timestamp.string; g('Generated:') _ ' ' _ timestamp.string _ '
'; END %] +[% UNLESS footer.doNotDisplayCopyright; + g('Content Copyright © %s %s; See license terms.', + copyright.years, copyright.url, copyright.name, license.url); + ' ' _ trademarknotes IF trademarknotes; +END %] +

[% g('Learn more about this site') %].

diff --git a/templates/html/head.tmpl b/templates/html/head.tmpl index 05e8d97..bb8491c 100644 --- a/templates/html/head.tmpl +++ b/templates/html/head.tmpl @@ -43,26 +43,26 @@ [% IF search_field_values.suite %][% END %] [% IF search_field_values.sections %][% END %] [% IF search_field_values.architectures %][% END %] - + -all options +[% g('all options') %] [% END %] -

skip the navigation

+

[% g('skip the navigation') %]

- >> [% organisation %] - >> Packages + >> [% organisation %] + >> [% g('Packages') %] [% FOREACH n IN navigation %] >> [% IF n.url %][% n.name %][% ELSE %][% n.name %][% END %] [% END %]