Merge branch 'main' into feature/esm-modules

This commit is contained in:
Simon Schneegans
2023-08-06 19:31:12 +02:00
25 changed files with 148 additions and 55 deletions
+8
View File
@@ -5,6 +5,14 @@ SPDX-License-Identifier: CC-BY-4.0
# Changelog of the Burn-My-Windows Extension
## [Burn My Windows 36](https://github.com/schneegans/Burn-My-Windows/releases/tag/v36)
**Release Date:** TBD
#### New Features
- Two convenience buttons have been added to the preferences dialog. One allows you to select all effects, the other one allows you to deselect all effects.
## [Burn My Windows 35](https://github.com/schneegans/Burn-My-Windows/releases/tag/v35)
**Release Date:** 2023-07-03
+6 -6
View File
@@ -8,16 +8,16 @@ msgstr ""
"Project-Id-Version: burn-my-windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 21:54+0200\n"
"PO-Revision-Date: 2023-05-14 23:48+0000\n"
"PO-Revision-Date: 2023-07-23 08:05+0000\n"
"Last-Translator: Reza Almanda <rezaalmanda27@gmail.com>\n"
"Language-Team: Indonesian <https://hosted.weblate.org/projects/burn-my-"
"windows/core/id/>\n"
"Language-Team: Indonesian <https://hosted.weblate.org/projects/"
"burn-my-windows/core/id/>\n"
"Language: id\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.18-dev\n"
"X-Generator: Weblate 5.0-dev\n"
#: src/ProfileManager.js:175 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
@@ -159,7 +159,7 @@ msgstr "Matriks"
#: src/effects/PaintBrush.js:102
msgid "Paint Brush"
msgstr ""
msgstr "Kuas Cat"
#: src/effects/Pixelate.js:74
msgid "Pixelate"
@@ -546,7 +546,7 @@ msgstr "Ukuran Piksel"
#: resources/ui/gtk4/paint-brush.ui:69 resources/ui/adw/paint-brush.ui:47
msgid "Brush Size"
msgstr ""
msgstr "Ukuran Kuas"
#: resources/ui/gtk4/trex.ui:69 resources/ui/adw/trex.ui:47
msgid "Claw Scratch Scale"
+4 -4
View File
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Burn-My-Windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 21:54+0200\n"
"PO-Revision-Date: 2023-02-25 03:39+0000\n"
"PO-Revision-Date: 2023-07-27 15:06+0000\n"
"Last-Translator: albanobattistella <albano_battistella@hotmail.com>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/burn-my-windows/"
"core/it/>\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16-dev\n"
"X-Generator: Weblate 5.0-dev\n"
#: src/ProfileManager.js:175 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
@@ -159,7 +159,7 @@ msgstr "Matrix"
#: src/effects/PaintBrush.js:102
msgid "Paint Brush"
msgstr ""
msgstr "Pennello"
#: src/effects/Pixelate.js:74
msgid "Pixelate"
@@ -546,7 +546,7 @@ msgstr "Dimensione pixel"
#: resources/ui/gtk4/paint-brush.ui:69 resources/ui/adw/paint-brush.ui:47
msgid "Brush Size"
msgstr ""
msgstr "Dimensioni pennello"
#: resources/ui/gtk4/trex.ui:69 resources/ui/adw/trex.ui:47
msgid "Claw Scratch Scale"
+4 -4
View File
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Burn-My-Windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 21:54+0200\n"
"PO-Revision-Date: 2023-03-17 10:41+0000\n"
"PO-Revision-Date: 2023-07-05 14:51+0000\n"
"Last-Translator: Philip Goto <philip.goto@gmail.com>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/burn-my-windows/"
"core/nl/>\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.2-dev\n"
"X-Generator: Weblate 5.0-dev\n"
#: src/ProfileManager.js:175 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
@@ -159,7 +159,7 @@ msgstr "Matrix"
#: src/effects/PaintBrush.js:102
msgid "Paint Brush"
msgstr ""
msgstr "Verfkwast"
#: src/effects/Pixelate.js:74
msgid "Pixelate"
@@ -545,7 +545,7 @@ msgstr "Pixelgrootte"
#: resources/ui/gtk4/paint-brush.ui:69 resources/ui/adw/paint-brush.ui:47
msgid "Brush Size"
msgstr ""
msgstr "Kwastgrootte"
#: resources/ui/gtk4/trex.ui:69 resources/ui/adw/trex.ui:47
msgid "Claw Scratch Scale"
+5 -5
View File
@@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: burn-my-windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 21:54+0200\n"
"PO-Revision-Date: 2023-03-07 08:41+0000\n"
"Last-Translator: Jose Riha <jose1711@gmail.com>\n"
"PO-Revision-Date: 2023-07-23 08:05+0000\n"
"Last-Translator: Milan Šalka <salka.milan@googlemail.com>\n"
"Language-Team: Slovak <https://hosted.weblate.org/projects/burn-my-windows/"
"core/sk/>\n"
"Language: sk\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 4.16.2-dev\n"
"X-Generator: Weblate 5.0-dev\n"
#: src/ProfileManager.js:175 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
@@ -159,7 +159,7 @@ msgstr "Matrix"
#: src/effects/PaintBrush.js:102
msgid "Paint Brush"
msgstr ""
msgstr "Štetec na maľovanie"
#: src/effects/Pixelate.js:74
msgid "Pixelate"
@@ -544,7 +544,7 @@ msgstr "Veľkosť štvorčeka"
#: resources/ui/gtk4/paint-brush.ui:69 resources/ui/adw/paint-brush.ui:47
msgid "Brush Size"
msgstr ""
msgstr "Veľkosť štetca"
#: resources/ui/gtk4/trex.ui:69 resources/ui/adw/trex.ui:47
msgid "Claw Scratch Scale"
+18 -5
View File
@@ -222,6 +222,19 @@ export default class ExtensionPreferences {
// This is our top-level widget which we will return later.
this._widget = this._builder.get_object('general-prefs');
// Add the functionality to the choose-all and choose-none buttons.
this._builder.get_object('choose-all-effects-button').connect('clicked', () => {
this._ALL_EFFECTS.forEach(effect => {
this.getProfileSettings().set_boolean(`${effect.getNick()}-enable-effect`, true);
});
});
this._builder.get_object('choose-no-effects-button').connect('clicked', () => {
this._ALL_EFFECTS.forEach(effect => {
this.getProfileSettings().set_boolean(`${effect.getNick()}-enable-effect`, false);
});
});
// Then add a preferences group for the effect expander rows.
const group = this._builder.get_object('effects-group');
@@ -322,12 +335,12 @@ export default class ExtensionPreferences {
}
});
this._effectRows.push(row);
row.add_action(previewButton);
row.add_action(button);
} else {
row.add_suffix(previewButton);
row.add_suffix(button);
}
row.add_prefix(button);
row.add_prefix(previewButton);
group.add(row);
@@ -346,9 +359,9 @@ export default class ExtensionPreferences {
{label: effect.getLabel(), hexpand: true, halign: Gtk.Align.START});
label.get_style_context().add_class('heading');
this.gtkBoxAppend(header, button);
this.gtkBoxAppend(header, label);
this.gtkBoxAppend(header, previewButton);
this.gtkBoxAppend(header, label);
this.gtkBoxAppend(header, button);
this.gtkBoxAppend(container, header);
if (hasPrefs) {
+7 -7
View File
@@ -221,10 +221,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
<property name="margin-bottom">20</property>
<property name="margin-start">20</property>
<property name="margin-end">20</property>
<property name="title" translatable="yes">Effect Settings</property>
<property name="title" translatable="yes">Effect Selection</property>
<property name="description" translatable="yes">If multiple are selected, one is chosen randomly.</property>
<!-- <child type="header-suffix">
<child type="header-suffix">
<object class="GtkBox">
<property name="valign">center</property>
<style>
@@ -232,19 +232,19 @@ SPDX-License-Identifier: GPL-3.0-or-later
</style>
<child>
<object class="GtkButton">
<property name="icon-name">bmw-copy-effects-symbolic</property>
<object class="GtkButton" id="choose-all-effects-button">
<property name="label" translatable="yes">All</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">bmw-paste-effects-symbolic</property>
<object class="GtkButton" id="choose-no-effects-button">
<property name="label" translatable="yes">None</property>
</object>
</child>
</object>
</child> -->
</child>
</object>
</child>
</object>
+48 -12
View File
@@ -120,19 +120,55 @@ SPDX-License-Identifier: GPL-3.0-or-later
<property name="spacing">5</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Effect Settings</property>
<property name="halign">start</property>
<style>
<class name="heading" />
</style>
</object>
</child>
<object class="GtkBox">
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">If multiple are selected, one is chosen randomly.</property>
<property name="halign">start</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<property name="hexpand">true</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Effect Selection</property>
<property name="halign">start</property>
<style>
<class name="heading" />
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">If multiple are selected, one is chosen randomly.</property>
<property name="halign">start</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="valign">center</property>
<style>
<class name="linked" />
</style>
<child>
<object class="GtkButton" id="choose-all-effects-button">
<property name="label" translatable="yes">All</property>
</object>
</child>
<child>
<object class="GtkButton" id="choose-no-effects-button">
<property name="label" translatable="yes">None</property>
</object>
</child>
</object>
</child>
</object>
</child>
+48 -12
View File
@@ -78,19 +78,55 @@ SPDX-License-Identifier: GPL-3.0-or-later
<property name="spacing">5</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Effect Settings</property>
<property name="halign">start</property>
<style>
<class name="heading" />
</style>
</object>
</child>
<object class="GtkBox">
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">If multiple are selected, one is chosen randomly.</property>
<property name="halign">start</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<property name="hexpand">true</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Effect Selection</property>
<property name="halign">start</property>
<style>
<class name="heading" />
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">If multiple are selected, one is chosen randomly.</property>
<property name="halign">start</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="valign">center</property>
<style>
<class name="linked" />
</style>
<child>
<object class="GtkButton" id="choose-all-effects-button">
<property name="label" translatable="yes">All</property>
</object>
</child>
<child>
<object class="GtkButton" id="choose-no-effects-button">
<property name="label" translatable="yes">None</property>
</object>
</child>
</object>
</child>
</object>
</child>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB