"Located in:" in translation form should link to the actual source code

Reported by Tollef Fog Heen on 2005-09-10
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned

Bug Description

When doing translations, it is sometimes necessary to look at the context a string is used in. Rosetta should make the "Located in" a link to the correct line in the source file.

Carlos Perelló Marín (carlos) wrote :

Yeah, that's a planned feature, but we cannot do that until Ubuntu development is not 100% integrated into launchpad (will be done post breezy) so we have all Ubuntu packages imported into bazaar and we have the source code available from a well know URL.

description: updated
Changed in rosetta:
status: New → Accepted
Pavel Šimerda (pavlix) wrote :

Well is this going to be done? It would save us from many mistakes.

Stéphane Raimbault (sra) wrote :

This bug is old whereas it's impossible to correctly translate anything in french without this feature!

Buttons, titles or tooltips which have the same string in english, have different translations in french.

Carlos Perelló Marín (carlos) wrote :

The problem with this is that we need first all source code imported in launchpad so we can link to that code.

Carlos Perelló Marín (carlos) wrote :

I just found the spec that would provide us with that information and will unblock this bug:

https://wiki.ubuntu.com/NoMoreSourcePackages

Séverin Lemaignan (skadge) wrote :

Ping on this bug...

Link to sources would greatly improve the workflow while during translations, as context is very important as OP said. So yet another ping on this bug!

simohe (simohe) wrote :

for viewing the context for tortoisehg I do the following:
 * copy the text from the launchpad translation site, after "locaed in:" (example: tortoisehg/hgqt/settings.py:894)
 * replace the colon by "#L" (example is now tortoisehg/hgqt/settings.py#cl-894)
 * append this to "https://bitbucket.org/tortoisehg/thg/src/tip/" (resulting in https://bitbucket.org/tortoisehg/thg/src/tip/tortoisehg/hgqt/settings.py#cl-894)

This should be easy to automate. The configuration would need one setting with two place holders (relative path and line no). For projects in launchpad this could be preconfigured.

This would really help doing translation in launchpad!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers