Add i18n basic structure

Closes #3.
This commit is contained in:
Claude Paroz
2018-09-07 09:47:52 +02:00
parent d25101db4a
commit f45e4d613f
6 changed files with 37 additions and 0 deletions

View File

@@ -60,8 +60,11 @@ calls_dummy_sources = ['calls-dummy-call.c', 'calls-dummy-call.h',
'calls-dummy-provider.c', 'calls-dummy-provider.h',
]
prefix = get_option('prefix')
config_data = configuration_data()
config_data.set_quoted('APP_ID', calls_id)
config_data.set_quoted('GETTEXT_PACKAGE', calls_name)
config_data.set_quoted('LOCALEDIR', join_paths(prefix, get_option('localedir')))
config_data.set_quoted('PACKAGE_URL', calls_homepage)
config_data.set_quoted('PACKAGE_VERSION', calls_version)
config_data.set_quoted('VCS_TAG', '@VCS_TAG@')