Shortened some translation comments, as Qt says that the entire context of a translation may be no longer than 255 characters.

Updated the translation files while I was at it.
This commit is contained in:
Raoul Snyman 2012-03-17 23:30:53 +02:00
parent 7872ea03b1
commit 7f6ed27040
30 changed files with 64182 additions and 21378 deletions

View File

@ -53,13 +53,10 @@ class AdvancedTab(SettingsTab):
self.defaultServiceMinute = 0 self.defaultServiceMinute = 0
self.defaultServiceName = unicode(translate('OpenLP.AdvancedTab', self.defaultServiceName = 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 ' 'This may not contain any of the following characters: '
'found under Advanced in Settings, Configure OpenLP. Please do not ' '/\\?*|<>\[\]":+\n'
'include any of the following characters: /\\?*|<>\[\]":+\n' 'See http://docs.python.org/library/datetime.html'
'You can use any of the directives as shown on page ' '#strftime-strptime-behavior for more information.'))
'http://docs.python.org/library/datetime.html'
'#strftime-strptime-behavior , but if possible, please keep '
'the resulting string sortable by name.'))
self.defaultImage = u':/graphics/openlp-splash-screen.png' self.defaultImage = u':/graphics/openlp-splash-screen.png'
self.defaultColor = u'#ffffff' self.defaultColor = u'#ffffff'
self.icon_path = u':/system/system_settings.png' self.icon_path = u':/system/system_settings.png'

View File

@ -610,16 +610,11 @@ class ServiceManager(QtGui.QWidget):
time = time.replace(hour=service_hour, minute=service_minute) time = time.replace(hour=service_hour, minute=service_minute)
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',
'Service %Y-%m-%d %H-%M', 'This may not contain any of the following characters: '
'This is the default default service name template, which can ' '/\\?*|<>\[\]":+\nSee http://docs.python.org/library/'
'be found under Advanced in Settings, Configure OpenLP. ' 'datetime.html#strftime-strptime-behavior for more '
'Please do not include any of the following characters: ' 'information.')).toString())
'/\\?*|<>\[\]":+\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)
else: else:
default_filename = u'' default_filename = u''

View File

@ -183,13 +183,8 @@ def update_reference_separators():
""" """
default_separators = unicode(translate('BiblesPlugin', default_separators = unicode(translate('BiblesPlugin',
':|v|V|verse|verses;;-|to;;,|and;;end', ':|v|V|verse|verses;;-|to;;,|and;;end',
'This are 4 values seperated each by two semicolons representing the ' 'Double-semicolon delimited separators for parsing references. '
'seperators for parsing references. This values are verse separators, ' 'Consult the developers for further information.')).split(u';;')
'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';;')
settings = QtCore.QSettings() settings = QtCore.QSettings()
settings.beginGroup(u'bibles') settings.beginGroup(u'bibles')
custom_separators = [ custom_separators = [

View File

@ -177,7 +177,7 @@ class CustomMediaItem(MediaManagerItem):
UiStrings().ConfirmDelete, UiStrings().ConfirmDelete,
translate('CustomPlugin.MediaItem', translate('CustomPlugin.MediaItem',
'Are you sure you want to delete the %n selected custom' 'Are you sure you want to delete the %n selected custom'
' slides(s)?', '', ' slide(s)?', '',
QtCore.QCoreApplication.CodecForTr, len(items)), QtCore.QCoreApplication.CodecForTr, len(items)),
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Yes | QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Yes |
QtGui.QMessageBox.No), QtGui.QMessageBox.No),

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

6878
resources/i18n/da.ts Normal file

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

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

6797
resources/i18n/fi.ts Normal file

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

File diff suppressed because it is too large Load Diff

6801
resources/i18n/it.ts Normal file

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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

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

File diff suppressed because it is too large Load Diff

View File

@ -185,11 +185,11 @@ def download_translations():
**Note:** URLs and headers need to remain strings, not unicode. **Note:** URLs and headers need to remain strings, not unicode.
""" """
global username, password 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') 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 # First get the list of languages
url = SERVER_URL + 'resource/ents/' url = SERVER_URL + 'resource/ents/'
base64string = base64.encodestring( base64string = base64.encodestring(