[Bug 999155] Re: Onboard crashes due to mixup in Catalan Translation
marmuta
999155 at bugs.launchpad.net
Thu May 17 07:50:07 UTC 2012
** Description changed:
In response to
https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/930891/comments/13:
There is a translation mixup with the Catalan language in the 0.97 branch of Onboard.
"{description} '{filepath}' found." was translated as
- "S'ha trobat {description} «{filepath}»."
+ "S'ha trobat {description} «{filename}»."
Onboard 0.97.0 fails to start:
Traceback (most recent call last):
- File "/usr/bin/onboard", line 16, in <module>
- ob = Onboard()
- File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 64, in __init__
- self.init()
- File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 86, in init
- self.reload_layout()
- File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 350, in reload_layout
- self.load_layout(config.layout_filename,
- File "/usr/lib/python2.7/dist-packages/Onboard/Config.py", line 387, in get_layout_filename
- self.LAYOUT_FILE_EXTENSION))
- File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 233, in _get_user_sys_filename_gs
- system_filename_func)
- File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 276, in _get_user_sys_filename
- .format(description=description, filepath=filepath))
+ File "/usr/bin/onboard", line 16, in <module>
+ ob = Onboard()
+ File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 64, in __init__
+ self.init()
+ File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 86, in init
+ self.reload_layout()
+ File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 350, in reload_layout
+ self.load_layout(config.layout_filename,
+ File "/usr/lib/python2.7/dist-packages/Onboard/Config.py", line 387, in get_layout_filename
+ self.LAYOUT_FILE_EXTENSION))
+ File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 233, in _get_user_sys_filename_gs
+ system_filename_func)
+ File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 276, in _get_user_sys_filename
+ .format(description=description, filepath=filepath))
KeyError: 'filename'
Onboard 0.97.1 just prints warnings:
WARNING:utils: _format: Skipping bad translation msgid='{description}
'{filepath}' found.' msgstr='S'ha trobat {description} «{filename}».'
KeyError: u'filename'
--
You received this bug notification because you are a member of
Accessibility, which is subscribed to onboard in Ubuntu.
https://bugs.launchpad.net/bugs/999155
Title:
Onboard crashes due to mixup in Catalan Translation
To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/999155/+subscriptions
More information about the Ubuntu-accessibility-bugs
mailing list