[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616654: p.d.o: untranslatable top menu



tag 616654 + patch 

On Sun, Mar 06, 2011 at 09:54:42PM +0100, Simon Paillard wrote:
> On Sun, Mar 06, 2011 at 01:26:54PM +0300, Yuri Kozlov wrote:
> > The page
> > http://www.debian.org/distrib/packages
> > have a translated menu. (http://i54.tinypic.com/9a44yp.png)
> > 
> > After making search, user see the same menu, but untranslated
> > http://packages.debian.org/search?keywords=syna&searchon=names&suite=unstable&section=all
> > (http://i56.tinypic.com/f2j329.png)
> > 
> > I not find the way how to translate this menu.
> > It would be nice to have this menu translatable too.
> 
> in git+ssh://git.debian.org/git/webwml/packages.git
> templates/html/head.tmpl contains hardcoded and not translatable english strings.
> 
> Patch is ready, I'll just check it's ok.

Attached.
 
However, these strings come from the new design in debian-master
branch, while po files and translators work on master branch.

My proposal would be to ask translators to work only in debian-master branch.


-- 
Simon Paillard
>From 954c97ef2b6225f8c7f77468009a2e5d193f2355 Mon Sep 17 00:00:00 2001
From: Simon Paillard <spaillard@debian.org>
Date: Sun, 6 Mar 2011 21:52:39 +0100
Subject: [PATCH] Make header translatable (Closes: #616654)

---
 templates/html/head.tmpl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/html/head.tmpl b/templates/html/head.tmpl
index fadca95..ae0fa10 100644
--- a/templates/html/head.tmpl
+++ b/templates/html/head.tmpl
@@ -29,10 +29,10 @@
 <!-- navbar -->
 <div id="navbar">
 <ul>
-   <li><a href="http://www.debian.org/intro/about";>About Debian</a></li>
-   <li><a href="http://www.debian.org/distrib/";>Getting Debian</a></li>
-   <li><a href="http://www.debian.org/support";>Support</a></li>
-   <li><a href="http://www.debian.org/devel/";>Developers'&nbsp;Corner</a></li>
+   <li><a href="http://www.debian.org/intro/about";>[% g('About Debian') %]</a></li>
+   <li><a href="http://www.debian.org/distrib/";>[% g('Getting Debian') %]</a></li>
+   <li><a href="http://www.debian.org/support";>[% g('Support') %]</a></li>
+   <li><a href="http://www.debian.org/devel/";>[% g('Developers'&nbsp;Corner') %]</a></li>
 </ul>
 </div> <!-- end navbar -->
 
-- 
1.7.2.5


Reply to: