1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2026-03-07 06:34:18 +00:00

Add support for using \n for new line (thanks to github.com/probonopd/)

This commit is contained in:
Dominic Radermacher
2026-03-06 08:20:32 +01:00
parent bdd724fef5
commit 76c419f952
5 changed files with 156 additions and 110 deletions

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ptouch-print 1.7\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2026-02-27 07:49+0100\n"
"POT-Creation-Date: 2026-03-06 08:07+0100\n"
"PO-Revision-Date: 2024-05-23 22:27-0400\n"
"Last-Translator: dominic@familie-radermacher.ch\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"
msgstr ""
#: src/ptouch-print.c:151
#: src/ptouch-print.c:153
#, c-format
msgid "nothing to print\n"
msgstr ""
#: src/ptouch-print.c:159
#: src/ptouch-print.c:161
#, c-format
msgid "image is too large (%ipx x %ipx)\n"
msgstr "Bild ist zu gross (%ipx x %ipx)\n"
#: src/ptouch-print.c:160
#: src/ptouch-print.c:162
#, c-format
msgid "maximum printing width for this tape is %ipx\n"
msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n"
#: src/ptouch-print.c:163
#: src/ptouch-print.c:165
#, fuzzy, c-format
msgid "image size (%ipx x %ipx)\n"
msgstr "Bild ist zu gross (%ipx x %ipx)\n"
#: src/ptouch-print.c:173
#: src/ptouch-print.c:175
#, c-format
msgid "ptouch_rasterstart() failed\n"
msgstr "ptouch_rasterstart() fehlgeschlagen\n"
#: src/ptouch-print.c:179
#: src/ptouch-print.c:181
#, c-format
msgid "send print information command\n"
msgstr ""
#: src/ptouch-print.c:185
#: src/ptouch-print.c:187
#, c-format
msgid "send PT-D460BT magic commands\n"
msgstr ""
#: src/ptouch-print.c:192
#: src/ptouch-print.c:194
#, c-format
msgid "send precut command\n"
msgstr ""
#: src/ptouch-print.c:201
#: src/ptouch-print.c:203
#, c-format
msgid "send PT-D460BT chain commands\n"
msgstr ""
#: src/ptouch-print.c:213
#: src/ptouch-print.c:215
#, fuzzy, c-format
msgid "ptouch_sendraster() failed\n"
msgstr "ptouch_send() fehlgeschlagen\n"
#: src/ptouch-print.c:262
#: src/ptouch-print.c:264
#, c-format
msgid "writing image '%s' failed\n"
msgstr "Schreiben der Bilddatei '%s' fehlgeschlagen\n"
#: src/ptouch-print.c:284
#: src/ptouch-print.c:286
#, c-format
msgid "debug: o baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:285
#: src/ptouch-print.c:287
#, c-format
msgid "debug: text baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:344
#: src/ptouch-print.c:346
#, c-format
msgid "render_text(): %i lines, font = '%s', align = '%c'\n"
msgstr ""
#: src/ptouch-print.c:347
#: src/ptouch-print.c:349
#, c-format
msgid "warning: font config not available\n"
msgstr "Warnung: fontconfig ist nicht verfügbar\n"
#: src/ptouch-print.c:351
#: src/ptouch-print.c:353
#, c-format
msgid "setting font size=%i\n"
msgstr "setze Zeichensatzgrösse=%i\n"
#: src/ptouch-print.c:355
#: src/ptouch-print.c:357
#, c-format
msgid "could not estimate needed font size\n"
msgstr "Konnte die notwendige Zeichensatzgrösse nicht bestimmen\n"
#: src/ptouch-print.c:362
#: src/ptouch-print.c:364
#, c-format
msgid "choosing font size=%i\n"
msgstr "Wähle Zeichensatzgrösse %i\n"
#: src/ptouch-print.c:378 src/ptouch-print.c:412
#: src/ptouch-print.c:380 src/ptouch-print.c:414
#, c-format
msgid "error in gdImageStringFT: %s\n"
msgstr "Fehler in Funktion gdImageStringFT(): %s\n"
#: src/ptouch-print.c:592
#: src/ptouch-print.c:571
#, c-format
msgid "Only up to %d lines are supported"
msgstr ""
#: src/ptouch-print.c:605
#: src/ptouch-print.c:649
msgid "No arguments supported"
msgstr ""
#: src/ptouch-print.c:610
#: src/ptouch-print.c:654
msgid "Option --writepng missing"
msgstr ""
#: src/ptouch-print.c:613
#: src/ptouch-print.c:657
msgid "Options --force_tape_width and --info can't be used together"
msgstr ""
#: src/ptouch-print.c:644
#: src/ptouch-print.c:688
#, c-format
msgid "ptouch_init() failed\n"
msgstr "ptouch_init() fehlgeschlagen\n"
#: src/ptouch-print.c:647
#: src/ptouch-print.c:691
#, c-format
msgid "ptouch_getstatus() failed\n"
msgstr "ptouch_getstatus() fehlgeschlagen\n"
#: src/ptouch-print.c:661
#: src/ptouch-print.c:705
#, 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:662
#: src/ptouch-print.c:706
#, fuzzy, c-format
msgid "maximum printing width for this tape is %ldpx\n"
msgstr "Maximal druckbare Breite für dieses Schriftband sind %ipx\n"
#: src/ptouch-print.c:687
#: src/ptouch-print.c:731
#, c-format
msgid "failed to load image file\n"
msgstr ""
#: src/ptouch-print.c:696
#: src/ptouch-print.c:740
#, c-format
msgid "could not render text\n"
msgstr "Konnte Text nicht rendern\n"
#: src/ptouch-print.c:735
#: src/ptouch-print.c:779
#, c-format
msgid "ptouch_finalize(%d) failed\n"
msgstr "ptouch_finalize(%d) fehlgeschlagen\n"

View File

@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ptouch-print 1.7\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2026-02-27 07:49+0100\n"
"POT-Creation-Date: 2026-03-06 08:07+0100\n"
"PO-Revision-Date: 2024-05-23 22:26-0400\n"
"Last-Translator: dominic@familie-radermacher.ch\n"
"Language-Team: English <en@translate.freefriends.org>\n"
@@ -155,149 +155,149 @@ msgstr ""
msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr ""
#: src/ptouch-print.c:151
#: src/ptouch-print.c:153
#, c-format
msgid "nothing to print\n"
msgstr ""
#: src/ptouch-print.c:159
#: src/ptouch-print.c:161
#, c-format
msgid "image is too large (%ipx x %ipx)\n"
msgstr "image is too large (%ipx x %ipx)\n"
#: src/ptouch-print.c:160
#: src/ptouch-print.c:162
#, c-format
msgid "maximum printing width for this tape is %ipx\n"
msgstr "maximum printing width for this tape is %ipx\n"
#: src/ptouch-print.c:163
#: src/ptouch-print.c:165
#, fuzzy, c-format
msgid "image size (%ipx x %ipx)\n"
msgstr "image is too large (%ipx x %ipx)\n"
#: src/ptouch-print.c:173
#: src/ptouch-print.c:175
#, c-format
msgid "ptouch_rasterstart() failed\n"
msgstr "ptouch_rasterstart() failed\n"
#: src/ptouch-print.c:179
#: src/ptouch-print.c:181
#, c-format
msgid "send print information command\n"
msgstr ""
#: src/ptouch-print.c:185
#: src/ptouch-print.c:187
#, c-format
msgid "send PT-D460BT magic commands\n"
msgstr ""
#: src/ptouch-print.c:192
#: src/ptouch-print.c:194
#, c-format
msgid "send precut command\n"
msgstr ""
#: src/ptouch-print.c:201
#: src/ptouch-print.c:203
#, c-format
msgid "send PT-D460BT chain commands\n"
msgstr ""
#: src/ptouch-print.c:213
#: src/ptouch-print.c:215
#, c-format
msgid "ptouch_sendraster() failed\n"
msgstr "ptouch_sendraster() failed\n"
#: src/ptouch-print.c:262
#: src/ptouch-print.c:264
#, c-format
msgid "writing image '%s' failed\n"
msgstr "writing image '%s' failed\n"
#: src/ptouch-print.c:284
#: src/ptouch-print.c:286
#, c-format
msgid "debug: o baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:285
#: src/ptouch-print.c:287
#, c-format
msgid "debug: text baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:344
#: src/ptouch-print.c:346
#, c-format
msgid "render_text(): %i lines, font = '%s', align = '%c'\n"
msgstr ""
#: src/ptouch-print.c:347
#: src/ptouch-print.c:349
#, c-format
msgid "warning: font config not available\n"
msgstr "warning: font config not available\n"
#: src/ptouch-print.c:351
#: src/ptouch-print.c:353
#, c-format
msgid "setting font size=%i\n"
msgstr "setting font size=%i\n"
#: src/ptouch-print.c:355
#: src/ptouch-print.c:357
#, c-format
msgid "could not estimate needed font size\n"
msgstr "could not estimate needed font size\n"
#: src/ptouch-print.c:362
#: src/ptouch-print.c:364
#, c-format
msgid "choosing font size=%i\n"
msgstr "choosing font size=%i\n"
#: src/ptouch-print.c:378 src/ptouch-print.c:412
#: src/ptouch-print.c:380 src/ptouch-print.c:414
#, c-format
msgid "error in gdImageStringFT: %s\n"
msgstr "error in gdImageStringFT: %s\n"
#: src/ptouch-print.c:592
#: src/ptouch-print.c:571
#, c-format
msgid "Only up to %d lines are supported"
msgstr ""
#: src/ptouch-print.c:605
#: src/ptouch-print.c:649
msgid "No arguments supported"
msgstr ""
#: src/ptouch-print.c:610
#: src/ptouch-print.c:654
msgid "Option --writepng missing"
msgstr ""
#: src/ptouch-print.c:613
#: src/ptouch-print.c:657
msgid "Options --force_tape_width and --info can't be used together"
msgstr ""
#: src/ptouch-print.c:644
#: src/ptouch-print.c:688
#, c-format
msgid "ptouch_init() failed\n"
msgstr "ptouch_init() failed\n"
#: src/ptouch-print.c:647
#: src/ptouch-print.c:691
#, c-format
msgid "ptouch_getstatus() failed\n"
msgstr "ptouch_getstatus() failed\n"
#: src/ptouch-print.c:661
#: src/ptouch-print.c:705
#, 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:662
#: src/ptouch-print.c:706
#, fuzzy, c-format
msgid "maximum printing width for this tape is %ldpx\n"
msgstr "maximum printing width for this tape is %ipx\n"
#: src/ptouch-print.c:687
#: src/ptouch-print.c:731
#, c-format
msgid "failed to load image file\n"
msgstr ""
#: src/ptouch-print.c:696
#: src/ptouch-print.c:740
#, c-format
msgid "could not render text\n"
msgstr "could not render text\n"
#: src/ptouch-print.c:735
#: src/ptouch-print.c:779
#, c-format
msgid "ptouch_finalize(%d) failed\n"
msgstr "ptouch_finalize(%d) failed\n"

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ptouch-print\n"
"Report-Msgid-Bugs-To: dominic@familie-radermacher.ch\n"
"POT-Creation-Date: 2026-02-27 07:49+0100\n"
"POT-Creation-Date: 2026-03-06 08:13+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -153,149 +153,149 @@ msgstr ""
msgid "debug: called ptouch_sendraster() with NULL ptdev\n"
msgstr ""
#: src/ptouch-print.c:151
#: src/ptouch-print.c:153
#, c-format
msgid "nothing to print\n"
msgstr ""
#: src/ptouch-print.c:159
#: src/ptouch-print.c:161
#, c-format
msgid "image is too large (%ipx x %ipx)\n"
msgstr ""
#: src/ptouch-print.c:160
#: src/ptouch-print.c:162
#, c-format
msgid "maximum printing width for this tape is %ipx\n"
msgstr ""
#: src/ptouch-print.c:163
#: src/ptouch-print.c:165
#, c-format
msgid "image size (%ipx x %ipx)\n"
msgstr ""
#: src/ptouch-print.c:173
#: src/ptouch-print.c:175
#, c-format
msgid "ptouch_rasterstart() failed\n"
msgstr ""
#: src/ptouch-print.c:179
#: src/ptouch-print.c:181
#, c-format
msgid "send print information command\n"
msgstr ""
#: src/ptouch-print.c:185
#: src/ptouch-print.c:187
#, c-format
msgid "send PT-D460BT magic commands\n"
msgstr ""
#: src/ptouch-print.c:192
#: src/ptouch-print.c:194
#, c-format
msgid "send precut command\n"
msgstr ""
#: src/ptouch-print.c:201
#: src/ptouch-print.c:203
#, c-format
msgid "send PT-D460BT chain commands\n"
msgstr ""
#: src/ptouch-print.c:213
#: src/ptouch-print.c:215
#, c-format
msgid "ptouch_sendraster() failed\n"
msgstr ""
#: src/ptouch-print.c:262
#: src/ptouch-print.c:264
#, c-format
msgid "writing image '%s' failed\n"
msgstr ""
#: src/ptouch-print.c:284
#: src/ptouch-print.c:286
#, c-format
msgid "debug: o baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:285
#: src/ptouch-print.c:287
#, c-format
msgid "debug: text baseline offset - %d\n"
msgstr ""
#: src/ptouch-print.c:344
#: src/ptouch-print.c:346
#, c-format
msgid "render_text(): %i lines, font = '%s', align = '%c'\n"
msgstr ""
#: src/ptouch-print.c:347
#: src/ptouch-print.c:349
#, c-format
msgid "warning: font config not available\n"
msgstr ""
#: src/ptouch-print.c:351
#: src/ptouch-print.c:353
#, c-format
msgid "setting font size=%i\n"
msgstr ""
#: src/ptouch-print.c:355
#: src/ptouch-print.c:357
#, c-format
msgid "could not estimate needed font size\n"
msgstr ""
#: src/ptouch-print.c:362
#: src/ptouch-print.c:364
#, c-format
msgid "choosing font size=%i\n"
msgstr ""
#: src/ptouch-print.c:378 src/ptouch-print.c:412
#: src/ptouch-print.c:380 src/ptouch-print.c:414
#, c-format
msgid "error in gdImageStringFT: %s\n"
msgstr ""
#: src/ptouch-print.c:592
#: src/ptouch-print.c:571
#, c-format
msgid "Only up to %d lines are supported"
msgstr ""
#: src/ptouch-print.c:605
#: src/ptouch-print.c:649
msgid "No arguments supported"
msgstr ""
#: src/ptouch-print.c:610
#: src/ptouch-print.c:654
msgid "Option --writepng missing"
msgstr ""
#: src/ptouch-print.c:613
#: src/ptouch-print.c:657
msgid "Options --force_tape_width and --info can't be used together"
msgstr ""
#: src/ptouch-print.c:644
#: src/ptouch-print.c:688
#, c-format
msgid "ptouch_init() failed\n"
msgstr ""
#: src/ptouch-print.c:647
#: src/ptouch-print.c:691
#, c-format
msgid "ptouch_getstatus() failed\n"
msgstr ""
#: src/ptouch-print.c:661
#: src/ptouch-print.c:705
#, c-format
msgid "maximum printing width for this printer is %ldpx\n"
msgstr ""
#: src/ptouch-print.c:662
#: src/ptouch-print.c:706
#, c-format
msgid "maximum printing width for this tape is %ldpx\n"
msgstr ""
#: src/ptouch-print.c:687
#: src/ptouch-print.c:731
#, c-format
msgid "failed to load image file\n"
msgstr ""
#: src/ptouch-print.c:696
#: src/ptouch-print.c:740
#, c-format
msgid "could not render text\n"
msgstr ""
#: src/ptouch-print.c:735
#: src/ptouch-print.c:779
#, c-format
msgid "ptouch_finalize(%d) failed\n"
msgstr ""