forked from openlp/openlp
Added a comment for translators.
This commit is contained in:
parent
8601a47dce
commit
62d4db0c82
@ -51,7 +51,14 @@ class AdvancedTab(SettingsTab):
|
|||||||
self.default_service_hour = 11
|
self.default_service_hour = 11
|
||||||
self.default_service_minute = 0
|
self.default_service_minute = 0
|
||||||
self.default_service_name = unicode(translate('OpenLP.AdvancedTab',
|
self.default_service_name = unicode(translate('OpenLP.AdvancedTab',
|
||||||
'Service %Y-%m-%d %H-%M'))
|
'Service %Y-%m-%d %H-%M',
|
||||||
|
'This is the default default service name template, which can be '
|
||||||
|
'found in Advanced tab under Tools, Settings. Please do not '
|
||||||
|
'include any of the following characters: /\\?*|<>\[\]":+\n'
|
||||||
|
'You can use any of the directives as shown on page '
|
||||||
|
'http://docs.python.org/library/datetime.html'
|
||||||
|
'#strftime-strptime-behavior , but if possible, please keep '
|
||||||
|
'the resulting string sortable by name.'))
|
||||||
self.default_image = u':/graphics/openlp-splash-screen.png'
|
self.default_image = u':/graphics/openlp-splash-screen.png'
|
||||||
self.default_color = u'#ffffff'
|
self.default_color = u'#ffffff'
|
||||||
self.icon_path = u':/system/system_settings.png'
|
self.icon_path = u':/system/system_settings.png'
|
||||||
|
@ -631,7 +631,14 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
default_pattern = unicode(QtCore.QSettings().value(
|
default_pattern = unicode(QtCore.QSettings().value(
|
||||||
u'advanced/default service name',
|
u'advanced/default service name',
|
||||||
translate('OpenLP.AdvancedTab',
|
translate('OpenLP.AdvancedTab',
|
||||||
'Service %Y-%m-%d %H-%M')).toString())
|
'Service %Y-%m-%d %H-%M',
|
||||||
|
'This is the default default service name template, which can be '
|
||||||
|
'found in Advanced tab under Tools, Settings. Please do not '
|
||||||
|
'include any of the following characters: /\\?*|<>\[\]":+\n'
|
||||||
|
'You can use any of the directives as shown on page '
|
||||||
|
'http://docs.python.org/library/datetime.html'
|
||||||
|
'#strftime-strptime-behavior , but if possible, please keep '
|
||||||
|
'the resulting string sortable by name.')).toString())
|
||||||
default_filename = time.strftime(default_pattern)
|
default_filename = time.strftime(default_pattern)
|
||||||
directory = unicode(SettingsManager.get_last_dir(
|
directory = unicode(SettingsManager.get_last_dir(
|
||||||
self.mainwindow.servicemanagerSettingsSection))
|
self.mainwindow.servicemanagerSettingsSection))
|
||||||
|
Loading…
Reference in New Issue
Block a user