zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #00821
french translation bug preventing deleting a file
Hi all.
A short note for French users. It seems that the French translation
embedded with the last Ubuntu package (zim 0.47) or in the trunk (r276)
is buggy : When you try to delete a page from a notebook, nothing
happens. Here's the traceback :
###
DEBUG: Action: delete_page
DEBUG: Pageindex has focus
Traceback (most recent call last):
File "/media/datas/apps/src/zim/zim/gui/__init__.py", line 1053, in
delete_page
DeletePageDialog(self, path).run()
File "/media/datas/apps/src/zim/zim/gui/__init__.py", line 2308, in
__init__
'Remove links from %i pages linking to this page', i) % i
TypeError: not all arguments converted during string formatting
###
The problem comes from the singular form of the checkbox label used to
delete backlinks in the 'delete page' dialog.
The last French translation in launchpad is correct, thanks to Raphaël
Hertzog.
If you run zim from source (r276 or earlier), you can bypass this bug by
editing the po/fr.po file (line 959) :
Replace :
"Supprimer les liens de la page pointant sur cette page"
by :
"Supprimer les liens de %i page pointant sur cette page"
Then, run './setup.py build_trans' in the source folder to update the
translation.
Regards
--
Rui Nibau
Développeur web, rédacteur scientifique
email : rui.nibau@xxxxxxxxxxxxxxx
jabber: rui.nibau@xxxxxxxxxxxxxxx
site : http://omacronides.com
Attachment:
signature.asc
Description: Ceci est une partie de message numériquement signée
Follow ups