Skip to content

plugins: Allow translations of the plugins files

The plugin files are not translatable at the moment. This is due to two issues.

The first issue lies in the fact that, even though the plugin uses the Desktop entry specification[0], it is not recongnized as such by gettext because it uses the file extension to detect the supported files.

The second issue resides in the translatable entries used by the plugin files: Name and Description. Although Name is part of the default keyworks, Description is not.

As a workaround for these problems, the files has been renamed to include the desktop extension, which helps gettext detecting the plugin files. After the translation merge process they are renamed to their right name without the desktop extension.

The default procedure to extract the translatable strings and merge them has also been changed.

[0] https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

Fixes #141

Edited by Iñigo Martínez

Merge request reports