gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Set a non-persistent settings backend in viewer
17 months ago, Elliott Sales de Andrade
a4ee5a7bbbe9
Set a non-persistent settings backend in viewer
We don't want test or example plugins to write to dconf or the registry just
when viewing them.
Testing Done:
Viewed a plugin with settings, and confirmed that nothing was saved to dconf.
Reviewed at https://reviews.imfreedom.org/r/2147/
if
get_option
(
'nls'
)
i18n
.
gettext
(
GETTEXT_PACKAGE
,
preset
:
'glib'
)
else
summary
(
'translations'
,
'You have disabled installation of translations which means '
+
'English will be the only available language.'
,
section
:
'Warnings'
)
endif