po: Add plugin desktop files
Calls preferences will show the name and description of a plugin, so they should be translatable.
This commit is contained in:
@@ -26,12 +26,21 @@ dummy_include = include_directories('.')
|
||||
dummy_install_dir = join_paths(calls_provider_plugin_libdir, 'dummy')
|
||||
|
||||
dummy_plugin = configure_file(
|
||||
input: 'dummy.plugin.in',
|
||||
output: 'dummy.plugin',
|
||||
input: 'dummy.plugin.in.in',
|
||||
output: 'dummy.plugin.in',
|
||||
configuration: config_data,
|
||||
install_dir: dummy_install_dir
|
||||
)
|
||||
|
||||
i18n_plugin = i18n.merge_file(
|
||||
input: dummy_plugin,
|
||||
output: 'dummy.plugin',
|
||||
po_dir: po_dir,
|
||||
type: 'desktop',
|
||||
build_by_default: true,
|
||||
install_dir: dummy_install_dir,
|
||||
)
|
||||
|
||||
|
||||
dummy_deps = [
|
||||
dependency('gobject-2.0'),
|
||||
dependency('gtk+-3.0'),
|
||||
|
@@ -24,12 +24,21 @@
|
||||
mm_install_dir = join_paths(calls_provider_plugin_libdir, 'mm')
|
||||
|
||||
mm_plugin = configure_file(
|
||||
input: 'mm.plugin.in',
|
||||
output: 'mm.plugin',
|
||||
input: 'mm.plugin.in.in',
|
||||
output: 'mm.plugin.in',
|
||||
configuration: config_data,
|
||||
install_dir: mm_install_dir
|
||||
)
|
||||
|
||||
i18n_plugin = i18n.merge_file(
|
||||
input: mm_plugin,
|
||||
output: 'mm.plugin',
|
||||
po_dir: po_dir,
|
||||
type: 'desktop',
|
||||
build_by_default: true,
|
||||
install_dir: mm_install_dir,
|
||||
)
|
||||
|
||||
|
||||
mm_deps = [
|
||||
dependency('gobject-2.0'),
|
||||
dependency('gtk+-3.0'),
|
||||
|
@@ -26,10 +26,18 @@ subdir('libgdbofono')
|
||||
ofono_install_dir = join_paths(calls_provider_plugin_libdir, 'ofono')
|
||||
|
||||
ofono_plugin = configure_file(
|
||||
input: 'ofono.plugin.in',
|
||||
output: 'ofono.plugin',
|
||||
input: 'ofono.plugin.in.in',
|
||||
output: 'ofono.plugin.in',
|
||||
configuration: config_data,
|
||||
install_dir: ofono_install_dir
|
||||
)
|
||||
|
||||
i18n_plugin = i18n.merge_file(
|
||||
input: ofono_plugin,
|
||||
output: 'ofono.plugin',
|
||||
po_dir: po_dir,
|
||||
type: 'desktop',
|
||||
build_by_default: true,
|
||||
install_dir: ofono_install_dir,
|
||||
)
|
||||
|
||||
ofono_deps = [
|
||||
|
@@ -26,12 +26,21 @@ sip_include = include_directories('.')
|
||||
sip_install_dir = join_paths(calls_provider_plugin_libdir, 'sip')
|
||||
|
||||
sip_plugin = configure_file(
|
||||
input: 'sip.plugin.in',
|
||||
output: 'sip.plugin',
|
||||
input: 'sip.plugin.in.in',
|
||||
output: 'sip.plugin.in',
|
||||
configuration: config_data,
|
||||
install_dir: sip_install_dir
|
||||
)
|
||||
|
||||
i18n_plugin = i18n.merge_file(
|
||||
input: sip_plugin,
|
||||
output: 'sip.plugin',
|
||||
po_dir: po_dir,
|
||||
type: 'desktop',
|
||||
build_by_default: true,
|
||||
install_dir: sip_install_dir,
|
||||
)
|
||||
|
||||
|
||||
sip_deps = [
|
||||
dependency('gobject-2.0'),
|
||||
dependency('gstreamer-1.0'),
|
||||
|
Reference in New Issue
Block a user