[ocrfeeder] Fix misplaced parenthesis. This caused the string to not appear translated



commit ab516ea5611addd4e7e2bc6f30bf0b6f07e21f69
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Sat Apr 20 12:07:43 2013 +0200

    Fix misplaced parenthesis. This caused the string to not appear translated

 src/ocrfeeder/studio/widgetModeler.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/ocrfeeder/studio/widgetModeler.py b/src/ocrfeeder/studio/widgetModeler.py
index 4bbf734..eb6aef4 100644
--- a/src/ocrfeeder/studio/widgetModeler.py
+++ b/src/ocrfeeder/studio/widgetModeler.py
@@ -823,9 +823,9 @@ class ImageReviewer_Controler:
                 confirm_overwrite = gtk.MessageDialog(type = gtk.MESSAGE_QUESTION)
                 message = _('<b>A file named "%(name)s" already exists. Do you want '
                             'to replace it?</b>\n\nThe file exists in "%(dir)s". '
-                            'Replacing it will overwrite its contents.' %
-                            {'name': os.path.basename(file_name),
-                             'dir': os.path.dirname(file_name)})
+                            'Replacing it will overwrite its contents.') % {
+                             'name': os.path.basename(file_name),
+                             'dir': os.path.dirname(file_name)}
                 confirm_overwrite.set_markup(message)
                 confirm_overwrite.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL)
                 confirm_overwrite.add_button(_('Replace'), gtk.RESPONSE_OK)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]