From f06cfee4145a61e7710c9a8761844594c10ce9e0 Mon Sep 17 00:00:00 2001 From: Romain Vigier Date: Tue, 16 Aug 2022 09:51:45 +0200 Subject: [PATCH] Background Button: Change unsupported image format notification message --- src/po/nightthemeswitcher@romainvigier.fr.pot | 4 ++-- src/preferences/BackgroundButton.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/po/nightthemeswitcher@romainvigier.fr.pot b/src/po/nightthemeswitcher@romainvigier.fr.pot index e9851d4..ac40d36 100644 --- a/src/po/nightthemeswitcher@romainvigier.fr.pot +++ b/src/po/nightthemeswitcher@romainvigier.fr.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: nightthemeswitcher@romainvigier.fr\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-08-16 09:46+0200\n" +"POT-Creation-Date: 2022-08-16 09:49+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -169,7 +169,7 @@ msgid ":" msgstr "" #: src/preferences/BackgroundButton.js:69 -msgid "Only JPEG, PNG, TIFF, SVG and XML files can be set as background image." +msgid "This image format is not supported." msgstr "" #: src/preferences/ContributePage.js:16 diff --git a/src/preferences/BackgroundButton.js b/src/preferences/BackgroundButton.js index c6bcbdc..aa85d7f 100644 --- a/src/preferences/BackgroundButton.js +++ b/src/preferences/BackgroundButton.js @@ -66,7 +66,7 @@ var BackgroundButton = GObject.registerClass({ } else { if (this.root instanceof Adw.PreferencesWindow) { this.root.add_toast(new Adw.Toast({ - title: _('Only JPEG, PNG, TIFF, SVG and XML files can be set as background image.'), + title: _('This image format is not supported.'), timeout: 10, })); }