tags 442083 + patch thanks On Wed, 2008-11-12 at 15:27 +0900, Paul Wise wrote:
> The list of languages down the bottom does not point to the DDTP > project to encourage people to translate package descriptions. Here is a naive patch for this. It places the DDTP advertisement just below non-translated package descriptions and also in the footer. diff --git a/templates/html/foot.tmpl b/templates/html/foot.tmpl index cbabd66..0605749 100644 --- a/templates/html/foot.tmpl +++ b/templates/html/foot.tmpl @@ -23,6 +23,9 @@ Total page evaluation took [% benchmark %]<br> [% END %] <hr class="hidecss"> +<a href="http://www.debian.org/intl/l10n/ddtp">[% g('Help Debian translate package descriptions to your language.') %]</a> + +<hr class="hidecss"> <div id="fineprint" class="bordertop"> <div id="impressum"> <p>[% g('To report a problem with the web site, e-mail <a href="mailto:%s">%s</a>. For other contact information, see the %s <a href="%s">contact page</a>.', diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 48fdb45..beaaad5 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -188,6 +188,9 @@ [% IF desc.$desclang.short %] <h2>[% desc.$desclang.short %]</h2> <p>[% desc.$desclang.long %] + [% IF desclang != po_lang %] + <a href="http://www.debian.org/intl/l10n/ddtp">[% g('Help Debian translate package descriptions to your language.') %]</a> + [% END %] [% END %] [% ELSE %] <div id="pdesc"> -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part