openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #10459
[Merge] lp:~googol-hush/openlp/theme into lp:openlp
Andreas Preikschat has proposed merging lp:~googol-hush/openlp/theme into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~googol-hush/openlp/theme/+merge/65905
Hello,
When you copy a theme we used to "suggest" the theme's name as new theme. This change displays "Copy of <theme name>" instead (such as a file on your hard drive is renamed when you copy it).
--
https://code.launchpad.net/~googol-hush/openlp/theme/+merge/65905
Your team OpenLP Core is requested to review the proposed merge of lp:~googol-hush/openlp/theme into lp:openlp.
=== modified file 'openlp/core/ui/thememanager.py'
--- openlp/core/ui/thememanager.py 2011-06-12 16:02:52 +0000
+++ openlp/core/ui/thememanager.py 2011-06-26 17:37:32 +0000
@@ -299,6 +299,9 @@
"""
item = self.themeListWidget.currentItem()
oldThemeName = unicode(item.data(QtCore.Qt.UserRole).toString())
+ oldThemeName = unicode(
+ translate('OpenLP.ThemeManager', 'Copy of %s',
+ 'Copy of <theme name>')) % oldThemeName
self.fileRenameForm.fileNameEdit.setText(oldThemeName)
if self.fileRenameForm.exec_(True):
newThemeName = unicode(self.fileRenameForm.fileNameEdit.text())
Follow ups