Skip to content

prefs.js: Fix untranslated texts in prefs

Rastersoft requested to merge fix_translations_in_prefs into master

The current code doesn't show translated sentences in the preferences window, but english ones. This is because the preferences window runs in a different process than gnome-shell, so it must initialize again the gettext environment.

This patch fixes this by calling initTranstations() before creating the preferences widget.

Closes: #94 (closed)

Merge request reports