Skip to content

Commit

Permalink
Make the 'Pin to Dock' label translatable
Browse files Browse the repository at this point in the history
With the single underscore (_) we can re-use original translation.
However, for the 'Pin to Dock' there's no match since GNOME 42-47 original label is 'Pin to Dash'.
Using two underscores (__) as a translation function resolves issue 2330
  • Loading branch information
xalt7x committed Nov 12, 2024
1 parent 846f1fd commit 60b4527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ const DockAppIconMenu = class DockAppIconMenu extends PopupMenu.PopupMenu {
favs.removeFavorite(app.get_id());
});
} else {
const item = this._appendMenuItem(_('Pin to Dock'));
const item = this._appendMenuItem(__('Pin to Dock'));
item.connect('activate', () => {
const favs = AppFavorites.getAppFavorites();
favs.addFavorite(app.get_id());
Expand Down

0 comments on commit 60b4527

Please sign in to comment.