13
0

new i18n targets (to be explained in TRANSLATORS)

git-svn-id: svn://localhost/ardour2/branches/3.0@10743 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-21 21:27:30 +00:00
parent 3a4848d055
commit 6567c1ba0a
5 changed files with 54 additions and 6 deletions

View File

@ -15,8 +15,9 @@ MICRO = '0'
GTK2_ARDOUR_VERSION = "%s.%s.%s" % (MAJOR, MINOR, MICRO)
# Variables for 'waf dist'
APPNAME = 'gtk2_ardour'
APPNAME = 'gtk2_ardour3'
VERSION = GTK2_ARDOUR_VERSION
I18N_PACKAGE = 'gtk2_ardour3'
# Mandatory variables
top = '.'
@ -637,5 +638,17 @@ def build(bld):
mo)
def i18n(bld):
autowaf.build_i18n(bld, top, 'gtk2_ardour', APPNAME, gtk2_ardour_sources,
autowaf.build_i18n(bld, top, 'gtk2_ardour', I18N_PACKAGE, gtk2_ardour_sources,
'Paul Davis')
def i18n_pot(bld):
autowaf.build_i18n_pot(bld, top, 'gtk2_ardour', I18N_PACKAGE, gtk2_ardour_sources,
'Paul Davis')
def i18n_po(bld):
autowaf.build_i18n_po(bld, top, 'gtk2_ardour', I18N_PACKAGE, gtk2_ardour_sources,
'Paul Davis')
def i18n_mo(bld):
autowaf.build_i18n_mo(bld, top, 'gtk2_ardour', I18N_PACKAGE, gtk2_ardour_sources,
'Paul Davis')

View File

@ -21,8 +21,9 @@ LIBARDOUR_LIB_VERSION = '3.0.0'
CURRENT_SESSION_FILE_VERSION = 3000
# Variables for 'waf dist'
APPNAME = 'libardour'
APPNAME = 'libardour3'
VERSION = LIBARDOUR_VERSION
I18N_PACKAGE = 'libardour3'
# Mandatory variables
top = '.'
@ -454,5 +455,17 @@ def shutdown():
autowaf.shutdown()
def i18n(bld):
autowaf.build_i18n(bld, top, 'libs/ardour', APPNAME, libardour_sources,
autowaf.build_i18n(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
'Paul Davis')
def i18n_pot(bld):
autowaf.build_i18n(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
'Paul Davis')
def i18n_po(bld):
autowaf.build_i18n_po(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
'Paul Davis')
def i18n_mo(bld):
autowaf.build_i18n_mo(bld, top, 'libs/ardour', I18N_PACKAGE, libardour_sources,
'Paul Davis')

View File

@ -17,6 +17,7 @@ GTKMM2EXT_LIB_VERSION = '0.8.3'
# Variables for 'waf dist'
APPNAME = 'gtkmm2ext'
VERSION = GTKMM2EXT_VERSION
I18N_PACKAGE = 'gtkmm2ext3'
gtkmm2ext_sources = [
'actions.cc',
@ -106,7 +107,19 @@ def build(bld):
mo)
def i18n(bld):
autowaf.build_i18n(bld, top, 'libs/gtkmm2ext', APPNAME, gtkmm2ext_sources,
autowaf.build_i18n(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
'Paul Davis')
def i18n_pot(bld):
autowaf.build_i18n_pot(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
'Paul Davis')
def i18n_po(bld):
autowaf.build_i18n_po(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
'Paul Davis')
def i18n_mo(bld):
autowaf.build_i18n_mo(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources,
'Paul Davis')
def shutdown():

BIN
waf vendored

Binary file not shown.

11
wscript
View File

@ -9,7 +9,7 @@ import sys
# Variables for 'waf dist'
VERSION = '3.0beta1a'
APPNAME = 'Ardour'
APPNAME = 'Ardour3'
# Mandatory variables
top = '.'
@ -668,3 +668,12 @@ def build(bld):
def i18n(bld):
bld.recurse (i18n_children)
def i18n_pot(bld):
bld.recurse (i18n_children)
def i18n_po(bld):
bld.recurse (i18n_children)
def i18n_mo(bld):
bld.recurse (i18n_children)