From e730c3b480e5959e655f7622462f77ff39e5b6fc Mon Sep 17 00:00:00 2001 From: Dominic Radermacher Date: Mon, 11 Aug 2025 15:09:36 +0200 Subject: [PATCH] better help text for newline arg, rename build script --- README | 2 +- build.sh => compile.sh | 0 po/de.po | 10 +++++----- po/en.po | 10 +++++----- po/ptouch.pot | 10 +++++----- src/ptouch-print.c | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) rename build.sh => compile.sh (100%) diff --git a/README b/README index b3e6a6b..7e2e0f3 100644 --- a/README +++ b/README @@ -16,7 +16,7 @@ https://dominic.familie-radermacher.ch/projekte/ptouch-print/ Compile instructions: -./build.sh +./compile.sh Note: diff --git a/build.sh b/compile.sh similarity index 100% rename from build.sh rename to compile.sh diff --git a/po/de.po b/po/de.po index e54c3f4..ca344fd 100644 --- a/po/de.po +++ b/po/de.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ptouch-print 1.3.1\n" "Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n" -"POT-Creation-Date: 2025-08-11 09:46+0200\n" +"POT-Creation-Date: 2025-08-11 09:57+0200\n" "PO-Revision-Date: 2024-05-23 22:27-0400\n" "Last-Translator: dominic@familie-radermacher.ch\n" "Language-Team: German \n" @@ -267,22 +267,22 @@ msgstr "" msgid "Options --force_tape_width and --info can't be used together" msgstr "" -#: src/ptouch-print.c:610 +#: src/ptouch-print.c:609 #, c-format msgid "ptouch_init() failed\n" msgstr "ptouch_init() fehlgeschlagen\n" -#: src/ptouch-print.c:613 +#: src/ptouch-print.c:612 #, c-format msgid "ptouch_getstatus() failed\n" msgstr "ptouch_getstatus() fehlgeschlagen\n" -#: src/ptouch-print.c:627 +#: src/ptouch-print.c:626 #, fuzzy, c-format msgid "maximum printing width for this printer is %ldpx\n" msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n" -#: src/ptouch-print.c:628 +#: src/ptouch-print.c:627 #, fuzzy, c-format msgid "maximum printing width for this tape is %ldpx\n" msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n" diff --git a/po/en.po b/po/en.po index c6eb2d8..bb3c2c1 100644 --- a/po/en.po +++ b/po/en.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ptouch-print 1.3.1\n" "Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n" -"POT-Creation-Date: 2025-08-11 09:46+0200\n" +"POT-Creation-Date: 2025-08-11 09:57+0200\n" "PO-Revision-Date: 2024-05-23 22:26-0400\n" "Last-Translator: dominic@familie-radermacher.ch\n" "Language-Team: English \n" @@ -267,22 +267,22 @@ msgstr "" msgid "Options --force_tape_width and --info can't be used together" msgstr "" -#: src/ptouch-print.c:610 +#: src/ptouch-print.c:609 #, c-format msgid "ptouch_init() failed\n" msgstr "ptouch_init() failed\n" -#: src/ptouch-print.c:613 +#: src/ptouch-print.c:612 #, c-format msgid "ptouch_getstatus() failed\n" msgstr "ptouch_getstatus() failed\n" -#: src/ptouch-print.c:627 +#: src/ptouch-print.c:626 #, fuzzy, c-format msgid "maximum printing width for this printer is %ldpx\n" msgstr "maximum printing width for this tape is %ipx\n" -#: src/ptouch-print.c:628 +#: src/ptouch-print.c:627 #, fuzzy, c-format msgid "maximum printing width for this tape is %ldpx\n" msgstr "maximum printing width for this tape is %ipx\n" diff --git a/po/ptouch.pot b/po/ptouch.pot index d7ac264..92904d9 100644 --- a/po/ptouch.pot +++ b/po/ptouch.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ptouch-print\n" "Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n" -"POT-Creation-Date: 2025-08-11 09:46+0200\n" +"POT-Creation-Date: 2025-08-11 10:05+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -265,22 +265,22 @@ msgstr "" msgid "Options --force_tape_width and --info can't be used together" msgstr "" -#: src/ptouch-print.c:610 +#: src/ptouch-print.c:609 #, c-format msgid "ptouch_init() failed\n" msgstr "" -#: src/ptouch-print.c:613 +#: src/ptouch-print.c:612 #, c-format msgid "ptouch_getstatus() failed\n" msgstr "" -#: src/ptouch-print.c:627 +#: src/ptouch-print.c:626 #, c-format msgid "maximum printing width for this printer is %ldpx\n" msgstr "" -#: src/ptouch-print.c:628 +#: src/ptouch-print.c:627 #, c-format msgid "maximum printing width for this tape is %ldpx\n" msgstr "" diff --git a/src/ptouch-print.c b/src/ptouch-print.c index 33424a5..eb64564 100644 --- a/src/ptouch-print.c +++ b/src/ptouch-print.c @@ -94,7 +94,7 @@ static struct argp_option options[] = { { "cutmark", 'c', 0, 0, "Print a mark where the tape should be cut", 2}, { "pad", 'p', "", 0, "Add n pixels padding (blank tape)", 2}, { "chain", 10, 0, 0, "Skip final feed of label and any automatic cut", 2}, - { "newline", 'n', "", 0, "Add 1-4 lines for multiline text", 2}, + { "newline", 'n', "", 0, "Add text in a new line (up to 4 lines)", 2}, { 0, 0, 0, 0, "other commands:", 3}, { "info", 20, 0, 0, "Show info about detected tape", 3},