Issue 48: Unable to exit
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 witl my new polish locale ;-P
2. type something
3. try to exit
4. Nothing happens ;-P

What version of the product are you using? On what operating system?
Marave r253

Please provide any additional information below.
Terminal output:

Traceback (most recent call last):
  File "main.py", line 802, in close
    unicode(self.tr("The document \"%s\" has been 
modified."))%(self.editor.docName or self.tr("UNNAMED"))+
AttributeError: 'FunkyEditor' object has no attribute 'docName'

BTW: the translation is finished as fas as I see. I started from the 
german one.
marave_pl.ts
12.9 KB   View   Download
marave_pl.qm
5.7 KB   Download
Feb 15, 2010
Project Member #1 bdgr...@googlemail.com
same here, can't quit marave. need to kill the app. shortcut and button don't quit
marave.
Feb 15, 2010
Project Member #2 cyberkil...@gmail.com
I can close it quite easily by alt+tabbing to some other window and then right click 
on the kde panel and select close. I think this is connected to showing the file 
changed dialog.
Feb 15, 2010
Project Member #3 roberto.alsina
@2 if it's that, then if you try to close without modifying the document it should work.

Is that the case?

Anyway, it *does* work for me, with the PL locale:

http://twitpic.com/13dyop

I don't know about the buttons in english, I think that's because my system has no PL 
locale in general...

Feb 15, 2010
Project Member #4 roberto.alsina
Oh, I just saw the terminal output... I can fix that!

Feb 15, 2010
Project Member #5 roberto.alsina
Could be fixed in r261
Feb 15, 2010
Project Member #6 cyberkil...@gmail.com
OK, it's fixed. 

Plus: now I saw, that the save/discard/cancel buttons in the file changed dialog 
need to be translated too. Or is that sth connected to PyQt? The right click menu is 
also untranslated (I'm speaking of my system.)
Feb 15, 2010
Project Member #7 roberto.alsina
The right click menu is my fault I think, I forgot to mark it for translation, will do ASAP.

The buttons are generated by Qt, so maybe you need to install some qt-i18n package or 
similar, I will research it later today.
Feb 15, 2010
Project Member #8 roberto.alsina
The right click menu is fixed in r263 (sorry, one new string to translate!)
Feb 15, 2010
Project Member #9 cyberkil...@gmail.com
r263 is ok with the menu and buttons, but the Marave doesn't use the new string in 
the menu
Feb 15, 2010
Project Member #10 cyberkil...@gmail.com
updated polish translation file (I don't know why google doesn't let me commit it to 
svn ;-P )
marave_pl.ts
13.1 KB   View   Download
Feb 15, 2010
Project Member #11 roberto.alsina
That's only used if you right-click on a misspelled word.
Feb 15, 2010
Project Member #12 roberto.alsina
I just committed it. COuld you see if now you have SVN commit rights? Make sure you 
checkout the httpS version :-)

Feb 15, 2010
Project Member #13 cyberkil...@gmail.com
@11 yeah I know ;-P that's where it doesn't work ;-)
Feb 15, 2010
Project Member #14 roberto.alsina
I had placed you as "contributor" but you are now "comitter" so now you should be able to 
commit.
Feb 15, 2010
Project Member #15 cyberkil...@gmail.com
ow, NOW I got svn commit rights ;-) anyway google doesn't want to auth me ;-P

update: hey! I found there's a different pass for googlecode, now it works ;-)
Feb 15, 2010
Project Member #16 roberto.alsina
Ok, the original problem is fixed, so closing the issue.
Status: Fixed