forked from openlp/openlp
Head r1910
This commit is contained in:
commit
a21ab3859b
@ -53,13 +53,10 @@ class AdvancedTab(SettingsTab):
|
||||
self.defaultServiceMinute = 0
|
||||
self.defaultServiceName = unicode(translate('OpenLP.AdvancedTab',
|
||||
'Service %Y-%m-%d %H-%M',
|
||||
'This is the default default service name template, which can be '
|
||||
'found under Advanced in Settings, Configure OpenLP. 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.'))
|
||||
'This may not contain any of the following characters: '
|
||||
'/\\?*|<>\[\]":+\n'
|
||||
'See http://docs.python.org/library/datetime.html'
|
||||
'#strftime-strptime-behavior for more information.'))
|
||||
self.defaultImage = u':/graphics/openlp-splash-screen.png'
|
||||
self.defaultColor = u'#ffffff'
|
||||
self.icon_path = u':/system/system_settings.png'
|
||||
|
@ -609,16 +609,11 @@ class ServiceManager(QtGui.QWidget):
|
||||
time = time.replace(hour=service_hour, minute=service_minute)
|
||||
default_pattern = unicode(QtCore.QSettings().value(
|
||||
u'advanced/default service name',
|
||||
translate('OpenLP.AdvancedTab',
|
||||
'Service %Y-%m-%d %H-%M',
|
||||
'This is the default default service name template, which can '
|
||||
'be found under Advanced in Settings, Configure OpenLP. '
|
||||
'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())
|
||||
translate('OpenLP.AdvancedTab', 'Service %Y-%m-%d %H-%M',
|
||||
'This may not contain any of the following characters: '
|
||||
'/\\?*|<>\[\]":+\nSee http://docs.python.org/library/'
|
||||
'datetime.html#strftime-strptime-behavior for more '
|
||||
'information.')).toString())
|
||||
default_filename = time.strftime(default_pattern)
|
||||
else:
|
||||
default_filename = u''
|
||||
|
@ -183,13 +183,8 @@ def update_reference_separators():
|
||||
"""
|
||||
default_separators = unicode(translate('BiblesPlugin',
|
||||
':|v|V|verse|verses;;-|to;;,|and;;end',
|
||||
'This are 4 values seperated each by two semicolons representing the '
|
||||
'seperators for parsing references. This values are verse separators, '
|
||||
'range separators, list separators and end mark. Alternative values '
|
||||
'to be seperated by a vertical bar "|". In this case the first value '
|
||||
'is the default and used for the display format. If a semicolon should '
|
||||
'be used you have to give an alternative separator afterwards to allow '
|
||||
'OpenLP correct splitting of the translation.')).split(u';;')
|
||||
'Double-semicolon delimited separators for parsing references. '
|
||||
'Consult the developers for further information.')).split(u';;')
|
||||
settings = QtCore.QSettings()
|
||||
settings.beginGroup(u'bibles')
|
||||
custom_separators = [
|
||||
|
@ -177,7 +177,7 @@ class CustomMediaItem(MediaManagerItem):
|
||||
UiStrings().ConfirmDelete,
|
||||
translate('CustomPlugin.MediaItem',
|
||||
'Are you sure you want to delete the %n selected custom'
|
||||
' slides(s)?', '',
|
||||
' slide(s)?', '',
|
||||
QtCore.QCoreApplication.CodecForTr, len(items)),
|
||||
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Yes |
|
||||
QtGui.QMessageBox.No),
|
||||
|
2081
resources/i18n/af.ts
2081
resources/i18n/af.ts
File diff suppressed because it is too large
Load Diff
2194
resources/i18n/cs.ts
2194
resources/i18n/cs.ts
File diff suppressed because it is too large
Load Diff
6878
resources/i18n/da.ts
Normal file
6878
resources/i18n/da.ts
Normal file
File diff suppressed because it is too large
Load Diff
2069
resources/i18n/de.ts
2069
resources/i18n/de.ts
File diff suppressed because it is too large
Load Diff
2423
resources/i18n/el.ts
2423
resources/i18n/el.ts
File diff suppressed because it is too large
Load Diff
4898
resources/i18n/en.ts
4898
resources/i18n/en.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
3091
resources/i18n/es.ts
3091
resources/i18n/es.ts
File diff suppressed because it is too large
Load Diff
2069
resources/i18n/et.ts
2069
resources/i18n/et.ts
File diff suppressed because it is too large
Load Diff
6797
resources/i18n/fi.ts
Normal file
6797
resources/i18n/fi.ts
Normal file
File diff suppressed because it is too large
Load Diff
4181
resources/i18n/fr.ts
4181
resources/i18n/fr.ts
File diff suppressed because it is too large
Load Diff
2122
resources/i18n/hu.ts
2122
resources/i18n/hu.ts
File diff suppressed because it is too large
Load Diff
2534
resources/i18n/id.ts
2534
resources/i18n/id.ts
File diff suppressed because it is too large
Load Diff
6801
resources/i18n/it.ts
Normal file
6801
resources/i18n/it.ts
Normal file
File diff suppressed because it is too large
Load Diff
2939
resources/i18n/ja.ts
2939
resources/i18n/ja.ts
File diff suppressed because it is too large
Load Diff
2658
resources/i18n/ko.ts
2658
resources/i18n/ko.ts
File diff suppressed because it is too large
Load Diff
2943
resources/i18n/nb.ts
2943
resources/i18n/nb.ts
File diff suppressed because it is too large
Load Diff
3092
resources/i18n/nl.ts
3092
resources/i18n/nl.ts
File diff suppressed because it is too large
Load Diff
6799
resources/i18n/pl.ts
Normal file
6799
resources/i18n/pl.ts
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
3239
resources/i18n/ru.ts
3239
resources/i18n/ru.ts
File diff suppressed because it is too large
Load Diff
4566
resources/i18n/sq.ts
4566
resources/i18n/sq.ts
File diff suppressed because it is too large
Load Diff
2664
resources/i18n/sv.ts
2664
resources/i18n/sv.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -185,11 +185,11 @@ def download_translations():
|
||||
**Note:** URLs and headers need to remain strings, not unicode.
|
||||
"""
|
||||
global username, password
|
||||
if not username:
|
||||
username = raw_input(u'Transifex username: ')
|
||||
if not password:
|
||||
password = getpass(u'Transifex password: ')
|
||||
print_quiet(u'Download translation files from Transifex')
|
||||
if not username:
|
||||
username = raw_input(u' Transifex username: ')
|
||||
if not password:
|
||||
password = getpass(u' Transifex password: ')
|
||||
# First get the list of languages
|
||||
url = SERVER_URL + 'resource/ents/'
|
||||
base64string = base64.encodestring(
|
||||
|
Loading…
Reference in New Issue
Block a user