GNOME Bugzilla – Bug 593962
Bad string concatenation in gettext call (mainwindow.py)
Last modified: 2009-11-27 07:23:59 UTC
You cannot concatenate string with the '+' operator inside a gettext call, because xgettext won't properly extract the string. I can understand you want to be pep-8 compatible, but please, let strings get over the 80 caracters per line limit when it makes sense. - text = _("The following file has moved," + - " please tell PiTiVi where to find it.") + "\n\n" + \ + text = _("The following file has moved, please tell PiTiVi where to find it.") + \ + "\n\n" + \
Created attachment 142351 [details] [review] Fix string concatenation In the patch, I also removed the bold markup from the translatable part of the "Duration" string, as it is better i18n practice.
commit 015d05908fce6e67e1f4d9292c34b20ce74c01ab Author: Claude Paroz <claude@2xlibre.net> Date: Fri Nov 27 08:21:42 2009 +0100 mainwindow.py Fix string concatenation. Fixes #593962