Skip to content

Commit

Permalink
appIcons[Decorator]: Improve wording on updating messages
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Sep 5, 2024
1 parent f4fab6b commit e023157
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ const DockAbstractAppIcon = GObject.registerClass({
if (this.updating) {
const icon = Gio.Icon.new_for_string('action-unavailable-symbolic');
Main.osdWindowManager.show(-1, icon,
_('%s is currently updating, cannot launch it!').format(this.name),
_('%s is updating, try again later').format(this.name),
null);
return;
}
Expand Down Expand Up @@ -1079,7 +1079,7 @@ const DockAppIconMenu = class DockAppIconMenu extends PopupMenu.PopupMenu {
this.removeAll();

const appItemLabel = this.sourceActor.updating
? _('%s is being updated...').format(this.sourceActor.name)
? _('%s is being updated').format(this.sourceActor.name)
: this.sourceActor.name;
this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem(appItemLabel));

Expand Down
2 changes: 1 addition & 1 deletion appIconsDecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class AppIconsDecorator {
if (this.updating) {
const icon = Gio.Icon.new_for_string('action-unavailable-symbolic');
Main.osdWindowManager.show(-1, icon,
_('%s is currently updating, cannot launch it!').format(this.name),
_('%s is updating, try again later').format(this.name),
null);
return;
}
Expand Down

0 comments on commit e023157

Please sign in to comment.