13
0

wscript: Fix i18n names for tk

This commit is contained in:
Mads Kiilerich 2024-10-21 22:12:23 +02:00 committed by Robin Gareus
parent b5d6b97fd2
commit 8e2a9dfd91
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -314,14 +314,14 @@ def build(bld):
lang = os.path.basename(mo.srcpath()).replace('.mo', '')
bld.install_as(os.path.join(bld.env['LOCALEDIR'], lang, 'LC_MESSAGES', I18N_PACKAGE + bld.env['MAJOR'] + '.mo'),
mo)
def i18n(bld):
def i18n_func(bld):
autowaf.build_i18n(bld, '.', 'libs/tk/ytk', I18N_PACKAGE + bld.env['MAJOR'], libytk_sources)
def i18n_pot(bld):
def i18n_pot_func(bld):
autowaf.build_i18n(bld, '.', 'libs/tk/ytk', I18N_PACKAGE + bld.env['MAJOR'], libytk_sources)
def i18n_po(bld):
def i18n_po_func(bld):
autowaf.build_i18n_po(bld, '.', 'libs/tk/ytk', I18N_PACKAGE + bld.env['MAJOR'], libytk_sources)
def i18n_mo(bld):
def i18n_mo_func(bld):
autowaf.build_i18n_mo(bld, '.', 'libs/tk/ytk', I18N_PACKAGE + bld.env['MAJOR'], libytk_sources)