PiRSquared17 / marave

Automatically exported from code.google.com/p/marave
GNU General Public License v2.0
0 stars 0 forks source link

source not showing in QtLinguist #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open any translation file in QtLinguist
2. when clicked on a string there should be a part of the source shown 
where the string is
3. instead there is an error message of "file not found" type there ;-P

Moving the translations to a subdir caused this issue. Is there a way to 
fix this? Having the part of the code where the string is used was really 
handy while translating.

Original issue reported on code.google.com by cyberkil...@gmail.com on 18 Feb 2010 at 7:10

GoogleCodeExporter commented 9 years ago
i have the same here.

if i change

<location filename="Ui_searchwidget.py" line="59"/>

to

<location filename="../Ui_searchwidget.py" line="59"/>

the source will be shown, just had to add ../ to every filename, i don't know 
if it
is ok to do so, but it would solve 'this' problem :)

Original comment by bdgr...@googlemail.com on 18 Feb 2010 at 8:22

GoogleCodeExporter commented 9 years ago
can u try if it works now and can someone tell me if this will cause other 
problems,
that i might not see? i changed the .ts files

Original comment by bdgr...@googlemail.com on 18 Feb 2010 at 8:32

GoogleCodeExporter commented 9 years ago
i can't open the marave_pl.ts file in qt linguist. the other .ts files work 
fine.

Parse error at 
/home/bdgraue/marave/marave/marave/translations/marave_pl.ts:77:64: Es
wurde '>' or '/'erwartet, stattdessen erhalten '[0-9]'.

don't know what that mean. 

Original comment by bdgr...@googlemail.com on 18 Feb 2010 at 9:14

GoogleCodeExporter commented 9 years ago
nevermind, found my mistake, should work now

Original comment by bdgr...@googlemail.com on 18 Feb 2010 at 9:17

GoogleCodeExporter commented 9 years ago
Yeah, the source is there, but line numbers saved in the ts file don't 
correspond to 
the correct lines in the source files, but I guess that's another problem ;-P.

Original comment by cyberkil...@gmail.com on 18 Feb 2010 at 9:56

GoogleCodeExporter commented 9 years ago
The thing is those parts of the .ts file are created by pylupdate, I'll fix 
this in a few minutes.

Original comment by roberto.alsina on 18 Feb 2010 at 10:55

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r326.

Original comment by roberto.alsina on 18 Feb 2010 at 11:21

GoogleCodeExporter commented 9 years ago
Also marave_pl.ts opens just fine here...

Original comment by roberto.alsina on 18 Feb 2010 at 11:24

GoogleCodeExporter commented 9 years ago
OK, I confirm it's ok now.

Original comment by cyberkil...@gmail.com on 18 Feb 2010 at 1:57