[SRU] Natty: 'Next' and 'Previous' navigation links are untranslatable

Bug #772176 reported by David Planella
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Medium
Unassigned
Yelp
Fix Released
Medium
yelp-xsl (Ubuntu)
Fix Released
Undecided
Unassigned
Natty
Opinion
Undecided
Unassigned

Bug Description

When opening yelp and navigating through a topic with several pages, the 'Previous' and 'Next' links at the top right hand corner appear untranslated, and they are also not exposed for translation in the yelp.pot template.

SRU Request:Please sync yelp-xsl 3.0.0-0ubuntu2 from Oneiric to Natty to fix broken translation.

TEST CASE:
1. Install language-pack-gnome-hu
2. Run LANGUAGE=hu yelp ghelp:orca
3. Click the second link on the left
4. At the top are Previous and Next in English
5. Close Yelp and upgrade yelp-xsl to 3.0.0-0ubuntu2
6. Redo steps 2 and 3 and the Previous and Next links will be in Hungarian.

I don't really see any regression potential with this.

ProblemType: BugDistroRelease: Ubuntu 11.04
Package: yelp-xsl 3.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Apr 28 08:13:29 2011
EcryptfsInUse: YesInstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110319)
ProcEnviron:
 LANGUAGE=ca:en
 LANG=ca_ES.UTF-8
 SHELL=/bin/bashSourcePackage: yelp
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
David Planella (dpm) wrote :
Changed in yelp:
importance: Undecided → Unknown
status: New → Unknown
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Changed in yelp:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

This is in yelp-xsl, not yelp.

affects: yelp (Ubuntu) → yelp-xsl (Ubuntu)
Revision history for this message
Gabor Kelemen (kelemeng) wrote :
Changed in yelp:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package yelp-xsl - 3.0.0-0ubuntu2

---------------
yelp-xsl (3.0.0-0ubuntu2) oneiric; urgency=low

  * Make next and previous navigation buttons translatable, (LP: #772176)
 -- Jeremy Bicha <email address hidden> Wed, 04 May 2011 10:00:08 -0400

Changed in yelp-xsl (Ubuntu):
status: New → Fix Released
Jeremy Bícha (jbicha)
summary: - 'Next' and 'Previous' navigation links are untranslatable
+ [SRU] Natty: 'Next' and 'Previous' navigation links are untranslatable
Revision history for this message
Jeremy Bícha (jbicha) wrote :

David Planella, to get this fixed as an SRU, I believe we need TEST CASE instructions to reproduce the problem and to verify that this patch fixes the problem.

Perhaps if you have a test translated page (probably 2 pages) to demonstrate the next and previous buttons are translated after the fix but not before. Thank you!

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Jeremy: you can test this for example by opening orca's help and navigating between topics.

TEST CASE:
1, Start yelp ghelp:orca in a language to which orca's help is translated. Hungarian is a good choice.
2, Open the topic "The Orca modifier key".
3, On the top right corner, you will see a Previous and a Next navigation links, which bring you to other topics. These are not translated.
4, After the update, these links should appear translated.

Jeremy Bícha (jbicha)
description: updated
Changed in yelp-xsl (Ubuntu Natty):
assignee: nobody → David Planella (dpm)
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Jeremy: Nice work on the SRU, however there is one small problem: the bug is really in yelp-xsl, not yelp, we need to backport that package.

Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

There is one more problem with the validation of this. The yelp-xsl template was not approved, imported to LP and exported to language packs, so the reason you can't see them translated with the update, may be that the translations are simply not there. I approved it now, but it will take some time until new langpacks will be generated into the langpack PPA.

David Planella (dpm)
Changed in yelp-xsl (Ubuntu Natty):
status: New → Fix Committed
assignee: David Planella (dpm) → nobody
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Okay, I'm stupid :(
The translations of yelp-xsl are used from a packaged xml file, not from the .mo file, which is not needed at all.
Could someone try to upload the version in comment #4 to natty-proposed?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

It looks like this was never uploaded. It's a bit late now but since it's still a couple months before Oneiric will be available, this would be a nice SRU.

tags: added: testcase
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

We can live without this SRU in Natty.

Changed in ubuntu-translations:
status: Triaged → Fix Released
Changed in yelp-xsl (Ubuntu Natty):
status: Fix Committed → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.