From 1a37ce3e36edeb8a3e7979cf27f47c6e93134505 Mon Sep 17 00:00:00 2001 From: Monster Date: Thu, 28 Mar 2024 19:50:14 +0100 Subject: [PATCH] appFavorites: Better align messages with the HIG Turn the notification strings to title case, remove the periods, make them shorter. --- js/ui/appFavorites.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/appFavorites.js b/js/ui/appFavorites.js index 576df3800..29b83d25b 100644 --- a/js/ui/appFavorites.js +++ b/js/ui/appFavorites.js @@ -163,7 +163,7 @@ class AppFavorites extends Signals.EventEmitter { let app = Shell.AppSystem.get_default().lookup_app(appId); - let msg = _('%s has been pinned to the dash.').format(app.get_name()); + let msg = _('%s Pinned to Dash').format(app.get_name()); Main.overview.setMessage(msg, { forFeedback: true, undoCallback: () => this._removeFavorite(appId), @@ -196,7 +196,7 @@ class AppFavorites extends Signals.EventEmitter { if (!this._removeFavorite(appId)) return; - let msg = _('%s has been unpinned from the dash.').format(app.get_name()); + let msg = _('%s Unpinned From Dash').format(app.get_name()); Main.overview.setMessage(msg, { forFeedback: true, undoCallback: () => this._addFavorite(appId, pos),