Song/Bible import crash in Hungarian

Bug #814877 reported by Gyuris Gellért
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Unassigned

Bug Description

OpenLP is crashed on Bible/Song import, when you click on file picker.

Steps to reproduce:
1. Switch to Hungarian
2. Select File>Import>Song/Bible
3. Press Next
4. Click on file picker: crash
This bug does not affect other languages! I'm the Hungarian translator :-(

- Operating System: WindowsXP & Ubuntu 11.04
- OpenLP 1.9.6
- Log:
1) Song import:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openlp/plugins/songs/forms/songimportform.py", line 490, in onOpenLP2BrowseButtonClicked
self.getFileName(WizardStrings.OpenTypeFile % UiStrings().OLPV2,
TypeError: a float is required

2) Bible import:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openlp/plugins/bibles/forms/bibleimportform.py", line 528, in onOsisBrowseButtonClicked
self.getFileName(WizardStrings.OpenTypeFile % WizardStrings.OSIS,
TypeError: a float is required

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

Hello,

Actually this is not a problem in the source code, but in the Hungarian translation file. This string was not translated correctly: http://pootle.projecthq.biz/hu/openlp/translate.html?unit=116950

The translation for "Open %s File" was "% fájl megnyitása". The missing "s" caused this. However, I changed the string to "%s fájl megnyitása", thus this bug should be fixed in the next nightly build.

Cheers :-)

PS: Thank you for translating OpenLP :-)

Changed in openlp:
assignee: nobody → Andreas Preikschat (googol)
importance: Undecided → High
milestone: none → 1.9.7
status: New → Fix Committed
importance: High → Medium
Changed in openlp:
status: Fix Committed → Fix Released
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.