mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-01 00:49:56 +00:00
chore: Tweak logout toast strings
This commit is contained in:
parent
0493f2646f
commit
905dc8235b
|
@ -615,11 +615,11 @@ class GradienceApplication(Adw.Application):
|
||||||
self.plugins_list.apply()
|
self.plugins_list.apply()
|
||||||
|
|
||||||
self.win.toast_overlay.add_toast(
|
self.win.toast_overlay.add_toast(
|
||||||
Adw.Toast(title=_("Preset set successfully. You may need to restart some apps and log out."))
|
Adw.Toast(title=_("Preset has been set. Log out to apply changes."))
|
||||||
)
|
)
|
||||||
|
|
||||||
toast = Adw.Toast()
|
toast = Adw.Toast()
|
||||||
toast.set_title(_("Preset set successfully. You may need to restart some apps and log out."))
|
toast.set_title(_("Preset has been set. Log out to apply changes."))
|
||||||
self.win.toast_overlay.add_toast(toast)
|
self.win.toast_overlay.add_toast(toast)
|
||||||
|
|
||||||
def show_preferences(self, *_args):
|
def show_preferences(self, *_args):
|
||||||
|
|
|
@ -56,7 +56,7 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
toast = Adw.Toast(
|
toast = Adw.Toast(
|
||||||
title=_("GTK 4 preset has been restored. Please log out to apply changes."),
|
title=_("GTK 4 preset has been restored. Log out to apply changes."),
|
||||||
)
|
)
|
||||||
self.parent.add_toast(toast)
|
self.parent.add_toast(toast)
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
toast = Adw.Toast(
|
toast = Adw.Toast(
|
||||||
title=_("GTK 4 theme has been reset. Please log out to apply changes."),
|
title=_("GTK 4 theme has been reset. Log out to apply changes."),
|
||||||
)
|
)
|
||||||
self.parent.add_toast(toast)
|
self.parent.add_toast(toast)
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
toast = Adw.Toast(
|
toast = Adw.Toast(
|
||||||
title=_("GTK 3 preset has been restored. Please log out to apply changes."),
|
title=_("GTK 3 preset has been restored. Log out to apply changes."),
|
||||||
)
|
)
|
||||||
self.parent.add_toast(toast)
|
self.parent.add_toast(toast)
|
||||||
|
|
||||||
|
@ -99,6 +99,6 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
toast = Adw.Toast(
|
toast = Adw.Toast(
|
||||||
title=_("GTK 3 theme has been reset. Please log out to apply changes."),
|
title=_("GTK 3 theme has been reset. Log out to apply changes."),
|
||||||
)
|
)
|
||||||
self.parent.add_toast(toast)
|
self.parent.add_toast(toast)
|
||||||
|
|
Loading…
Reference in a new issue