dash: Use pin instead of favorites
Use the term 'pin' for adding new items to the dash Note that this is only a string change. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4976 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2136>
This commit is contained in:
parent
f094b6ddd6
commit
a67877f520
@ -161,7 +161,7 @@ class AppFavorites {
|
||||
|
||||
let app = Shell.AppSystem.get_default().lookup_app(appId);
|
||||
|
||||
let msg = _("%s has been added to your favorites.").format(app.get_name());
|
||||
let msg = _('%s has been pinned to the dash.').format(app.get_name());
|
||||
Main.overview.setMessage(msg, {
|
||||
forFeedback: true,
|
||||
undoCallback: () => this._removeFavorite(appId),
|
||||
@ -194,7 +194,7 @@ class AppFavorites {
|
||||
if (!this._removeFavorite(appId))
|
||||
return;
|
||||
|
||||
let msg = _("%s has been removed from your favorites.").format(app.get_name());
|
||||
let msg = _('%s has been unpinned from the dash.').format(app.get_name());
|
||||
Main.overview.setMessage(msg, {
|
||||
forFeedback: true,
|
||||
undoCallback: () => this._addFavorite(appId, pos),
|
||||
|
@ -160,8 +160,8 @@ var AppMenu = class AppMenu extends PopupMenu.PopupMenu {
|
||||
|
||||
const { id } = this._app;
|
||||
this._toggleFavoriteItem.label.text = this._appFavorites.isFavorite(id)
|
||||
? _('Remove from Favorites')
|
||||
: _('Add to Favorites');
|
||||
? _('Unpin')
|
||||
: _('Pin to Dash');
|
||||
}
|
||||
|
||||
_updateGpuItem() {
|
||||
|
@ -242,7 +242,7 @@ class ShowAppsIcon extends DashItemContainer {
|
||||
this._iconActor.set_hover(canRemove);
|
||||
|
||||
if (canRemove)
|
||||
this.setLabelText(_("Remove from Favorites"));
|
||||
this.setLabelText(_('Unpin'));
|
||||
else
|
||||
this.setLabelText(_("Show Applications"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user