Merge pull request #219 from MotoQuick/patch-1
Labels are now replaced with capital letters in the beginning
This commit is contained in:
commit
393fb2ed55
|
@ -207,20 +207,20 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
|
||||||
cairo_set_font_size(ctx, 28.0);
|
cairo_set_font_size(ctx, 28.0);
|
||||||
switch (auth_state) {
|
switch (auth_state) {
|
||||||
case STATE_AUTH_VERIFY:
|
case STATE_AUTH_VERIFY:
|
||||||
text = "verifying…";
|
text = "Verifying…";
|
||||||
break;
|
break;
|
||||||
case STATE_AUTH_LOCK:
|
case STATE_AUTH_LOCK:
|
||||||
text = "locking…";
|
text = "Locking…";
|
||||||
break;
|
break;
|
||||||
case STATE_AUTH_WRONG:
|
case STATE_AUTH_WRONG:
|
||||||
text = "wrong!";
|
text = "Wrong!";
|
||||||
break;
|
break;
|
||||||
case STATE_I3LOCK_LOCK_FAILED:
|
case STATE_I3LOCK_LOCK_FAILED:
|
||||||
text = "lock failed!";
|
text = "Lock failed!";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (unlock_state == STATE_NOTHING_TO_DELETE) {
|
if (unlock_state == STATE_NOTHING_TO_DELETE) {
|
||||||
text = "no input";
|
text = "No input";
|
||||||
}
|
}
|
||||||
if (show_failed_attempts && failed_attempts > 0) {
|
if (show_failed_attempts && failed_attempts > 0) {
|
||||||
if (failed_attempts > 999) {
|
if (failed_attempts > 999) {
|
||||||
|
|
Loading…
Reference in New Issue