Commit abcce04c authored by bertagaz's avatar bertagaz
Browse files

Fix tails-screen-locker wording.

Refs: #5684
parent ea7b9012
...@@ -106,20 +106,20 @@ class PasswordDialog(object): ...@@ -106,20 +106,20 @@ class PasswordDialog(object):
self.pw = None self.pw = None
self.window = Gtk.Window( self.window = Gtk.Window(
title=_("Set a screen lock password"), title=_("Set up a password to unlock the screen"),
type_hint=Gdk.WindowTypeHint.DIALOG type_hint=Gdk.WindowTypeHint.DIALOG
) )
self.window.connect("key-press-event", self.on_key_pressed) self.window.connect("key-press-event", self.on_key_pressed)
label1 = Gtk.Label( label1 = Gtk.Label(
label=_("New password"), label=_("Password"),
justify=Gtk.Justification.RIGHT, justify=Gtk.Justification.RIGHT,
xalign=1 xalign=1
) )
label1.get_style_context().add_class("dim-label") label1.get_style_context().add_class("dim-label")
label2 = Gtk.Label( label2 = Gtk.Label(
label=_("Confirm password"), label=_("Confirm"),
justify=Gtk.Justification.RIGHT, justify=Gtk.Justification.RIGHT,
xalign=1 xalign=1
) )
...@@ -144,7 +144,7 @@ class PasswordDialog(object): ...@@ -144,7 +144,7 @@ class PasswordDialog(object):
grid.attach(self.entry2, 1, 1, 1, 1) grid.attach(self.entry2, 1, 1, 1, 1)
self.ok_button = Gtk.Button( self.ok_button = Gtk.Button(
label=_("Lock"), label=_("Lock screen"),
width_request=86, width_request=86,
receives_default=True, receives_default=True,
sensitive=False sensitive=False
......
...@@ -75,7 +75,7 @@ const Extension = new Lang.Class({ ...@@ -75,7 +75,7 @@ const Extension = new Lang.Class({
this._restartButton = this.statusMenu._createActionButton('view-refresh-symbolic', _("Restart")); this._restartButton = this.statusMenu._createActionButton('view-refresh-symbolic', _("Restart"));
this._restartButtonId = this._restartButton.connect('clicked', Lang.bind(this, this._onRestartClicked)); this._restartButtonId = this._restartButton.connect('clicked', Lang.bind(this, this._onRestartClicked));
this._lockScreenButton = this.statusMenu._createActionButton('changes-prevent-symbolic', _("Lock")); this._lockScreenButton = this.statusMenu._createActionButton('changes-prevent-symbolic', _("Lock screen"));
this._lockScreenButtonId = this._lockScreenButton.connect('clicked', Lang.bind(this, this._onLockClicked)); this._lockScreenButtonId = this._lockScreenButton.connect('clicked', Lang.bind(this, this._onLockClicked));
this._poweroffButton = this.statusMenu._createActionButton('system-shutdown-symbolic', _("Power Off")); this._poweroffButton = this.statusMenu._createActionButton('system-shutdown-symbolic', _("Power Off"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment