diff --git a/.gitignore b/.gitignore index 77585ec..11da693 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.blend1 *.blend2 *.blend3 +/locale /schemas/gschemas.compiled /resources/burn-my-windows.gresource /resources/burn-my-windows.gresource.xml \ No newline at end of file diff --git a/po/burn-my-windows.pot b/po/burn-my-windows.pot index 998acde..a9c5f3b 100644 --- a/po/burn-my-windows.pot +++ b/po/burn-my-windows.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Burn-My-Windows\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-01-28 14:59+0100\n" +"POT-Creation-Date: 2022-01-28 20:08+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,7 +17,13 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: prefs.js:355 +#. Translators: %s will be replaced by the effect's name. +#: prefs.js:336 +#, javascript-format +msgid "Preview for %s" +msgstr "" + +#: prefs.js:356 msgid "Close this Window to Preview the Effect!" msgstr "" diff --git a/prefs.js b/prefs.js index 2d5d93a..26e2a23 100644 --- a/prefs.js +++ b/prefs.js @@ -332,7 +332,8 @@ var PreferencesDialog = class PreferencesDialog { // Create the preview-window. const window = new Gtk.Window({ - title: `Preview for ${Effect.getLabel()}`, + // Translators: %s will be replaced by the effect's name. + title: _('Preview for %s').replace("%s", Effect.getLabel()), default_width: 800, default_height: 450, modal: true, diff --git a/resources/ui/gtk3/prefs.ui b/resources/ui/gtk3/prefs.ui index 708d1f5..b52ebf4 100644 --- a/resources/ui/gtk3/prefs.ui +++ b/resources/ui/gtk3/prefs.ui @@ -1,5 +1,5 @@ - + diff --git a/resources/ui/gtk4/prefs.ui b/resources/ui/gtk4/prefs.ui index a4182b1..02ea86b 100644 --- a/resources/ui/gtk4/prefs.ui +++ b/resources/ui/gtk4/prefs.ui @@ -1,5 +1,5 @@ - +