mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-11-04 20:04:00 +00:00
chore: Tweak logout toast strings
This commit is contained in:
parent
0493f2646f
commit
905dc8235b
2 changed files with 6 additions and 6 deletions
|
@ -615,11 +615,11 @@ class GradienceApplication(Adw.Application):
|
|||
self.plugins_list.apply()
|
||||
|
||||
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.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)
|
||||
|
||||
def show_preferences(self, *_args):
|
||||
|
|
|
@ -56,7 +56,7 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
|||
)
|
||||
else:
|
||||
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)
|
||||
|
||||
|
@ -70,7 +70,7 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
|||
)
|
||||
else:
|
||||
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)
|
||||
|
||||
|
@ -85,7 +85,7 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
|||
)
|
||||
else:
|
||||
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)
|
||||
|
||||
|
@ -99,6 +99,6 @@ class GradienceResetPresetGroup(Adw.PreferencesGroup):
|
|||
)
|
||||
else:
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue