forked from openlp/openlp
Fix about dialog from translators
This commit is contained in:
parent
50ceb568e5
commit
ae8b2d051a
@ -154,114 +154,147 @@ class UiAboutDialog(object):
|
|||||||
'zh_CN': [' "executor" ']
|
'zh_CN': [' "executor" ']
|
||||||
}
|
}
|
||||||
documentors = ['Wesley "wrst" Stout', 'John "jseagull1" Cegalis (lead)']
|
documentors = ['Wesley "wrst" Stout', 'John "jseagull1" Cegalis (lead)']
|
||||||
|
project_lead = translate('OpenLP.AboutForm', 'Project Lead')
|
||||||
|
devs = translate('OpenLP.AboutForm', 'Developers')
|
||||||
|
cons = translate('OpenLP.AboutForm', 'Contributors')
|
||||||
|
packs = translate('OpenLP.AboutForm', 'Packagers')
|
||||||
|
tests = translate('OpenLP.AboutForm', 'Testers')
|
||||||
|
laters = translate('OpenLP.AboutForm', 'Translators')
|
||||||
|
af = translate('OpenLP.AboutForm', 'Afrikaans (af)')
|
||||||
|
cs = translate('OpenLP.AboutForm', 'Czech (cs)')
|
||||||
|
da = translate('OpenLP.AboutForm', 'Danish (da)')
|
||||||
|
de = translate('OpenLP.AboutForm', 'German (de)')
|
||||||
|
el = translate('OpenLP.AboutForm', 'Greek (el)')
|
||||||
|
gb = translate('OpenLP.AboutForm', 'English, United Kingdom (en_GB)')
|
||||||
|
enza = translate('OpenLP.AboutForm', 'English, South Africa (en_ZA)')
|
||||||
|
es = translate('OpenLP.AboutForm', 'Spanish (es)')
|
||||||
|
et = translate('OpenLP.AboutForm', 'Estonian (et)')
|
||||||
|
fi = translate('OpenLP.AboutForm', 'Finnish (fi)')
|
||||||
|
fr = translate('OpenLP.AboutForm', 'French (fr)')
|
||||||
|
hu = translate('OpenLP.AboutForm', 'Hungarian (hu)')
|
||||||
|
id = translate('OpenLP.AboutForm', 'Indonesian (id)')
|
||||||
|
ja = translate('OpenLP.AboutForm', 'Japanese (ja)')
|
||||||
|
nb = translate('OpenLP.AboutForm', 'Norwegian Bokm\xe5l (nb)')
|
||||||
|
nl = translate('OpenLP.AboutForm', 'Dutch (nl)')
|
||||||
|
pl = translate('OpenLP.AboutForm', 'Polish (pl)')
|
||||||
|
ptbr = translate('OpenLP.AboutForm', 'Portuguese, Brazil (pt_BR)')
|
||||||
|
ru = translate('OpenLP.AboutForm', 'Russian (ru)')
|
||||||
|
sv = translate('OpenLP.AboutForm', 'Swedish (sv)')
|
||||||
|
talk = translate('OpenLP.AboutForm', 'Tamil(Sri-Lanka) (ta_LK)')
|
||||||
|
zhcn = translate('OpenLP.AboutForm', 'Chinese(China) (zh_CN)')
|
||||||
|
documentation = translate('OpenLP.AboutForm', 'Documentation')
|
||||||
|
built_with = translate('OpenLP.AboutForm', 'Built With\n'
|
||||||
|
' Python: http://www.python.org/\n'
|
||||||
|
' Qt4: http://qt.io\n'
|
||||||
|
' PyQt4: http://www.riverbankcomputing.co.uk/software/pyqt/intro\n'
|
||||||
|
' Oxygen Icons: http://techbase.kde.org/Projects/Oxygen/\n'
|
||||||
|
' MuPDF: http://www.mupdf.com/\n')
|
||||||
|
final_credit = translate('OpenLP.AboutForm', 'Final Credit\n'
|
||||||
|
' "For God so loved the world that He gave\n'
|
||||||
|
' His one and only Son, so that whoever\n'
|
||||||
|
' believes in Him will not perish but inherit\n'
|
||||||
|
' eternal life." -- John 3:16\n\n'
|
||||||
|
' And last but not least, final credit goes to\n'
|
||||||
|
' God our Father, for sending His Son to die\n'
|
||||||
|
' on the cross, setting us free from sin. We\n'
|
||||||
|
' bring this software to you for free because\n'
|
||||||
|
' He has set us free.')
|
||||||
self.credits_text_edit.setPlainText(
|
self.credits_text_edit.setPlainText(
|
||||||
translate('OpenLP.AboutForm',
|
'%s\n'
|
||||||
'Project Lead\n'
|
' %s\n'
|
||||||
' %s\n'
|
'\n'
|
||||||
'\n'
|
'%s\n'
|
||||||
'Developers\n'
|
' %s\n'
|
||||||
' %s\n'
|
'\n'
|
||||||
'\n'
|
'%s\n'
|
||||||
'Contributors\n'
|
' %s\n'
|
||||||
' %s\n'
|
'\n'
|
||||||
'\n'
|
'%s\n'
|
||||||
'Testers\n'
|
' %s\n'
|
||||||
' %s\n'
|
'\n'
|
||||||
'\n'
|
'%s\n'
|
||||||
'Packagers\n'
|
' %s\n'
|
||||||
' %s\n'
|
'\n'
|
||||||
'\n'
|
'%s\n'
|
||||||
'Translators\n'
|
' %s\n'
|
||||||
' Afrikaans (af)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Czech (cs)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Danish (da)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' German (de)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Greek (el)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' English, United Kingdom (en_GB)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' English, South Africa (en_ZA)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Spanish (es)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Estonian (et)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Finnish (fi)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' French (fr)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Hungarian (hu)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Indonesian (id)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Japanese (ja)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Norwegian Bokm\xe5l (nb)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Dutch (nl)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Polish (pl)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Portuguese, Brazil (pt_BR)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Russian (ru)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Swedish (sv)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Tamil(Sri-Lanka) (ta_LK)\n'
|
' %s\n'
|
||||||
' %s\n'
|
' %s\n'
|
||||||
' Chinese(China) (zh_CN)\n'
|
' %s\n'
|
||||||
' %s\n'
|
'\n'
|
||||||
'\n'
|
'%s\n'
|
||||||
'Documentation\n'
|
' %s\n'
|
||||||
' %s\n'
|
'\n'
|
||||||
'\n'
|
'%s\n%s' %
|
||||||
'Built With\n'
|
(project_lead, lead,
|
||||||
' Python: http://www.python.org/\n'
|
devs, '\n '.join(developers),
|
||||||
' Qt4: http://qt.io\n'
|
cons, '\n '.join(contributors),
|
||||||
' PyQt4: http://www.riverbankcomputing.co.uk/software/pyqt/intro\n'
|
tests, '\n '.join(testers),
|
||||||
' Oxygen Icons: http://techbase.kde.org/Projects/Oxygen/\n'
|
packs, '\n '.join(packagers),
|
||||||
' MuPDF: http://www.mupdf.com/\n'
|
laters,
|
||||||
'\n'
|
af, '\n '.join(translators['af']),
|
||||||
'Final Credit\n'
|
cs, '\n '.join(translators['cs']),
|
||||||
' "For God so loved the world that He gave\n'
|
da, '\n '.join(translators['da']),
|
||||||
' His one and only Son, so that whoever\n'
|
de, '\n '.join(translators['de']),
|
||||||
' believes in Him will not perish but inherit\n'
|
el, '\n '.join(translators['el']),
|
||||||
' eternal life." -- John 3:16\n\n'
|
gb, '\n '.join(translators['en_GB']),
|
||||||
' And last but not least, final credit goes to\n'
|
enza, '\n '.join(translators['en_ZA']),
|
||||||
' God our Father, for sending His Son to die\n'
|
es, '\n '.join(translators['es']),
|
||||||
' on the cross, setting us free from sin. We\n'
|
et, '\n '.join(translators['et']),
|
||||||
' bring this software to you for free because\n'
|
fi, '\n '.join(translators['fi']),
|
||||||
' He has set us free.') %
|
fr, '\n '.join(translators['fr']),
|
||||||
(lead, '\n '.join(developers),
|
hu, '\n '.join(translators['hu']),
|
||||||
'\n '.join(contributors), '\n '.join(testers),
|
id, '\n '.join(translators['id']),
|
||||||
'\n '.join(packagers), '\n '.join(translators['af']),
|
ja, '\n '.join(translators['ja']),
|
||||||
'\n '.join(translators['cs']),
|
nb, '\n '.join(translators['nb']),
|
||||||
'\n '.join(translators['da']),
|
nl, '\n '.join(translators['nl']),
|
||||||
'\n '.join(translators['de']),
|
pl, '\n '.join(translators['pl']),
|
||||||
'\n '.join(translators['el']),
|
ptbr, '\n '.join(translators['pt_BR']),
|
||||||
'\n '.join(translators['en_GB']),
|
ru, '\n '.join(translators['ru']),
|
||||||
'\n '.join(translators['en_ZA']),
|
sv, '\n '.join(translators['sv']),
|
||||||
'\n '.join(translators['es']),
|
talk, '\n '.join(translators['ta_LK']),
|
||||||
'\n '.join(translators['et']),
|
zhcn, '\n '.join(translators['zh_CN']),
|
||||||
'\n '.join(translators['fi']),
|
documentation, '\n '.join(documentors),
|
||||||
'\n '.join(translators['fr']),
|
built_with, final_credit))
|
||||||
'\n '.join(translators['hu']),
|
|
||||||
'\n '.join(translators['id']),
|
|
||||||
'\n '.join(translators['ja']),
|
|
||||||
'\n '.join(translators['nb']),
|
|
||||||
'\n '.join(translators['nl']),
|
|
||||||
'\n '.join(translators['pl']),
|
|
||||||
'\n '.join(translators['pt_BR']),
|
|
||||||
'\n '.join(translators['ru']),
|
|
||||||
'\n '.join(translators['sv']),
|
|
||||||
'\n '.join(translators['ta_LK']),
|
|
||||||
'\n '.join(translators['zh_CN']),
|
|
||||||
'\n '.join(documentors)))
|
|
||||||
self.about_notebook.setTabText(self.about_notebook.indexOf(self.credits_tab),
|
self.about_notebook.setTabText(self.about_notebook.indexOf(self.credits_tab),
|
||||||
translate('OpenLP.AboutForm', 'Credits'))
|
translate('OpenLP.AboutForm', 'Credits'))
|
||||||
copyright_note = translate('OpenLP.AboutForm',
|
copyright_note = translate('OpenLP.AboutForm',
|
||||||
|
Loading…
Reference in New Issue
Block a user