1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2026-02-04 03:14:42 +00:00

fix strange output when calling ptouch-print --help multiple times

This commit is contained in:
Dominic Radermacher
2026-01-23 08:12:51 +01:00
parent 5cbc680f63
commit 3e026ef26b
4 changed files with 96 additions and 97 deletions

View File

@@ -6,9 +6,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: ptouch-print 1.3.1\n" "Project-Id-Version: ptouch-print 1.7\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n" "Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2025-12-08 15:27+0100\n" "POT-Creation-Date: 2026-01-23 08:02+0100\n"
"PO-Revision-Date: 2024-05-23 22:27-0400\n" "PO-Revision-Date: 2024-05-23 22:27-0400\n"
"Last-Translator: dominic@familie-radermacher.ch\n" "Last-Translator: dominic@familie-radermacher.ch\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n" "Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
@@ -155,149 +155,149 @@ msgstr ""
msgid "debug: called ptouch_sendraster() with NULL ptdev\n" msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:152 #: src/ptouch-print.c:151
#, c-format #, c-format
msgid "nothing to print\n" msgid "nothing to print\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:160 #: src/ptouch-print.c:159
#, c-format #, c-format
msgid "image is too large (%ipx x %ipx)\n" msgid "image is too large (%ipx x %ipx)\n"
msgstr "Bild ist zu gross (%ipx x %ipx)\n" msgstr "Bild ist zu gross (%ipx x %ipx)\n"
#: src/ptouch-print.c:161 #: src/ptouch-print.c:160
#, c-format #, c-format
msgid "maximum printing width for this tape is %ipx\n" msgid "maximum printing width for this tape is %ipx\n"
msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n" msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n"
#: src/ptouch-print.c:164 #: src/ptouch-print.c:163
#, fuzzy, c-format #, fuzzy, c-format
msgid "image size (%ipx x %ipx)\n" msgid "image size (%ipx x %ipx)\n"
msgstr "Bild ist zu gross (%ipx x %ipx)\n" msgstr "Bild ist zu gross (%ipx x %ipx)\n"
#: src/ptouch-print.c:174 #: src/ptouch-print.c:173
#, c-format #, c-format
msgid "ptouch_rasterstart() failed\n" msgid "ptouch_rasterstart() failed\n"
msgstr "ptouch_rasterstart() fehlgeschlagen\n" msgstr "ptouch_rasterstart() fehlgeschlagen\n"
#: src/ptouch-print.c:180 #: src/ptouch-print.c:179
#, c-format #, c-format
msgid "send print information command\n" msgid "send print information command\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:186 #: src/ptouch-print.c:185
#, c-format #, c-format
msgid "send PT-D460BT magic commands\n" msgid "send PT-D460BT magic commands\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:193 #: src/ptouch-print.c:192
#, c-format #, c-format
msgid "send precut command\n" msgid "send precut command\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:202 #: src/ptouch-print.c:201
#, c-format #, c-format
msgid "send PT-D460BT chain commands\n" msgid "send PT-D460BT chain commands\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:214 #: src/ptouch-print.c:213
#, fuzzy, c-format #, fuzzy, c-format
msgid "ptouch_sendraster() failed\n" msgid "ptouch_sendraster() failed\n"
msgstr "ptouch_send() fehlgeschlagen\n" msgstr "ptouch_send() fehlgeschlagen\n"
#: src/ptouch-print.c:263 #: src/ptouch-print.c:262
#, c-format #, c-format
msgid "writing image '%s' failed\n" msgid "writing image '%s' failed\n"
msgstr "Schreiben der Bilddatei '%s' fehlgeschlagen\n" msgstr "Schreiben der Bilddatei '%s' fehlgeschlagen\n"
#: src/ptouch-print.c:285 #: src/ptouch-print.c:284
#, c-format #, c-format
msgid "debug: o baseline offset - %d\n" msgid "debug: o baseline offset - %d\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:286 #: src/ptouch-print.c:285
#, c-format #, c-format
msgid "debug: text baseline offset - %d\n" msgid "debug: text baseline offset - %d\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:345 #: src/ptouch-print.c:344
#, c-format #, c-format
msgid "render_text(): %i lines, font = '%s', align = '%c'\n" msgid "render_text(): %i lines, font = '%s', align = '%c'\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:348 #: src/ptouch-print.c:347
#, c-format #, c-format
msgid "warning: font config not available\n" msgid "warning: font config not available\n"
msgstr "Warnung: fontconfig ist nicht verfügbar\n" msgstr "Warnung: fontconfig ist nicht verfügbar\n"
#: src/ptouch-print.c:352 #: src/ptouch-print.c:351
#, c-format #, c-format
msgid "setting font size=%i\n" msgid "setting font size=%i\n"
msgstr "setze Zeichensatzgrösse=%i\n" msgstr "setze Zeichensatzgrösse=%i\n"
#: src/ptouch-print.c:356 #: src/ptouch-print.c:355
#, c-format #, c-format
msgid "could not estimate needed font size\n" msgid "could not estimate needed font size\n"
msgstr "Konnte die notwendige Zeichensatzgrösse nicht bestimmen\n" msgstr "Konnte die notwendige Zeichensatzgrösse nicht bestimmen\n"
#: src/ptouch-print.c:363 #: src/ptouch-print.c:362
#, c-format #, c-format
msgid "choosing font size=%i\n" msgid "choosing font size=%i\n"
msgstr "Wähle Zeichensatzgrösse %i\n" msgstr "Wähle Zeichensatzgrösse %i\n"
#: src/ptouch-print.c:379 src/ptouch-print.c:413 #: src/ptouch-print.c:378 src/ptouch-print.c:412
#, c-format #, c-format
msgid "error in gdImageStringFT: %s\n" msgid "error in gdImageStringFT: %s\n"
msgstr "Fehler in Funktion gdImageStringFT(): %s\n" msgstr "Fehler in Funktion gdImageStringFT(): %s\n"
#: src/ptouch-print.c:593 #: src/ptouch-print.c:592
#, c-format #, c-format
msgid "Only up to %d lines are supported" msgid "Only up to %d lines are supported"
msgstr "" msgstr ""
#: src/ptouch-print.c:606 #: src/ptouch-print.c:605
msgid "No arguments supported" msgid "No arguments supported"
msgstr "" msgstr ""
#: src/ptouch-print.c:611 #: src/ptouch-print.c:610
msgid "Option --writepng missing" msgid "Option --writepng missing"
msgstr "" msgstr ""
#: src/ptouch-print.c:614 #: src/ptouch-print.c:613
msgid "Options --force_tape_width and --info can't be used together" msgid "Options --force_tape_width and --info can't be used together"
msgstr "" msgstr ""
#: src/ptouch-print.c:645 #: src/ptouch-print.c:644
#, c-format #, c-format
msgid "ptouch_init() failed\n" msgid "ptouch_init() failed\n"
msgstr "ptouch_init() fehlgeschlagen\n" msgstr "ptouch_init() fehlgeschlagen\n"
#: src/ptouch-print.c:648 #: src/ptouch-print.c:647
#, c-format #, c-format
msgid "ptouch_getstatus() failed\n" msgid "ptouch_getstatus() failed\n"
msgstr "ptouch_getstatus() fehlgeschlagen\n" msgstr "ptouch_getstatus() fehlgeschlagen\n"
#: src/ptouch-print.c:662 #: src/ptouch-print.c:661
#, fuzzy, c-format #, fuzzy, c-format
msgid "maximum printing width for this printer is %ldpx\n" msgid "maximum printing width for this printer is %ldpx\n"
msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n" msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n"
#: src/ptouch-print.c:663 #: src/ptouch-print.c:662
#, fuzzy, c-format #, fuzzy, c-format
msgid "maximum printing width for this tape is %ldpx\n" msgid "maximum printing width for this tape is %ldpx\n"
msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n" msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n"
#: src/ptouch-print.c:688 #: src/ptouch-print.c:687
#, c-format #, c-format
msgid "failed to load image file\n" msgid "failed to load image file\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:697 #: src/ptouch-print.c:696
#, c-format #, c-format
msgid "could not render text\n" msgid "could not render text\n"
msgstr "Konnte Text nicht rendern\n" msgstr "Konnte Text nicht rendern\n"
#: src/ptouch-print.c:736 #: src/ptouch-print.c:735
#, c-format #, c-format
msgid "ptouch_finalize(%d) failed\n" msgid "ptouch_finalize(%d) failed\n"
msgstr "ptouch_finalize(%d) fehlgeschlagen\n" msgstr "ptouch_finalize(%d) fehlgeschlagen\n"

View File

@@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: ptouch-print 1.3.1\n" "Project-Id-Version: ptouch-print 1.7\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n" "Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2025-12-08 15:27+0100\n" "POT-Creation-Date: 2026-01-23 08:02+0100\n"
"PO-Revision-Date: 2024-05-23 22:26-0400\n" "PO-Revision-Date: 2024-05-23 22:26-0400\n"
"Last-Translator: dominic@familie-radermacher.ch\n" "Last-Translator: dominic@familie-radermacher.ch\n"
"Language-Team: English <en@translate.freefriends.org>\n" "Language-Team: English <en@translate.freefriends.org>\n"
@@ -155,149 +155,149 @@ msgstr ""
msgid "debug: called ptouch_sendraster() with NULL ptdev\n" msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:152 #: src/ptouch-print.c:151
#, c-format #, c-format
msgid "nothing to print\n" msgid "nothing to print\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:160 #: src/ptouch-print.c:159
#, c-format #, c-format
msgid "image is too large (%ipx x %ipx)\n" msgid "image is too large (%ipx x %ipx)\n"
msgstr "image is too large (%ipx x %ipx)\n" msgstr "image is too large (%ipx x %ipx)\n"
#: src/ptouch-print.c:161 #: src/ptouch-print.c:160
#, c-format #, c-format
msgid "maximum printing width for this tape is %ipx\n" msgid "maximum printing width for this tape is %ipx\n"
msgstr "maximum printing width for this tape is %ipx\n" msgstr "maximum printing width for this tape is %ipx\n"
#: src/ptouch-print.c:164 #: src/ptouch-print.c:163
#, fuzzy, c-format #, fuzzy, c-format
msgid "image size (%ipx x %ipx)\n" msgid "image size (%ipx x %ipx)\n"
msgstr "image is too large (%ipx x %ipx)\n" msgstr "image is too large (%ipx x %ipx)\n"
#: src/ptouch-print.c:174 #: src/ptouch-print.c:173
#, c-format #, c-format
msgid "ptouch_rasterstart() failed\n" msgid "ptouch_rasterstart() failed\n"
msgstr "ptouch_rasterstart() failed\n" msgstr "ptouch_rasterstart() failed\n"
#: src/ptouch-print.c:180 #: src/ptouch-print.c:179
#, c-format #, c-format
msgid "send print information command\n" msgid "send print information command\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:186 #: src/ptouch-print.c:185
#, c-format #, c-format
msgid "send PT-D460BT magic commands\n" msgid "send PT-D460BT magic commands\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:193 #: src/ptouch-print.c:192
#, c-format #, c-format
msgid "send precut command\n" msgid "send precut command\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:202 #: src/ptouch-print.c:201
#, c-format #, c-format
msgid "send PT-D460BT chain commands\n" msgid "send PT-D460BT chain commands\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:214 #: src/ptouch-print.c:213
#, c-format #, c-format
msgid "ptouch_sendraster() failed\n" msgid "ptouch_sendraster() failed\n"
msgstr "ptouch_sendraster() failed\n" msgstr "ptouch_sendraster() failed\n"
#: src/ptouch-print.c:263 #: src/ptouch-print.c:262
#, c-format #, c-format
msgid "writing image '%s' failed\n" msgid "writing image '%s' failed\n"
msgstr "writing image '%s' failed\n" msgstr "writing image '%s' failed\n"
#: src/ptouch-print.c:285 #: src/ptouch-print.c:284
#, c-format #, c-format
msgid "debug: o baseline offset - %d\n" msgid "debug: o baseline offset - %d\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:286 #: src/ptouch-print.c:285
#, c-format #, c-format
msgid "debug: text baseline offset - %d\n" msgid "debug: text baseline offset - %d\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:345 #: src/ptouch-print.c:344
#, c-format #, c-format
msgid "render_text(): %i lines, font = '%s', align = '%c'\n" msgid "render_text(): %i lines, font = '%s', align = '%c'\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:348 #: src/ptouch-print.c:347
#, c-format #, c-format
msgid "warning: font config not available\n" msgid "warning: font config not available\n"
msgstr "warning: font config not available\n" msgstr "warning: font config not available\n"
#: src/ptouch-print.c:352 #: src/ptouch-print.c:351
#, c-format #, c-format
msgid "setting font size=%i\n" msgid "setting font size=%i\n"
msgstr "setting font size=%i\n" msgstr "setting font size=%i\n"
#: src/ptouch-print.c:356 #: src/ptouch-print.c:355
#, c-format #, c-format
msgid "could not estimate needed font size\n" msgid "could not estimate needed font size\n"
msgstr "could not estimate needed font size\n" msgstr "could not estimate needed font size\n"
#: src/ptouch-print.c:363 #: src/ptouch-print.c:362
#, c-format #, c-format
msgid "choosing font size=%i\n" msgid "choosing font size=%i\n"
msgstr "choosing font size=%i\n" msgstr "choosing font size=%i\n"
#: src/ptouch-print.c:379 src/ptouch-print.c:413 #: src/ptouch-print.c:378 src/ptouch-print.c:412
#, c-format #, c-format
msgid "error in gdImageStringFT: %s\n" msgid "error in gdImageStringFT: %s\n"
msgstr "error in gdImageStringFT: %s\n" msgstr "error in gdImageStringFT: %s\n"
#: src/ptouch-print.c:593 #: src/ptouch-print.c:592
#, c-format #, c-format
msgid "Only up to %d lines are supported" msgid "Only up to %d lines are supported"
msgstr "" msgstr ""
#: src/ptouch-print.c:606 #: src/ptouch-print.c:605
msgid "No arguments supported" msgid "No arguments supported"
msgstr "" msgstr ""
#: src/ptouch-print.c:611 #: src/ptouch-print.c:610
msgid "Option --writepng missing" msgid "Option --writepng missing"
msgstr "" msgstr ""
#: src/ptouch-print.c:614 #: src/ptouch-print.c:613
msgid "Options --force_tape_width and --info can't be used together" msgid "Options --force_tape_width and --info can't be used together"
msgstr "" msgstr ""
#: src/ptouch-print.c:645 #: src/ptouch-print.c:644
#, c-format #, c-format
msgid "ptouch_init() failed\n" msgid "ptouch_init() failed\n"
msgstr "ptouch_init() failed\n" msgstr "ptouch_init() failed\n"
#: src/ptouch-print.c:648 #: src/ptouch-print.c:647
#, c-format #, c-format
msgid "ptouch_getstatus() failed\n" msgid "ptouch_getstatus() failed\n"
msgstr "ptouch_getstatus() failed\n" msgstr "ptouch_getstatus() failed\n"
#: src/ptouch-print.c:662 #: src/ptouch-print.c:661
#, fuzzy, c-format #, fuzzy, c-format
msgid "maximum printing width for this printer is %ldpx\n" msgid "maximum printing width for this printer is %ldpx\n"
msgstr "maximum printing width for this tape is %ipx\n" msgstr "maximum printing width for this tape is %ipx\n"
#: src/ptouch-print.c:663 #: src/ptouch-print.c:662
#, fuzzy, c-format #, fuzzy, c-format
msgid "maximum printing width for this tape is %ldpx\n" msgid "maximum printing width for this tape is %ldpx\n"
msgstr "maximum printing width for this tape is %ipx\n" msgstr "maximum printing width for this tape is %ipx\n"
#: src/ptouch-print.c:688 #: src/ptouch-print.c:687
#, c-format #, c-format
msgid "failed to load image file\n" msgid "failed to load image file\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:697 #: src/ptouch-print.c:696
#, c-format #, c-format
msgid "could not render text\n" msgid "could not render text\n"
msgstr "could not render text\n" msgstr "could not render text\n"
#: src/ptouch-print.c:736 #: src/ptouch-print.c:735
#, c-format #, c-format
msgid "ptouch_finalize(%d) failed\n" msgid "ptouch_finalize(%d) failed\n"
msgstr "ptouch_finalize(%d) failed\n" msgstr "ptouch_finalize(%d) failed\n"

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: ptouch-print\n" "Project-Id-Version: ptouch-print\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n" "Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2025-12-08 15:31+0100\n" "POT-Creation-Date: 2026-01-23 08:08+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -153,149 +153,149 @@ msgstr ""
msgid "debug: called ptouch_sendraster() with NULL ptdev\n" msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:152 #: src/ptouch-print.c:151
#, c-format #, c-format
msgid "nothing to print\n" msgid "nothing to print\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:160 #: src/ptouch-print.c:159
#, c-format #, c-format
msgid "image is too large (%ipx x %ipx)\n" msgid "image is too large (%ipx x %ipx)\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:161 #: src/ptouch-print.c:160
#, c-format #, c-format
msgid "maximum printing width for this tape is %ipx\n" msgid "maximum printing width for this tape is %ipx\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:164 #: src/ptouch-print.c:163
#, c-format #, c-format
msgid "image size (%ipx x %ipx)\n" msgid "image size (%ipx x %ipx)\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:174 #: src/ptouch-print.c:173
#, c-format #, c-format
msgid "ptouch_rasterstart() failed\n" msgid "ptouch_rasterstart() failed\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:180 #: src/ptouch-print.c:179
#, c-format #, c-format
msgid "send print information command\n" msgid "send print information command\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:186 #: src/ptouch-print.c:185
#, c-format #, c-format
msgid "send PT-D460BT magic commands\n" msgid "send PT-D460BT magic commands\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:193 #: src/ptouch-print.c:192
#, c-format #, c-format
msgid "send precut command\n" msgid "send precut command\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:202 #: src/ptouch-print.c:201
#, c-format #, c-format
msgid "send PT-D460BT chain commands\n" msgid "send PT-D460BT chain commands\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:214 #: src/ptouch-print.c:213
#, c-format #, c-format
msgid "ptouch_sendraster() failed\n" msgid "ptouch_sendraster() failed\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:263 #: src/ptouch-print.c:262
#, c-format #, c-format
msgid "writing image '%s' failed\n" msgid "writing image '%s' failed\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:285 #: src/ptouch-print.c:284
#, c-format #, c-format
msgid "debug: o baseline offset - %d\n" msgid "debug: o baseline offset - %d\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:286 #: src/ptouch-print.c:285
#, c-format #, c-format
msgid "debug: text baseline offset - %d\n" msgid "debug: text baseline offset - %d\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:345 #: src/ptouch-print.c:344
#, c-format #, c-format
msgid "render_text(): %i lines, font = '%s', align = '%c'\n" msgid "render_text(): %i lines, font = '%s', align = '%c'\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:348 #: src/ptouch-print.c:347
#, c-format #, c-format
msgid "warning: font config not available\n" msgid "warning: font config not available\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:352 #: src/ptouch-print.c:351
#, c-format #, c-format
msgid "setting font size=%i\n" msgid "setting font size=%i\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:356 #: src/ptouch-print.c:355
#, c-format #, c-format
msgid "could not estimate needed font size\n" msgid "could not estimate needed font size\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:363 #: src/ptouch-print.c:362
#, c-format #, c-format
msgid "choosing font size=%i\n" msgid "choosing font size=%i\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:379 src/ptouch-print.c:413 #: src/ptouch-print.c:378 src/ptouch-print.c:412
#, c-format #, c-format
msgid "error in gdImageStringFT: %s\n" msgid "error in gdImageStringFT: %s\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:593 #: src/ptouch-print.c:592
#, c-format #, c-format
msgid "Only up to %d lines are supported" msgid "Only up to %d lines are supported"
msgstr "" msgstr ""
#: src/ptouch-print.c:606 #: src/ptouch-print.c:605
msgid "No arguments supported" msgid "No arguments supported"
msgstr "" msgstr ""
#: src/ptouch-print.c:611 #: src/ptouch-print.c:610
msgid "Option --writepng missing" msgid "Option --writepng missing"
msgstr "" msgstr ""
#: src/ptouch-print.c:614 #: src/ptouch-print.c:613
msgid "Options --force_tape_width and --info can't be used together" msgid "Options --force_tape_width and --info can't be used together"
msgstr "" msgstr ""
#: src/ptouch-print.c:645 #: src/ptouch-print.c:644
#, c-format #, c-format
msgid "ptouch_init() failed\n" msgid "ptouch_init() failed\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:648 #: src/ptouch-print.c:647
#, c-format #, c-format
msgid "ptouch_getstatus() failed\n" msgid "ptouch_getstatus() failed\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:662 #: src/ptouch-print.c:661
#, c-format #, c-format
msgid "maximum printing width for this printer is %ldpx\n" msgid "maximum printing width for this printer is %ldpx\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:663 #: src/ptouch-print.c:662
#, c-format #, c-format
msgid "maximum printing width for this tape is %ldpx\n" msgid "maximum printing width for this tape is %ldpx\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:688 #: src/ptouch-print.c:687
#, c-format #, c-format
msgid "failed to load image file\n" msgid "failed to load image file\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:697 #: src/ptouch-print.c:696
#, c-format #, c-format
msgid "could not render text\n" msgid "could not render text\n"
msgstr "" msgstr ""
#: src/ptouch-print.c:736 #: src/ptouch-print.c:735
#, c-format #, c-format
msgid "ptouch_finalize(%d) failed\n" msgid "ptouch_finalize(%d) failed\n"
msgstr "" msgstr ""

View File

@@ -80,7 +80,6 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state);
const char *argp_program_version = P_NAME " " VERSION; const char *argp_program_version = P_NAME " " VERSION;
const char *argp_program_bug_address = "Dominic Radermacher <dominic@familie-radermacher.ch>"; const char *argp_program_bug_address = "Dominic Radermacher <dominic@familie-radermacher.ch>";
static char doc[] = "ptouch-print is a command line tool to print labels on Brother P-Touch printers on Linux."; static char doc[] = "ptouch-print is a command line tool to print labels on Brother P-Touch printers on Linux.";
static char args_doc[] = "";
static struct argp_option options[] = { static struct argp_option options[] = {
// name, key, arg, flags, doc, group // name, key, arg, flags, doc, group
@@ -109,7 +108,7 @@ static struct argp_option options[] = {
{ 0 } { 0 }
}; };
static struct argp argp = { options, parse_opt, args_doc, doc, 0, 0, 0 }; static struct argp argp = { options, parse_opt, NULL, doc, NULL, NULL, NULL };
struct arguments arguments = { struct arguments arguments = {
.align = ALIGN_LEFT, .align = ALIGN_LEFT,