diff options
author | Felix Riemann <friemann@gnome.org> | 2021-12-30 00:00:56 +0100 |
---|---|---|
committer | Felix Riemann <friemann@gnome.org> | 2021-12-30 00:00:56 +0100 |
commit | 6e00b0c2aba3247279cfef3a42ff03ba1e931542 (patch) | |
tree | e57a6ff34325edce41a3ee5523b248dc4fbd7721 /plugins | |
parent | 13cc7f3ce84a43c4a12ce632c106c6a0cc0ca3c7 (diff) | |
download | eog-6e00b0c2aba3247279cfef3a42ff03ba1e931542.tar.gz |
plugins: Revert renaming of .plugin files
A part of e1e6a83a was renaming the .plugin.desktop.in files to just
.plugin.in. While merging translations works, extracting the translatable
strings does not as gettext doesn't recognize the ".plugin" extension.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/fullscreen/fullscreen.plugin.desktop.in (renamed from plugins/fullscreen/fullscreen.plugin.in) | 0 | ||||
-rw-r--r-- | plugins/meson.build | 7 | ||||
-rw-r--r-- | plugins/reload/reload.plugin.desktop.in (renamed from plugins/reload/reload.plugin.in) | 0 | ||||
-rw-r--r-- | plugins/statusbar-date/statusbar-date.plugin.desktop.in (renamed from plugins/statusbar-date/statusbar-date.plugin.in) | 0 |
4 files changed, 5 insertions, 2 deletions
diff --git a/plugins/fullscreen/fullscreen.plugin.in b/plugins/fullscreen/fullscreen.plugin.desktop.in index 51cc07a5..51cc07a5 100644 --- a/plugins/fullscreen/fullscreen.plugin.in +++ b/plugins/fullscreen/fullscreen.plugin.desktop.in diff --git a/plugins/meson.build b/plugins/meson.build index fea407a5..83f77aa4 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -17,11 +17,14 @@ foreach plugin: plugins install_dir: eog_pluginsdir, ) + # FIXME: Remove `args` parameter when gettext acquires plugin support. # http://lists.gnu.org/archive/html/bug-gettext/2017-06/msg00001.html + # NOTE: We need to keep the .desktop suffix on the source file to be able + # to extract translatable strings. .plugin is not recognized. i18n.merge_file( - input: f'@plugin@/@plugin@.plugin.in', - output: '@BASENAME@', + input: f'@plugin@/@plugin@.plugin.desktop.in', + output: f'@plugin@.plugin', po_dir: po_dir, type: 'desktop', args: ['--keyword=Name', '--keyword=Description'], diff --git a/plugins/reload/reload.plugin.in b/plugins/reload/reload.plugin.desktop.in index b4637b43..b4637b43 100644 --- a/plugins/reload/reload.plugin.in +++ b/plugins/reload/reload.plugin.desktop.in diff --git a/plugins/statusbar-date/statusbar-date.plugin.in b/plugins/statusbar-date/statusbar-date.plugin.desktop.in index 78f69ae1..78f69ae1 100644 --- a/plugins/statusbar-date/statusbar-date.plugin.in +++ b/plugins/statusbar-date/statusbar-date.plugin.desktop.in |