cleanup: Always use single quotes
We have made good progress with transitioning to the new style, to the point where we can complete it with a final push. Start with changing the remaining places that still use double quotes. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:

committed by
Marge Bot

parent
77fdfba45c
commit
6a22af83dc
@ -20,12 +20,12 @@ export class EntryMenu extends PopupMenu.PopupMenu {
|
||||
|
||||
// Populate menu
|
||||
let item;
|
||||
item = new PopupMenu.PopupMenuItem(_("Copy"));
|
||||
item = new PopupMenu.PopupMenuItem(_('Copy'));
|
||||
item.connect('activate', this._onCopyActivated.bind(this));
|
||||
this.addMenuItem(item);
|
||||
this._copyItem = item;
|
||||
|
||||
item = new PopupMenu.PopupMenuItem(_("Paste"));
|
||||
item = new PopupMenu.PopupMenuItem(_('Paste'));
|
||||
item.connect('activate', this._onPasteActivated.bind(this));
|
||||
this.addMenuItem(item);
|
||||
this._pasteItem = item;
|
||||
@ -77,9 +77,9 @@ export class EntryMenu extends PopupMenu.PopupMenu {
|
||||
|
||||
_updatePasswordItem() {
|
||||
if (!this._entry.password_visible)
|
||||
this._passwordItem.label.set_text(_("Show Text"));
|
||||
this._passwordItem.label.set_text(_('Show Text'));
|
||||
else
|
||||
this._passwordItem.label.set_text(_("Hide Text"));
|
||||
this._passwordItem.label.set_text(_('Hide Text'));
|
||||
}
|
||||
|
||||
_onCopyActivated() {
|
||||
|
Reference in New Issue
Block a user