Handle wide characters and ECMA-48 CSI sequences in the format string when calculating string widths.

This commit is contained in:
Andrew Wood
2024-12-08 21:38:38 +00:00
parent f495303177
commit 35d5b9efab
12 changed files with 664 additions and 595 deletions
+1
View File
@@ -5,6 +5,7 @@
* *feature:* new **--format** sequences "**%{progress-bar-only}**" and "**%{progress-amount-only}**"
* *fix:* allow **--format** to include "%nA" more than once, with different "n" values (#122)
* *fix:* allow **--format** to include "%p" more than once
* *fix:* calculate width correctly when wide characters are in **--format** strings
* *fix:* add _configure_ script fallback for **--remote** check when cross-compiling (#120)
* *fix:* allow **extra-display** to be changed by **--remote** (#123)
* *cleanup:* refactored display formatters into separate functions
+66 -66
View File
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\n"
"PO-Revision-Date: 2024-10-13 20:43+0000\n"
"Last-Translator: mmatous <mmatous@users.noreply.translate.codeberg.org>\n"
"Language-Team: Czech <https://translate.codeberg.org/projects/pv/pv/cs/>\n"
@@ -12,259 +12,259 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 5.7.2\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr "ukaž indikátor průběhu"
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr "ukaž uběhlý čas"
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr "ukaž přibližný zbývající čas"
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr "ukaž přibližný čas dokončení"
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr "ukaž okamžitou rychlost přenosu dat"
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr "ukaž průměrnou rychlost přenosu dat"
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr "ukaž počet přenesených bajtů"
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr "ukaž procento využité vyrovnávací paměti"
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr "ČÍS"
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr "zobraz ČÍS posledních zapsaných bajtů"
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr "FORMÁT"
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr "nastav formát výstupu na FORMÁT"
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr "vypisuj procenta, ne vizuální informace"
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr "nevypisuj žádné informace o přenosu"
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr "ukaž počet přenesených bitů"
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr "zacházej se suffixy jako s násobky 1000 namísto 1024"
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr "nic nevypisuj, dokud není přenesen první byte"
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr "SEK"
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr "nic nevypisuj, dokud neuplyne SEK sekund"
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr "VEL"
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr "nastav očekávanou velikost dat na VEL bajtů"
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr "pokud je velikost neznámá, ukaž rychlost vs maximální rychlost"
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr "počítej řádky místo bajtů"
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr "řádky jsou zakončené nulovým znakem"
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr "aktualizuj každých SEK sekund"
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr "počítej průměrnou rychlost za posledních SEK sekund (výchozí: 30)"
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr "ŠÍŘ"
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr "předpokládej šířku terminálu ŠÍŘ znaků"
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr "VÝŠ"
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr "předpokládej výšku terminálu VÝŠ znaků"
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr "JMÉNO"
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr "přidej JMÉNO před vizuální informace"
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr "po dokončení vypiš údaje o přenosu"
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr "vypisuj výstup i pokud standardní chybový výstup není terminál"
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr "pozicuj kurzor pomocí řídících znaků"
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr "SOUBOR"
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr "zapiš výstup do SOUBORu namísto standardního výstupu"
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr "RYCH"
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr "omez přenosovou rychlost na RYCH bajtů za sekundu"
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr "BAJT"
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr "použij vyrovnávací pamět BAJT bajtů"
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr "nepoužívej splice(), vždy použij read/write"
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr "ignoruj chyby při čtení vstupu"
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr "přeskakuj chyby v blocích BAJTů naráz"
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr "zastav po přenosu --size bajtů"
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr "po každém zápisu vyprázdni cache na disk"
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr "použij přímý V/V k obejítí cache"
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr "zahoď vstup namísto zápisu na výstup"
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr "zapiš veškerý vstup do SOUBORu před výpisem na výstup"
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr "PID[:DS]"
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr "sleduj soubor DS otevřený procesem PID"
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr "PID"
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr "aktualizuj nastavení procesu PID"
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr "ulož id procesu do SOUBORu"
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr "ukaž pomoc a skonči"
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr "ukaž informace o verzi a skonči"
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr "zapiš ladící záznamy do SOUBORu"
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr "Použití: %s [VOLBY] [SOUBOR]..."
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
"Spoj SOUBOR(y) nebo standardní vstup na standardního výstup, s monitoringem."
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr "Prosím, hlašte veškeré chyby na: %s"
@@ -437,7 +437,7 @@ msgstr "b"
msgid "B"
msgstr "B"
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr "selhala alokace vyrovnávací paměti"
+66 -66
View File
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\n"
"PO-Revision-Date: 2024-10-13 20:43+0000\n"
"Last-Translator: fnetX <otto@codeberg.org>\n"
"Language-Team: German <https://translate.codeberg.org/projects/pv/pv/de/>\n"
@@ -26,263 +26,263 @@ msgstr ""
"nls/intl/textdomain.c src/nls/intl-cat/cat-compat.c src/nls/intl-gett/intl-"
"compat.c\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr "Fortschritts-Anzeige"
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr "zeige die verstrichene Zeit an"
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr "zeige die erwartete Zeit bis zum Ende an"
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr "zeige die absolute geschätzte Zeit bis zur Fertigstellung"
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr "zeige die Datentransferrate an"
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr "zeige die durchschnittliche Übertragungsrate"
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr "zeige die Anzahl der übertragenen Bytes"
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr "zeige, wie viel Prozent des Übertragungsbuffers in Benutzung sind"
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr "NUM"
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr "NUM zeige die zuletzt geschriebenen NUM Bytes"
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr "FORMAT"
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr "setze das Ausgabeformat auf FORMAT"
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr "Ausgabe von Prozent-Angaben statt visueller Darstellung"
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr "sämtliche Transferinformationen unterdrücken"
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr "zeige die Anzahl der übertragenen Bits"
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr "behandle Endungen als Vielfache von 1000 statt von 1024"
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr "keine Ausgabe bevor das erste Byte übertragen wurde"
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr "SEK"
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr "nichts anzeigen ehe SEK Sekunden vergangen sind"
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr "GRÖẞE"
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr "setze erwartete Datenlänge auf SIZE Byte"
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr "zeige Rate vs maximale Rate, falls die größe unbekannt ist"
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr "zähle Zeilen anstelle von Bytes"
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr "Zeilen sind nullterminiert"
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr "aktualisiere Ausgabe nach SEK Sekunden Intervall"
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr ""
"berechne die durchschnittliche Übertragungsrate über die letzten SEK "
"Sekunden (Standard 30s)"
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr "BREITE"
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr "setze Terminal-Breite auf BREITE Zeichen"
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr "HÖHE"
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr "setze Terminal-Höhe auf HÖHE Zeichen"
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr "NAME"
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr "setze den NAMEn für visuelle Darstellung"
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr "Übertragungsstatistiken am Ende ausgeben"
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr ""
"Ausgabe auch dann erzwingen, wenn der Fehlerausgabe-Kanal kein Terminal ist"
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr "benutze Escape-Sequenzen zur Cursor-Positionierung"
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr "DATEI"
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr "schreibe die Ausgabe in DATEI statt in die Standardausgabe"
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr "RATE"
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr "beschränke die Transferrate auf RATE Byte pro Sekunde"
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr "BYTES"
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr "benutze einen Puffer in der Größe von BYTES"
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr "anstelle von splice() immer read/write benutzen"
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr "Lesefehler in der Eingabe nicht beachten"
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr "bei Fehlern BYTES am Stück überspringen"
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr "anhalten, nachdem --size Bytes übertragen wurden"
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr "schreibe den Cache nach jedem Schreibvorgang auf die Festplatte"
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr "verwende direkte E/A, um den Cache zu umgehen"
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr "verwirf die Eingabe anstatt in die Ausgabe zu schreiben"
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr "Ausgabe nach FILE schrieben bevor sie ausgegeben wird"
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr "PID[:FD]"
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr "die vom Prozess PID geöffnete Datei FD beobachten"
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr "PID"
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr "Einstellungen der Prozess-PID updaten"
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr "Prozess-ID in DATEI speichern"
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr "zeige diese Hilfe und beende"
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr "zeige Versionsinformationen und beende"
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr "schreibe Debug-Protokolle in DATEI"
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr "Aufruf: %s [OPTION] [DATEI]..."
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
"Verbindet DATEI(en) oder den Standard-Eingabe-Kanal mit dem Standard-Ausgabe-"
"Kanal und misst den Datenstrom."
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr "Bitte senden Sie Fehlerberichte an %s"
@@ -460,7 +460,7 @@ msgstr "b"
msgid "B"
msgstr "B"
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr "Speicherzuweisung für den Puffer fehlgeschlagen"
+66 -66
View File
@@ -1,264 +1,264 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr ""
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr ""
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr ""
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr ""
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr ""
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr ""
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr ""
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr ""
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr ""
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr ""
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr ""
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr ""
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr ""
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr ""
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr ""
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr ""
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr ""
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr ""
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr ""
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr ""
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr ""
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr ""
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr ""
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr ""
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr ""
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr ""
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr ""
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr ""
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr ""
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr ""
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr ""
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr ""
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr ""
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr ""
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr ""
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr ""
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr ""
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr ""
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr ""
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr ""
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr ""
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr ""
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr ""
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr ""
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr ""
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr ""
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr ""
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr ""
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr ""
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr ""
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr ""
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr ""
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr ""
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr ""
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr ""
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr ""
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr ""
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr ""
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr ""
@@ -429,7 +429,7 @@ msgstr ""
msgid "B"
msgstr ""
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr ""
+66 -66
View File
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\n"
"PO-Revision-Date: 2024-10-12 11:13+0000\n"
"Last-Translator: a-j-wood <a-j-wood@users.noreply.translate.codeberg.org>\n"
"Language-Team: French <https://translate.codeberg.org/projects/pv/pv/fr/>\n"
@@ -26,264 +26,264 @@ msgstr ""
"nls/intl/textdomain.c src/nls/intl-cat/cat-compat.c src/nls/intl-gett/intl-"
"compat.c\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr "afficher la barre de progression"
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr "afficher le temps écoulé"
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr "afficher l'heure approximative de l'achèvement de la tâche"
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr "afficher l'heure absolute de l'achèvement de la tâche"
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr "afficher le taux de tranfert des données"
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr "afficher le compteur de taux moyen de transfert de données"
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr "afficher le nombre d'octets transférés"
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr "afficher le pourcentage de tampon de transfert utilisé"
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr "NUM"
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr "afficher les derniers NUM octets écrits"
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr "FORMAT"
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr "définir le format de sortie sur FORMAT"
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr "imprimer en pourcentage plutôt que des informations visuelles"
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr "n'afficher aucune information de transfert"
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr "afficher le nombre de bits transférés"
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr "traiter les suffixes comme des multiples de 1000 au lieu de 1024"
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr "ne rien afficher avant qu'au moins un octet soit tranféré"
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr "SEC"
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr "ne rien afficher jusqu'à ce que SEC secondes se soient écoulées"
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr "TAILLE"
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr "ajuster la taille estimée des données à TAILLE octets"
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr ""
"si la taille est inconnue, afficher le taux de transfert par rapport au taux "
"de transfert max"
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr "compter les lignes au lieu des octets"
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr "les lignes sont terminées par un caractère nul"
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr "mettre à jour toutes les SEC secondes"
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr ""
"calculer le taux moyen d'après les SEC dernières secondes (30s par défaut)"
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr "LARGEUR"
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr "présumer la largeur du terminal à LARGEUR caractères"
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr "HAUTEUR"
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr "présumer la hauteur du terminal à HAUTEUR lignes"
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr "NOM"
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr "préfixer les informations visuelles avec NOM"
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr "afficher les statistiques de transfert à la fin"
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr ""
"imprimer vers la sortie d'erreur standard même si ce n'est pas un terminal"
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr "utiliser les séquences d'échappements de positionnement de curseur"
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr "FICHIER"
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr "écrire la sortie dans FICHIER au lieu de la sortie standard"
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr "TAUX"
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr "limite le taux de transfert à TAUX octets par seconde"
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr "OCTETS"
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr "Utiliser une mémoire tampon de OCTETS octets"
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr "ne jamais utiliser splice(), toujours utiliser read/write"
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr "ignorer les erreurs de lecture dans l'entrée"
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr "ignorer les erreurs dans OCTETS blocs à la fois"
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr "arrêter après le transfert de --size octets"
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr "vider le cache sur le disque après chaque écriture"
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr "utiliser les E/S directes pour contourner le cache"
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr "rejeter l'entrée au lieu de l'écrire vers la sortie"
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr "écrire toute l'entrée vers FICHIER avant de l'écrire vers la sortie"
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr "PID[:FD]"
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr "surveiller le fichier FD ouvert par le processus PID"
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr "PID"
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr "mettre à jour la configuration du processus PID"
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr "enregistrer l'ID de processus dans FICHIER"
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr "afficher cette aide puis quitter"
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr "afficher la version puis quitter"
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr "écrire les journaux de déboggage vers FICHIER"
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr "Utilisation : %s [OPTIONS] [FICHIER]..."
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
"Concaténer FICHIER(s), ou l'entrée standard, sur la sortie standard avec "
"monitorage."
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr "SVP rapporter tous bogues à %s"
@@ -464,7 +464,7 @@ msgstr ""
msgid "B"
msgstr "O"
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr "échec de l'allocation de mémoire tampon"
+66 -66
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\n"
"PO-Revision-Date: 2024-10-20 14:07+0000\n"
"Last-Translator: coralpink <coralpink@users.noreply.translate.codeberg.org>\n"
"Language-Team: Polish <https://translate.codeberg.org/projects/pv/pv/pl/>\n"
@@ -18,266 +18,266 @@ msgstr ""
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 5.7.2\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr "pokaż pasek postępu"
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr "pokaż upływający czas"
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr "pokaż szacowany czas ukończenia"
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr "pokaż bezwzględny szacowany czas ukończenia"
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr "pokaż licznik prędkości przesyłania"
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr "pokaż licznik uśrednionej prędkości przesyłania"
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr "pokaż ilość przesłanych bajtów"
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr "pokaż procentowe użycie bufora transferu"
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr "LICZBA"
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr "pokaż ostatnie LICZBA przesłanych bajtów"
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr "FORMAT"
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr "ustaw FORMAT jako format wyjściowy"
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr "wyświetl wyjście procentowo, bez graficznej prezentacji"
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr "nie wyświetlaj żadnych informacji o przesyłaniu"
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr "pokaż ilość przesłanych bitów"
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr "traktuj przyrostki jako wielokrotności 1000 zamiast 1024"
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr "nie wyświetlaj nic aż do pierwszego przesłanego bajtu"
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr "SEKUNDY"
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr "nie wyświetlaj nic do momentu upłynięcia SEKUNDY sekund"
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr "ROZMIAR"
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr "ustaw oczekiwany rozmiar danych na ROZMIAR bajtów"
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr ""
"jeśli rozmiar nie jest znany, wyświetl zestawienie prędkości do maksymalnej "
"prędkości"
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr "zliczaj linie zamiast bajty"
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr "linie są zakończone znakiem NUL"
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr "aktualizuj co każde SEKUNDY sekund"
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr ""
"oblicz średnią prędkość transferu na podstawie poprzednich SEKUNDY sekund "
"(domyślnie 30 s)"
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr "SZEROKOŚĆ"
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr "przyjmij, że terminal ma szerokość SZEROKOŚĆ znaków"
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr "WYSOKOŚĆ"
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr "przyjmij, że terminal ma wysokość WYSOKOŚĆ linii"
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr "NAZWA"
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr "poprzedź informacje prefiksem NAZWA"
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr "wyświetl na końcu statystyki transferu"
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr "pokaż wyjście nawet standardowe wyjście błędu nie jest terminalem"
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr "używaj znaków ucieczki do pozycjonowania kursora"
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr "PLIK"
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr "zapisz wyjście do PLIK zamiast do wyjścia standardowego"
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr "PRĘDKOŚĆ"
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr "ogranicz przesyłane dane do PRĘDKOŚĆ bajtów na sekundę"
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr "BAJTY"
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr "użyj bufora o rozmiarze BAJTY"
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr "nigdy nie używaj splice(), zawsze używaj read/write"
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr "pomijaj błędy odczytu wejścia"
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr "pomijaj błędy w blokach po BAJTY bajtów na raz"
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr "zakończ po przesłaniu --size bajtów"
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr "wymuś zapis pamięci podręcznej na dysk po każdym zapisie"
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr ""
"użyj bezpośredniego wejścia/wyjścia celem pominięcia pamięci podręcznej"
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr "zignoruj dane wejściowe zamiast wyświetlić je na wyjściu standardowym"
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr ""
"zapisz wszystkie dane wejściowe do PLIK przed wyświetleniem ich na wyjściu"
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr "PID[:FD]"
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr "obserwuj plik FD otworzony przez proces PID"
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr "PID"
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr "zaktualizuj ustawienia procesu PID"
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr "zapisz ID procesu do PLIK"
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr "wyświetl te informacje z pomocą i wyjdź"
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr "wyświetl informacje o wersji i wyjdź"
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr "zapisz logi debugujące do PLIK"
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr "Sposób użycia: %s [OPCJA] [PLIK]..."
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
"Łączenie PLIK(ów) lub wejścia standardowego, do wyjścia standardowego z "
"monitoringiem."
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr "Proszę przesyłać zgłoszenia błędów do %s"
@@ -455,7 +455,7 @@ msgstr "b"
msgid "B"
msgstr "B"
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr "nie udało się zaalokować bufora"
+66 -66
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\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"
@@ -15,260 +15,260 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr "exibe barra de progressão"
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr "exibe tempo passado"
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr "exibe o tempo estimado de término"
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr "exibe o tempo absoluto estimado de término"
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr "exibe a taxa de transferência"
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr "exibe o contador da taxa média de transferência de dados"
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr "exibe a quantidade de bytes transferidos"
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr "exibe a porcentagem de buffer de transferência em uso"
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr ""
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr "exibe NUM bytes gravados pela última vez"
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr ""
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr "definir o formato de saída para FORMAT"
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr "exibe apenas as porcentagens, sem informações visuais"
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr "executa programa sem exibir quaisquer informações"
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr ""
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr ""
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr "não exibe nada até iniciar o processamento"
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr ""
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr "não exibir nada até que os segundos SEC tenham passado"
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr ""
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr "seta a quantidade estimada de dados em SIZE bytes"
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr ""
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr "contar linhas em vez de bytes"
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr "linhas são terminadas em nulo"
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr "atualiza informações a cada SEC segundos"
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr ""
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr ""
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr "presuma que o terminal tem WIDTH caracteres de largura"
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr ""
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr "presuma que o terminal tem HEIGHT caracteres de altura"
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr ""
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr "exibe NAME antes das demais informações"
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr ""
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr "gera dados mesmo que a saída de erro seja redirecionada"
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr "utiliza caracteres de escape para posicionar o cursor"
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr ""
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr ""
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr ""
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr "limita a transferência a RATE bytes por segundo"
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr ""
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr "use um tamanho de buffer de BYTES"
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr "nunca use splice(), sempre use read/write"
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr "ignorar erros de leitura em entrada"
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr ""
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr "parar após --size bytes terem sido transferidos"
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr ""
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr ""
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr ""
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr ""
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr ""
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr "assistir arquivo FD aberto pelo processo PID"
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr ""
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr "atualizar as configurações do processo PID"
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr "salvar ID do processo em FILE"
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr "exibe esta tela de ajuda e termina"
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr "exibe a versão e termina"
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr ""
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr "Uso: %s [OPÇÕES] [ARQUIVOS]..."
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
"Concatena ARQUIVO(s) ou a entrada padrão e grava na saída padrão, com "
"monitoramento."
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr "Por favor, reporte quaisquer defeitos para %s"
@@ -443,7 +443,7 @@ msgstr ""
msgid "B"
msgstr ""
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr "erro alocando o buffer"
+66 -66
View File
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\n"
"PO-Revision-Date: 2024-10-22 18:07+0000\n"
"Last-Translator: 0ko <0ko@users.noreply.translate.codeberg.org>\n"
"Language-Team: Russian <https://translate.codeberg.org/projects/pv/pv/ru/>\n"
@@ -13,259 +13,259 @@ msgstr ""
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 5.8.1\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr "показать полосу прогресса"
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr "показать прошедшее время"
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr "показать примерное время завершения"
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr "показать примерное абсолютное время завершения"
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr "показать скорость передачи данных"
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr "показать среднюю скорость передачи данных"
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr "показать объём переданных данных в байтах"
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr "показать использование буфера передачи в процентах"
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr "КОЛ"
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr "показать КОЛ байт, переданных в последний раз"
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr "ФОРМАТ"
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr "указать формат вывода как ФОРМАТ"
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr "показать проценты вместо визуальной информации"
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr "не отображать никакую информацию о передаче"
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr "показать объём переданных данных в битах"
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr "считать суффиксы как умножители на 1000, а не на 1024"
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr "ничего не показывать, пока не будет передан первый байт"
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr "СЕК"
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr "ничего не показывать, пока не пройдёт СЕК секунд"
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr "РАЗМ"
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr "указать ожидаемый объём данных как РАЗМ байт"
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr "если объём неизвестен, показать скорость и макс. скорость"
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr "считать линии вместо байт"
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr "строки прерываются нулями"
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr "обновлять каждые СЕК секунд"
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr "вычислять среднюю скорость за последние СЕК секунд (по умолчанию 30)"
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr "ШИРИНА"
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr "считать, что в одной строке помещается ШИРИНА символов"
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr "ВЫСОТА"
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr "считать, что на экране помещается ВЫСОТА строк"
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr "ИМЯ"
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr "писать ИМЯ до визуальной информации"
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr "после завершения показать статистику"
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr "вевести, даже если стд. ошибка не является терминалом"
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr ""
"использовать символьные последовательности для позиционирования курсора"
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr "ФАЙЛ"
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr "направить вывод в ФАЙЛ вместо стд. вывода"
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr "СКОР"
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr "ограничить скорость передачи до СКОР байт/сек"
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr "БАЙТ"
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr "использовать буфер размера БАЙТ"
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr "использовать чтение/запись вместо splice()"
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr "пропустить ошибки чтения во вводе"
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr "пропускать ошибки в <БАЙТ> блоках за раз"
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr "остановить после передачи --size байт"
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr "сбрасывать кеш на диск каждый раз"
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr "использовать прямой ввод/вывод для обхода кеша"
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr "отбрасывать ввод вместо записи в вывод"
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr "записывать весь ввод в ФАЙЛ прежде, чем отправлять на вывод"
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr "ИДпр[:FD]"
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr "следить за FD файла, открытого процессом ИДпр"
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr "ИДпр"
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr "обновить настройки ИДпр процесса"
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr "сохранить ИД процесса в ФАЙЛ"
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr "показать справку и завершить работу"
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr "показать версию программы и завершить работу"
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr "вести запись отладочного журнала в ФАЙЛ"
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr "Использование: %s [ОПЦИИ] [ФАЙЛ]..."
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr "Сообщайте о проблемах на: %s"
@@ -438,7 +438,7 @@ msgstr "бит"
msgid "B"
msgstr "байт"
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr "не удалось выделить память для буфера"
+66 -66
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pv 1.8.14\n"
"Report-Msgid-Bugs-To: pv@ivarch.com\n"
"POT-Creation-Date: 2024-12-08 20:38+0000\n"
"POT-Creation-Date: 2024-12-08 21:35+0000\n"
"PO-Revision-Date: 2024-10-12 23:51+0000\n"
"Last-Translator: a-j-wood <a-j-wood@users.noreply.translate.codeberg.org>\n"
"Language-Team: Turkish <https://translate.codeberg.org/projects/pv/pv/tr/>\n"
@@ -13,259 +13,259 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.7.2\n"
#: src/main/help.c:284
#: src/main/help.c:236
msgid "show progress bar"
msgstr "ilerleme çubuğunu göster"
#: src/main/help.c:287
#: src/main/help.c:239
msgid "show elapsed time"
msgstr "geçen süreyi göster"
#: src/main/help.c:290
#: src/main/help.c:242
msgid "show estimated time of arrival (completion)"
msgstr "tahmini varış (tamamlanma) zamanını göster"
#: src/main/help.c:293
#: src/main/help.c:245
msgid "show absolute estimated time of arrival (completion)"
msgstr "mutlak tahmini varış (tamamlanma) zamanını göster"
#: src/main/help.c:296
#: src/main/help.c:248
msgid "show data transfer rate counter"
msgstr "veri aktarım oranı sayacını göster"
#: src/main/help.c:299
#: src/main/help.c:251
msgid "show data transfer average rate counter"
msgstr "veri aktarımı ortalama hız sayacını göster"
#: src/main/help.c:302
#: src/main/help.c:254
msgid "show number of bytes transferred"
msgstr "aktarılan bayt sayısını göster"
#: src/main/help.c:305
#: src/main/help.c:257
msgid "show percentage of transfer buffer in use"
msgstr "aktarım tamponunun kullanım yüzdesini göster"
#: src/main/help.c:307
#: src/main/help.c:259
msgid "NUM"
msgstr "NUM"
#: src/main/help.c:308
#: src/main/help.c:260
msgid "show NUM bytes last written"
msgstr "son yazılan NUM baytlarını göster"
#: src/main/help.c:310
#: src/main/help.c:262
msgid "FORMAT"
msgstr "FORMAT"
#: src/main/help.c:311
#: src/main/help.c:263
msgid "set output format to FORMAT"
msgstr "çıktı formatını FORMAT olarak ayarlayın"
#: src/main/help.c:314
#: src/main/help.c:266
msgid "output percentages, not visual information"
msgstr "görsel bilgileri değil, yüzdeleri çıktı olarak yazdır"
#: src/main/help.c:317
#: src/main/help.c:269
msgid "do not output any transfer information at all"
msgstr "hiçbir transfer bilgisini yazdırma"
#: src/main/help.c:321
#: src/main/help.c:273
msgid "show number of bits transferred"
msgstr "aktarılan bit sayısını göster"
#: src/main/help.c:324
#: src/main/help.c:276
msgid "treat suffixes as multiples of 1000 rather than 1024"
msgstr "ekleri 1024 yerine 1000'in katları olarak değerlendir"
#: src/main/help.c:327
#: src/main/help.c:279
msgid "display nothing until first byte transferred"
msgstr "ilk bayt aktarılana kadar hiçbir şey gösterme"
#: src/main/help.c:329 src/main/help.c:344 src/main/help.c:347
#: src/main/help.c:281 src/main/help.c:296 src/main/help.c:299
msgid "SEC"
msgstr "SEC"
#: src/main/help.c:330
#: src/main/help.c:282
msgid "display nothing until SEC seconds have passed"
msgstr "SEC saniye geçene kadar hiçbir şey gösterme"
#: src/main/help.c:332
#: src/main/help.c:284
msgid "SIZE"
msgstr "BOYUT"
#: src/main/help.c:333
#: src/main/help.c:285
msgid "set estimated data size to SIZE bytes"
msgstr "tahmini veri boyutunu BOYUT bayt olarak ayarlayın"
#: src/main/help.c:336
#: src/main/help.c:288
msgid "if size unknown, show rate vs max rate"
msgstr "boyut bilinmiyorsa, oranı maksimum oranla göster"
#: src/main/help.c:339
#: src/main/help.c:291
msgid "count lines instead of bytes"
msgstr "bayt yerine satır say"
#: src/main/help.c:342
#: src/main/help.c:294
msgid "lines are null-terminated"
msgstr "satırlar boş sonlandırılır"
#: src/main/help.c:345
#: src/main/help.c:297
msgid "update every SEC seconds"
msgstr "her SEC saniyede bir güncelleme"
#: src/main/help.c:348
#: src/main/help.c:300
msgid "compute average rate over past SEC seconds (default 30s)"
msgstr "geçmiş SEC saniyeleri üzerinden ortalama hızı hesapla (varsayılan 30s)"
#: src/main/help.c:350
#: src/main/help.c:302
msgid "WIDTH"
msgstr "GENİŞLİK"
#: src/main/help.c:351
#: src/main/help.c:303
msgid "assume terminal is WIDTH characters wide"
msgstr "terminalin GENİŞLİK karakter genişliğinde olduğunu varsayalım"
#: src/main/help.c:353
#: src/main/help.c:305
msgid "HEIGHT"
msgstr "YÜKSEKLİK"
#: src/main/help.c:354
#: src/main/help.c:306
msgid "assume terminal is HEIGHT rows high"
msgstr "terminalin YÜKSEKLİK sıraları yüksekliğinde olduğunu varsayalım"
#: src/main/help.c:356
#: src/main/help.c:308
msgid "NAME"
msgstr "İSİM"
#: src/main/help.c:357
#: src/main/help.c:309
msgid "prefix visual information with NAME"
msgstr "görsel bilgiyi İSİM ile öne ekle"
#: src/main/help.c:359
#: src/main/help.c:311
msgid "SPEC"
msgstr ""
#: src/main/help.c:360
#: src/main/help.c:312
msgid "also send progress to SPEC"
msgstr ""
#: src/main/help.c:363
#: src/main/help.c:315
msgid "output transfer statistics at the end"
msgstr "transfer istatistiklerini sonda göster"
#: src/main/help.c:366
#: src/main/help.c:318
msgid "output even if standard error is not a terminal"
msgstr "standart hata bir terminal olmasa bile çıktı yazdır"
#: src/main/help.c:369
#: src/main/help.c:321
msgid "use cursor positioning escape sequences"
msgstr "imleç konumlandırma kaçış dizilerini kullan"
#: src/main/help.c:372 src/main/help.c:402 src/main/help.c:414
#: src/main/help.c:424
#: src/main/help.c:324 src/main/help.c:354 src/main/help.c:366
#: src/main/help.c:376
msgid "FILE"
msgstr "DOSYA"
#: src/main/help.c:373
#: src/main/help.c:325
msgid "write output to FILE instead of stdout"
msgstr "çıktıyı stdout yerine DOSYA'ya yaz"
#: src/main/help.c:375
#: src/main/help.c:327
msgid "RATE"
msgstr "ORAN"
#: src/main/help.c:376
#: src/main/help.c:328
msgid "limit transfer to RATE bytes per second"
msgstr "aktarımı saniye başına ORAN bayt ile sınırlandırın"
#: src/main/help.c:378 src/main/help.c:387
#: src/main/help.c:330 src/main/help.c:339
msgid "BYTES"
msgstr "BAYTLAR"
#: src/main/help.c:379
#: src/main/help.c:331
msgid "use a buffer size of BYTES"
msgstr "BAYTLAR tampon boyutu kullanın"
#: src/main/help.c:382
#: src/main/help.c:334
msgid "never use splice(), always use read/write"
msgstr "splice() kullanma, her zaman read/write kullan"
#: src/main/help.c:385
#: src/main/help.c:337
msgid "skip read errors in input"
msgstr "girdideki okuma hatalarını atla"
#: src/main/help.c:388
#: src/main/help.c:340
msgid "skip errors in BYTES blocks at a time"
msgstr "BAYTLAR blokları halinde hataları atla"
#: src/main/help.c:391
#: src/main/help.c:343
msgid "stop after --size bytes have been transferred"
msgstr "--size bayt transfer edildikten sonra dur"
#: src/main/help.c:394
#: src/main/help.c:346
msgid "flush cache to disk after every write"
msgstr "her yazmadan sonra önbelleği diske boşalt"
#: src/main/help.c:397
#: src/main/help.c:349
msgid "use direct I/O to bypass cache"
msgstr "Önbelleği atlamak için doğrudan I/O kullan"
#: src/main/help.c:400
#: src/main/help.c:352
msgid "discard input instead of writing to output"
msgstr "Girdiyi çıktıya yazmak yerine yok say"
#: src/main/help.c:403
#: src/main/help.c:355
msgid "write all input to FILE before writing to output"
msgstr "çıktıya yazmadan önce tüm girdiyi DOSYA'ya yaz"
#: src/main/help.c:405
#: src/main/help.c:357
msgid "PID[:FD]"
msgstr "PID[:FD]"
#: src/main/help.c:406
#: src/main/help.c:358
msgid "watch file FD opened by process PID"
msgstr "FD izleme dosyası PID işlemi tarafından açıldı"
#: src/main/help.c:409
#: src/main/help.c:361
msgid "PID"
msgstr "PID"
#: src/main/help.c:410
#: src/main/help.c:362
msgid "update settings of process PID"
msgstr "süreç PID ayarlarını güncelle"
#: src/main/help.c:415
#: src/main/help.c:367
msgid "save process ID in FILE"
msgstr "FILE'da işlem kimliğini (ID) kaydet"
#: src/main/help.c:418
#: src/main/help.c:370
msgid "show this help and exit"
msgstr "bu yardımı göster ve çık"
#: src/main/help.c:421
#: src/main/help.c:373
msgid "show version information and exit"
msgstr "sürüm bilgilerini göster ve çık"
#: src/main/help.c:425
#: src/main/help.c:377
msgid "write debug logs to FILE"
msgstr "Hata ayıklama kayıtlarını DOSYA'ya yaz"
#: src/main/help.c:451
#: src/main/help.c:403
#, c-format
msgid "Usage: %s [OPTION] [FILE]..."
msgstr "Kullanım şekli: %s [AYAR] [DOSYA]..."
#: src/main/help.c:462
#: src/main/help.c:414
msgid ""
"Concatenate FILE(s), or standard input, to standard output, with monitoring."
msgstr ""
"İzleme ile DOSYA(lar)ı veya standart girdiyi standart çıktı ile birleştirin."
#: src/main/help.c:600
#: src/main/help.c:552
msgid "Supported format sequences:"
msgstr ""
#: src/main/help.c:614
#: src/main/help.c:566
#, c-format
msgid "Please report any bugs to: %s"
msgstr "Lütfen hataları şu adrese bildirin: %s"
@@ -439,7 +439,7 @@ msgstr "b"
msgid "B"
msgstr "B"
#: src/pv/display.c:1638 src/pv/transfer.c:1056
#: src/pv/display.c:1641 src/pv/transfer.c:1056
msgid "buffer allocation failed"
msgstr "arabellek tahsisi başarısız oldu"
+14 -62
View File
@@ -22,77 +22,27 @@
/*
* Return the number of display columns needed to show the given string.
*
* To do this, we convert it to a wide character string, and use the wide
* character display width function "wcswidth()" on it.
* Return the number of display columns needed to show the given
* null-terminated string.
*
* If NLS is disabled, or the string cannot be converted, this is just the
* same as "strlen()".
*/
static size_t display_width(const char *string)
{
size_t width;
#if defined(ENABLE_NLS) && defined(HAVE_WCHAR_H)
size_t wide_char_count;
size_t wide_string_buffer_size;
wchar_t *wide_string;
size_t bytes;
if (NULL == string)
return 0;
/*@-nullpass@ */
bytes = strlen(string); /* flawfinder: ignore */
/*
* splint note: mbstowcs() manual page on Linux explicitly says it
* takes NULL.
* flawfinder rationale: we have already checked for NULL, and it is
* explicitly required of the caller to provide a null-terminated
* string.
*/
wide_char_count = mbstowcs(NULL, string, 0);
/*@+nullpass@ */
if (wide_char_count == (size_t) -1) {
debug("%s: %s: %s", "mbstowcs", string, strerror(errno));
return strlen(string); /* flawfinder: ignore */
/*
* flawfinder rationale: we have already checked for NULL,
* and we don't know the size of the originating buffer so
* can't use strnlen(); it is up to the caller to provide a
* terminated string.
*/
}
wide_string_buffer_size = sizeof(*wide_string) * (1 + wide_char_count);
wide_string = malloc(wide_string_buffer_size);
if (NULL == wide_string) {
perror("malloc");
return strlen(string); /* flawfinder: ignore */
/* flawfinder rationale: see above. */
}
memset(wide_string, 0, wide_string_buffer_size);
if (mbstowcs(wide_string, string, 1 + wide_char_count) == (size_t) -1) {
debug("%s: %s: %s", "mbstowcs", string, strerror(errno));
width = strlen(string); /* flawfinder: ignore */
/* flawfinder rationale: see above. */
} else if (NULL != wide_string) {
/*@-unrecog @ */
/* splint seems unable to see the prototype. */
width = wcswidth(wide_string, wide_char_count);
/*@+unrecog @ */
} else {
width = 0;
}
free(wide_string);
#else /* ! defined(ENABLE_NLS) && defined(HAVE_WCHAR_H) */
if (NULL == string)
return 0;
width = strlen(string); /* flawfinder: ignore */
/* flawfinder rationale: see above. */
#endif /* defined(ENABLE_NLS) && defined(HAVE_WCHAR_H) */
return width;
return pv_strwidth(string, bytes);
}
@@ -134,9 +84,9 @@ static void display_word_wrap_7bit(const char *string, size_t display_width, siz
/*
* Output a string to standard output, word wrapping to "display_width"
* display character positions, and left-padding any new lines after the
* first one with "left_margin" spaces.
* Output a null-terminated string to standard output, word wrapping to
* "display_width" display character positions, and left-padding any new
* lines after the first one with "left_margin" spaces.
*
* Wide characters are handled if NLS is enabled, but if they can't be, this
* falls back to a version which just counts bytes as characters.
@@ -153,7 +103,7 @@ static void display_word_wrap(const char *string, size_t display_width, size_t l
return;
/*@-nullpass@ */
/* splint note: see earlier mbstowcs() call. */
/* splint note: see mbstowcs() call in pv_strwidth(). */
wide_char_count = mbstowcs(NULL, string, 0);
/*@+nullpass@ */
if (wide_char_count == (size_t) -1) {
@@ -181,7 +131,9 @@ static void display_word_wrap(const char *string, size_t display_width, size_t l
start_idx = 0;
chars_remaining = wide_char_count;
/*@-unrecog@ *//* splint seems unable to see the prototype for wcswidth(). */
while (chars_remaining > 0 && wcswidth(&(wide_string[start_idx]), chars_remaining) > display_width) {
/*@+unrecog@ */
size_t next_idx;
end_idx = start_idx + display_width;
+6
View File
@@ -1530,6 +1530,9 @@ static void pv__format_init(pvstate_t state, /*@null@ */ const char *format_supp
display->format[segment].bytes = str_bytes;
display->format[segment].width = pv_strwidth(&(display_format[str_start]), str_bytes);
debug("format[%d]:[%.*s], length=%d, width=%d", segment, str_bytes, display_format + str_start,
str_bytes, display->format[segment].width);
} else {
char dummy_buffer[4]; /* flawfinder: ignore - unused. */
@@ -1777,6 +1780,9 @@ bool pv_format(pvstate_t state, /*@null@ */ const char *format_supplied, pvdispl
new_display_string_bytes += segment->bytes;
new_display_string_width += segment->width;
debug("segment[%d]: bytes=%d, width=%d: [%.*s]", segment_idx, segment->bytes, segment->width,
segment->bytes, display->display_buffer + display_buffer_offset - segment->bytes);
}
debug("%s: %d", "new display string length in bytes", (int) new_display_string_bytes);
+115 -5
View File
@@ -13,6 +13,12 @@
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#if defined(ENABLE_NLS) && defined(HAVE_WCHAR_H)
#include <wchar.h>
#if defined(HAVE_WCTYPE_H)
#include <wctype.h>
#endif
#endif
/*
@@ -161,9 +167,9 @@ char *pv_strdup(const char *original)
void *pv_memrchr(const void *buffer, int match, size_t length)
{
#ifdef HAVE_MEMRCHR
/*@-unrecog @ *//* splint doesn't know of memrchr() */
/*@-unrecog@ *//* splint doesn't know of memrchr() */
return memrchr(buffer, match, length);
/*@+unrecog @ */
/*@+unrecog@ */
#else
unsigned char *ptr;
@@ -183,14 +189,118 @@ void *pv_memrchr(const void *buffer, int match, size_t length)
/*
* Return the displayed width of a string.
* Return the number of display columns needed to show the
* non-null-terminated string "string" whose length in bytes is "bytes".
*
* Skips ECMA-48 CSI (ESC [ ...) sequences, but any other control characters
* are treated as printable.
*
* To do this, we convert it to a wide character string, and use the wide
* character display width function "wcswidth()" on it.
*
* If NLS is disabled, or the string cannot be converted, this just returns
* the value of "bytes".
*
* Note that this function uses internal buffers if the string is short
* enough, otherwise it has to call malloc() and free(), so it becomes less
* efficient with larger strings.
*/
size_t pv_strwidth(const char *string, size_t bytes)
{
char *allocated_raw = NULL;
static char internal_raw[256]; /* flawfinder: ignore - bounded */
char *raw_string = NULL;
size_t read_pos, write_pos;
size_t raw_bytes, width;
#if defined(ENABLE_NLS) && defined(HAVE_WCHAR_H)
size_t wide_char_count;
size_t wide_string_buffer_size;
wchar_t *allocated_wide = NULL;
static wchar_t internal_wide[256]; /* flawfinder: ignore - bounded */
wchar_t *wide_string = NULL;
#endif /* defined(ENABLE_NLS) && defined(HAVE_WCHAR_H) */
if (NULL == string)
return 0;
if (0 == bytes)
return 0;
/* TODO: actually calculate displayed width rather than assuming. */
return bytes;
if (bytes < sizeof(internal_raw) - 1) {
raw_string = internal_raw;
} else {
allocated_raw = calloc(1, 1 + bytes);
if (NULL == allocated_raw)
return bytes;
raw_string = allocated_raw;
}
/* Copy the original string, skipping ECMA-48 CSI sequences. */
for (read_pos = 0, write_pos = 0; read_pos < bytes; read_pos++) {
if ((string[read_pos] != '\033') || (read_pos >= bytes - 1) || (string[read_pos + 1] != '[')) {
raw_string[write_pos++] = string[read_pos];
continue;
}
read_pos += 2;
while ((read_pos < bytes - 1)
&& ((string[read_pos] >= '0' && string[read_pos] <= '9')
|| (';' == string[read_pos])
)
) {
read_pos++;
}
}
raw_string[write_pos] = '\0';
raw_bytes = write_pos;
width = raw_bytes;
#if defined(ENABLE_NLS) && defined(HAVE_WCHAR_H)
/*@-nullpass@ */
/*
* splint note: mbstowcs() manual page on Linux explicitly says it
* takes NULL.
*/
wide_char_count = mbstowcs(NULL, raw_string, 0);
/*@+nullpass@ */
if (wide_char_count == (size_t) -1) {
debug("%s: %s: %s", "mbstowcs", raw_string, strerror(errno));
if (NULL != allocated_raw)
free(allocated_raw);
return raw_bytes;
}
wide_string_buffer_size = sizeof(*wide_string) * (1 + wide_char_count);
if (wide_string_buffer_size < sizeof(internal_wide)) {
wide_string = internal_wide;
} else {
allocated_wide = malloc(wide_string_buffer_size);
if (NULL == allocated_wide) {
perror("malloc");
if (NULL != allocated_raw)
free(allocated_raw);
return raw_bytes;
}
wide_string = allocated_wide;
}
memset(wide_string, 0, wide_string_buffer_size);
if (mbstowcs(wide_string, raw_string, 1 + wide_char_count) == (size_t) -1) {
debug("%s: %s: %s", "mbstowcs", raw_string, strerror(errno));
} else if (NULL != wide_string) {
/*@-unrecog@ *//* splint seems unable to see the prototype. */
width = wcswidth(wide_string, wide_char_count);
/*@+unrecog@ */
} else {
width = 0;
}
if (NULL != allocated_wide)
free(allocated_wide);
#endif /* defined(ENABLE_NLS) && defined(HAVE_WCHAR_H) */
if (NULL != allocated_raw)
free(allocated_raw);
return width;
}