mirror of https://gitlab.com/openlp/openlp.git
r1515
This commit is contained in:
commit
7a84e6e263
|
@ -85,7 +85,8 @@ base_html_expands.append({u'desc': u'Underline', u'start tag': u'{u}',
|
|||
u'end tag': u'{/u}', u'end html': u'</span>', u'protected': True})
|
||||
|
||||
def translate(context, text, comment=None,
|
||||
encoding=QtCore.QCoreApplication.CodecForTr, n=-1):
|
||||
encoding=QtCore.QCoreApplication.CodecForTr, n=-1,
|
||||
translate=QtCore.QCoreApplication.translate):
|
||||
"""
|
||||
A special shortcut method to wrap around the Qt4 translation functions.
|
||||
This abstracts the translation procedure so that we can change it if at a
|
||||
|
@ -102,8 +103,7 @@ def translate(context, text, comment=None,
|
|||
An identifying string for when the same text is used in different roles
|
||||
within the same context.
|
||||
"""
|
||||
return QtCore.QCoreApplication.translate(
|
||||
context, text, comment, encoding, n)
|
||||
return translate(context, text, comment, encoding, n)
|
||||
|
||||
def get_text_file_string(text_file):
|
||||
"""
|
||||
|
|
1683
resources/i18n/af.ts
1683
resources/i18n/af.ts
File diff suppressed because it is too large
Load Diff
3550
resources/i18n/cs.ts
3550
resources/i18n/cs.ts
File diff suppressed because it is too large
Load Diff
1602
resources/i18n/de.ts
1602
resources/i18n/de.ts
File diff suppressed because it is too large
Load Diff
1491
resources/i18n/en.ts
1491
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
1491
resources/i18n/es.ts
1491
resources/i18n/es.ts
File diff suppressed because it is too large
Load Diff
1495
resources/i18n/et.ts
1495
resources/i18n/et.ts
File diff suppressed because it is too large
Load Diff
1491
resources/i18n/fr.ts
1491
resources/i18n/fr.ts
File diff suppressed because it is too large
Load Diff
1559
resources/i18n/hu.ts
1559
resources/i18n/hu.ts
File diff suppressed because it is too large
Load Diff
2699
resources/i18n/id.ts
2699
resources/i18n/id.ts
File diff suppressed because it is too large
Load Diff
1495
resources/i18n/ja.ts
1495
resources/i18n/ja.ts
File diff suppressed because it is too large
Load Diff
1491
resources/i18n/ko.ts
1491
resources/i18n/ko.ts
File diff suppressed because it is too large
Load Diff
2030
resources/i18n/nb.ts
2030
resources/i18n/nb.ts
File diff suppressed because it is too large
Load Diff
1495
resources/i18n/nl.ts
1495
resources/i18n/nl.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1495
resources/i18n/ru.ts
1495
resources/i18n/ru.ts
File diff suppressed because it is too large
Load Diff
1491
resources/i18n/sv.ts
1491
resources/i18n/sv.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue