Skip to content

Commit 9b20764

Browse files
author
Gustaf Haglund
committed
UI language
1 parent 2f4749b commit 9b20764

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ For other use cases, e.g seeing how much toner is left:
2727

2828
$ ./bin/gurich -s
2929
[...]
30-
Printer state: GOOD / ENERGY SAVING MODE 2 / IDLE, reference: 0x31
31-
Printer toner information: 80 % left
30+
Printer status: GOOD / ENERGY SAVING MODE 2 / IDLE, reference: 0x31
31+
Printer toner: 80 % left
3232
Printed out pages (stats): 301
3333

3434
$ ./bin/gurich -h

src/gurich.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ static void display_status(struct gurich_usb * g)
6666
snprintf(
6767
inkstr,
6868
75,
69-
"Printer toner information: %d %% left %s",
69+
"Printer toner: %d %% left %s",
7070
ink,
7171
(ink <= 10 ? "- please consider buying more toner" : "")
7272
);
7373

74-
printf("Printer state: %s, reference: 0x%hx\n", data.status, data.ref);
74+
printf("Printer status: %s, reference: 0x%hx\n", data.status, data.ref);
7575
puts(inkstr);
7676
printf("Printed out pages (stats): %d\n", pr);
7777
}

0 commit comments

Comments
 (0)