mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
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:
parent
22bcd46a26
commit
42b456f03a
9 changed files with 51 additions and 12 deletions
|
@ -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'),
|
||||
|
|
|
@ -20,9 +20,13 @@ src/ui/history-box.ui
|
|||
src/ui/main-window.ui
|
||||
src/ui/new-call-box.ui
|
||||
src/ui/new-call-header-bar.ui
|
||||
plugins/provider/dummy/dummy.plugin.in.in
|
||||
plugins/provider/mm/mm.plugin.in.in
|
||||
plugins/provider/mm/calls-mm-call.c
|
||||
plugins/provider/mm/calls-mm-provider.c
|
||||
plugins/provider/ofono/ofono.plugin.in.in
|
||||
plugins/provider/ofono/calls-ofono-provider.c
|
||||
plugins/provider/sip/sip.plugin.in.in
|
||||
plugins/provider/sip/calls-sip-account-widget.c
|
||||
plugins/provider/sip/calls-sip-call.c
|
||||
plugins/provider/sip/sip-account-widget.ui
|
||||
|
|
Loading…
Reference in a new issue