[pitivi] mainwindow.py Fix string concatenation. Fixes #593962



commit 015d05908fce6e67e1f4d9292c34b20ce74c01ab
Author: Claude Paroz <claude 2xlibre net>
Date:   Fri Nov 27 08:21:42 2009 +0100

    mainwindow.py Fix string concatenation. Fixes #593962

 pitivi/ui/mainwindow.py |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 48ca119..7abb95c 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -818,10 +818,9 @@ class PitiviMainWindow(gtk.Window, Loggable):
         dialog.set_border_width(12)
         dialog.get_content_area().set_spacing(6)
 
-        text = _("The following file has moved," +
-            " please tell PiTiVi where to find it.") + "\n\n" + \
-            beautify_factory(factory) + "\n" +\
-            _("<b>Duration:</b>") + beautify_length(factory.duration)
+        text = _("The following file has moved, please tell PiTiVi where to find it.") + \
+            "\n\n" + beautify_factory(factory) + "\n" + \
+            "<b>%s</b>" % _("Duration:") + beautify_length(factory.duration)
 
         label = gtk.Label()
         label.set_markup(text)



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