python shell translation into Finnish has " causing syntax error

Bug #107263 reported by Esa Turtiainen
2
Affects Status Importance Assigned to Milestone
language-pack-gnome-fi (Ubuntu)
Fix Released
Undecided
Ubuntu Finnish Translators

Bug Description

Binary package hint: rhythmbox

(This is not the same typo reported earlier)

Python shell translation into Finnish has " causing syntax error.

When starting python shell:

Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/python-console/pythonconsole.py", line 354, in __run
    exec command in self.namespace
  File "<string>", line 1
     print "Pääset käsiksi pääikkunaan "shell"-muuttujan kautta :\n%s" % shell
                                                 ^
 SyntaxError: invalid syntax
>>>

ProblemType: Bug
Architecture: i386
Date: Tue Apr 17 17:30:50 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/rhythmbox
Package: rhythmbox 0.10.0-0ubuntu2
PackageArchitecture: i386
ProcCmdline: rhythmbox
ProcCwd: /home/etu
ProcEnviron:
 LANGUAGE=fi_FI.UTF-8@euro
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=fi_FI.UTF-8@euro
 SHELL=/bin/bash
SourcePackage: rhythmbox
Uname: Linux top 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

Revision history for this message
Esa Turtiainen (esa-turtiainen) wrote :
Changed in language-pack-gnome-fi:
assignee: nobody → ubuntu-l10n-fi
Revision history for this message
Toni Lähdekorpi (lahdekorpi) wrote :

Should it be fixed on the translation " -> \" or in Rhythmbox code?

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Hmm, it seems properly escaped: msgstr "Pääset käsiksi pääikkunaan \"shell\"-muuttujan kautta :"
I guess Python still doesn't like it, then. Normally ' is not used in Finnish, but I changed it now to "Pääset käsiksi pääikkunaan 'shell'-muuttujan kautta :", and will contact the upstream translator too. Using that translation seems to fix the error message.

Will be included in the next language pack updates.

Changed in language-pack-gnome-fi:
status: Unconfirmed → Fix Released
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Correction. Will change to msgstr "Pääset käsiksi pääikkunaan \\\"shell\\\"-muuttujan kautta :", as pointed out to me. Also fixed similarly in upstream svn now.

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.