Issue 55: "Spelling suggestions" string not localised
Status:  Fixed
Owner:
Closed:  Feb 2010
Project Member Reported by cyberkil...@gmail.com, Feb 15, 2010
What steps will reproduce the problem?
1. run Marave in different lang than english
2. mistype a word
3. right click on it and see that the whole right click menu is in the 
native lang, but "Spelling suggestions" (despite being translated by the 
translator) is in English

What is the expected output? What do you see instead?
Spelling suggestions should be localised

Marave version
r275

Feb 16, 2010
Project Member #1 roberto.alsina
Reproduced. It looks like self.tr() is not working from the editor widget.
Feb 16, 2010
Project Member #2 roberto.alsina
Also the "that's more than one file" dialog is not translated.

You can test it by running marave in another locale with two file arguments.
Feb 18, 2010
Project Member #3 pierpaol...@gmail.com
I fixed the issue on the "that's more than one file" dialog.

Using translate() instead of tr() fix the problem as app is not a subclass of QObject
but of QCoreApplication.

Below is the fixed line:
  QtGui.QMessageBox.information(None,
                                app.translate('app', 'FOCUS!'),
                                app.translate('app', 'Marave only opens one document
at a time.\nThe whole idea is focusing!\nSo, this is the first one you asked for.'))


No clue for the Spelling Suggestions at the moment.
Feb 19, 2010
Project Member #4 roberto.alsina
Turns out I can work around the problem for 'Spelling Suggestions' in the same way.

Why? No idea. But it does seem to work.
Status: Fixed