🔧 Add another translatable string

This commit is contained in:
Simon Schneegans
2022-01-28 20:09:19 +01:00
parent b95fbac409
commit 357c506370
5 changed files with 13 additions and 5 deletions
+1
View File
@@ -3,6 +3,7 @@
*.blend1
*.blend2
*.blend3
/locale
/schemas/gschemas.compiled
/resources/burn-my-windows.gresource
/resources/burn-my-windows.gresource.xml
+8 -2
View File
@@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""
+2 -1
View File
@@ -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,
+1 -1
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<interface domain="burn-my-windows">
<requires lib="gtk" version="3.0" />
<menu id="close-effect-menu"></menu>
+1 -1
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<interface domain="burn-my-windows">
<requires lib="gtk" version="4.0" />
<menu id="close-effect-menu"></menu>