From 62d4db0c82335436bbe951b3d2cc9dfa6457a29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20P=C3=B5ldaru?= Date: Wed, 18 Jan 2012 21:16:50 +0200 Subject: [PATCH] Added a comment for translators. --- openlp/core/ui/advancedtab.py | 9 ++++++++- openlp/core/ui/servicemanager.py | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/advancedtab.py b/openlp/core/ui/advancedtab.py index 6a0483e93..9752a1fea 100644 --- a/openlp/core/ui/advancedtab.py +++ b/openlp/core/ui/advancedtab.py @@ -51,7 +51,14 @@ class AdvancedTab(SettingsTab): self.default_service_hour = 11 self.default_service_minute = 0 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_color = u'#ffffff' self.icon_path = u':/system/system_settings.png' diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 44a9cb6de..af8c97235 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -631,7 +631,14 @@ class ServiceManager(QtGui.QWidget): default_pattern = unicode(QtCore.QSettings().value( u'advanced/default service name', 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) directory = unicode(SettingsManager.get_last_dir( self.mainwindow.servicemanagerSettingsSection))