mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 18:23:13 +02:00
xfer: display an error message when opening file for read or write fails (issue #2010)
This commit is contained in:
@@ -65,6 +65,7 @@ Bug fixes::
|
||||
* script: add parameters up/down/go in `/help script` and command completion
|
||||
* script: fix cursor position after `/script list -i` or `/script list -il`
|
||||
* script: fix buffer used by command `/script list -i|-il|-o|-ol`
|
||||
* xfer: display an error message when opening file for read or write fails (issue #2010)
|
||||
|
||||
Tests::
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -14542,6 +14542,11 @@ msgstr "%s%s: špatný kontrolní součet CRC32 souboru %s"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: chyba při načítání souboru \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: nemůžu číst soubor \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: nemohu provést fork"
|
||||
@@ -14554,6 +14559,10 @@ msgstr ""
|
||||
"%s: posílám soubor k %s: %s (lokální jméno souboru: %s), %llu bytů "
|
||||
"(protokol: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: nemůžu zapsat log soubor \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: nemohu vytvořit soket pro odesílání souboru"
|
||||
|
||||
@@ -26,7 +26,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-08 07:55+0200\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
@@ -17428,6 +17428,11 @@ msgstr "%s%s: Datei %s besitzt fehlerhafte CRC32 Prüfsumme"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: CRC32 Fehler bei der Wiederaufnahme"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: Datei \"%s\" kann nicht gelesen werden"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: ein Fork kann nicht erstellt werden (%s)"
|
||||
@@ -17440,6 +17445,11 @@ msgstr ""
|
||||
"%s: sende Datei an %s (%s, %s.%s), Name: %s (lokaler Dateiname: %s), %llu "
|
||||
"Bytes (Protokoll: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: Protokoll-Datei \"%s\" kann nicht geschrieben werden: %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr ""
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -15221,6 +15221,11 @@ msgstr "%s%s: argumentos incorrectos para la función \"%s\" (script: %s)"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: error mientras se cargaba el archivo \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: no es posible leer el archivo \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: no es posible bifurcarse"
|
||||
@@ -15233,6 +15238,11 @@ msgstr ""
|
||||
"%s: enviando archivo a %s (%s, %s.%s), nombre: %s (archivo local: %s), %llu "
|
||||
"bytes (protocolo: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: imposible escribir en el registro \"%s\": %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr ""
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"PO-Revision-Date: 2023-09-08 13:02+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-08 13:03+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -17127,6 +17127,10 @@ msgstr "%s%s : mauvais CRC32 pour le fichier %s"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s : erreur CRC32 durant la reprise"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s : impossible de lire le fichier \"%s\" : %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s : impossible de créer un processus (%s)"
|
||||
@@ -17139,6 +17143,10 @@ msgstr ""
|
||||
"%s : offre de fichier pour %s (%s, %s.%s), nom : %s (nom local : %s), %llu "
|
||||
"octets (protocole : %s)"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s : impossible d'écrire le fichier \"%s\" : %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr ""
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -13767,6 +13767,10 @@ msgstr "%s rossz argumentum a \"%s\" parancsnak\n"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s DCC: nem sikerült forkolni\n"
|
||||
@@ -13779,6 +13783,10 @@ msgstr ""
|
||||
"DCC fájl küldése a következőnek: %s%s%s: %s%s%s (helyi fájlnév: %s%s%s), "
|
||||
"%s%lu%s bájt\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s DCC: nem sikerült csatornát nyitni a fájlküldéshez\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -14990,6 +14990,11 @@ msgstr "%s%s: argomenti errati per la funzione \"%s\" (script: %s)"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: errore durante il caricamento del file \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: impossibile leggere il file \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: impossibile effettuare il fork"
|
||||
@@ -15002,6 +15007,11 @@ msgstr ""
|
||||
"%s: invio file a %s (%s.%s), nome: %s (nome file locale: %s), %llu byte "
|
||||
"(protocollo: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: impossibile scrivere il file di log \"%s\": %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: impossibile creare il socket per inviare il file: errore %d %s"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@@ -16515,6 +16515,11 @@ msgstr "%s%s: ファイル %s の CRC32 が違います"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: レジューム中に CRC32 エラー"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: ファイル \"%s\" を読み込めません"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: フォークできません (%s)"
|
||||
@@ -16527,6 +16532,11 @@ msgstr ""
|
||||
"%s: %s (%s、%s.%s) へファイルを送信: 名前: %s (ローカルファイル名: %s)、%llu "
|
||||
"バイト (プロトコル: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: ログファイル \"%s\" の書き込みに失敗: %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: ファイル送信用にソケットを作れません: エラー %d %s"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
|
||||
@@ -18105,6 +18105,11 @@ msgstr "%s%s: nieprawidłowa wartość CRC32 dla pliku %s"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: błąd CRC32 podczas wznawiania"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: nie można odczytać pliku \"%s\""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: nie można sforkować (%s)"
|
||||
@@ -18117,6 +18122,11 @@ msgstr ""
|
||||
"%s: wysyłam plik do %s (%s, %s.%s), nazwa: %s (lokalny plik: %s), %llu "
|
||||
"bajtów (protokół: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: nie można zapisać pliku z logiem \"%s\": %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: nie można otworzyć gniazda do wysłania pliku: błąd %d %s"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -16220,6 +16220,11 @@ msgstr "%s%s: CRC32 do ficheiro %s incorreto"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: erro de CRC32 ao resumir"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: não foi possível ler o ficheiro \"%s\""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: não é possível efetuar fork (%s)"
|
||||
@@ -16232,6 +16237,11 @@ msgstr ""
|
||||
"%s: ficheiro enviado para %s (%s, %s.%s), nome: %s (nome local: %s), %llu "
|
||||
"bytes (protocolo: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: não foi possível escrever o ficheiro de registo \"%s\": %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: não foi possível criar socket para enviar ficheiro: erro %d %s"
|
||||
|
||||
+11
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -14426,6 +14426,11 @@ msgstr "%s%s: argumentos inválidos para a função \"%s\" (script: %s)"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: erro na leitura do arquivo \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: não foi possível ler arquivo \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: não foi possível efetuar o fork"
|
||||
@@ -14438,6 +14443,11 @@ msgstr ""
|
||||
"%s: enviando arquivo para %s (%s.%s): %s (arquivo local: %s), %llu bytes "
|
||||
"(protocolo: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: não foi possível escrever arquivo de registro \"%s\": %s"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: não foi possível criar o socket para enviar arquivo"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -13807,6 +13807,10 @@ msgstr "%s некорректные аргументы команды \"%s\"\n"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "Не могу записать лог-файл \"%s\"\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "Не могу записать лог-файл \"%s\"\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s DCC: не могу forkнуться\n"
|
||||
@@ -13817,6 +13821,10 @@ msgid ""
|
||||
"bytes (protocol: %s)"
|
||||
msgstr "Отправляю файл %s%s%s: %s%s%s (файл: %s%s%s), %s%lu%s байт\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "Не могу записать лог-файл \"%s\"\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s DCC: не могу создать сокет для отправки файла\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -16705,6 +16705,11 @@ msgstr "%s%s: погрешан CRC32 за фајл %s"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: CRC32 грешка приликом настављања"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: фајл „%s” не може да се прочита"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: није могуће рачвање (%s)"
|
||||
@@ -16717,6 +16722,11 @@ msgstr ""
|
||||
"%s: слање фајла за %s (%s, %s.%s), име: %s (локално име фајла: %s), %llu "
|
||||
"бајтова (протокол: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: не може да се упише у лог фајл „%s”: %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: није могао да се креира сокет за слање фајла: грешка %d %s"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
|
||||
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -17408,6 +17408,11 @@ msgstr "%s%s: %s dosyası için hatalı CRC32"
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr "%s%s: Sürdürme sırasında CRC32 hatası"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to read file \"%s\""
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr "%s%s: \"%s\" dosyası okunamıyor"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr "%s%s: Çatallanamıyor (%s)"
|
||||
@@ -17420,6 +17425,11 @@ msgstr ""
|
||||
"%s: Dosya gönderiliyor: %s (%s, %s.%s), ad: %s (yerel dosya adı: %s), %llu "
|
||||
"bayt (protokol: %s)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to write log file \"%s\": %s"
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr "%s%s: \"%s\" günlük dosyası yazılamıyor: %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr "%s%s: Dosya gönderimi için soket oluşturulamıyor: Hata %d %s"
|
||||
|
||||
+9
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:01+0200\n"
|
||||
"POT-Creation-Date: 2023-09-08 13:02+0200\n"
|
||||
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -12511,6 +12511,10 @@ msgstr ""
|
||||
msgid "%s%s: CRC32 error while resuming"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to read file \"%s\": %s"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to fork (%s)"
|
||||
msgstr ""
|
||||
@@ -12521,6 +12525,10 @@ msgid ""
|
||||
"bytes (protocol: %s)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to write file \"%s\": %s"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: unable to create socket for sending file: error %d %s"
|
||||
msgstr ""
|
||||
|
||||
@@ -331,6 +331,18 @@ xfer_network_send_file_fork (struct t_xfer *xfer)
|
||||
|
||||
xfer->file = open (xfer->local_filename, O_RDONLY | O_NONBLOCK, 0644);
|
||||
|
||||
if (xfer->file < 0)
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
_("%s%s: unable to read file \"%s\": %s"),
|
||||
weechat_prefix ("error"),
|
||||
XFER_PLUGIN_NAME,
|
||||
xfer->local_filename,
|
||||
strerror (errno));
|
||||
xfer_close (xfer, XFER_STATUS_FAILED);
|
||||
xfer_buffer_refresh (WEECHAT_HOTLIST_MESSAGE);
|
||||
}
|
||||
|
||||
switch (pid = fork ())
|
||||
{
|
||||
case -1: /* fork failed */
|
||||
@@ -408,6 +420,19 @@ xfer_network_recv_file_fork (struct t_xfer *xfer)
|
||||
0644);
|
||||
}
|
||||
|
||||
if (xfer->file < 0)
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
_("%s%s: unable to write file \"%s\": %s"),
|
||||
weechat_prefix ("error"),
|
||||
XFER_PLUGIN_NAME,
|
||||
xfer->temp_local_filename,
|
||||
strerror (errno));
|
||||
xfer_close (xfer, XFER_STATUS_FAILED);
|
||||
xfer_buffer_refresh (WEECHAT_HOTLIST_MESSAGE);
|
||||
return;
|
||||
}
|
||||
|
||||
switch (pid = fork ())
|
||||
{
|
||||
case -1: /* fork failed */
|
||||
@@ -872,11 +897,10 @@ xfer_network_connect_init (struct t_xfer *xfer)
|
||||
}
|
||||
else
|
||||
{
|
||||
xfer->status = XFER_STATUS_CONNECTING;
|
||||
/* for a file: launch child process */
|
||||
if (XFER_IS_FILE(xfer->type) && XFER_IS_ACTIVE(xfer->type))
|
||||
xfer_network_recv_file_fork (xfer);
|
||||
|
||||
xfer->status = XFER_STATUS_CONNECTING;
|
||||
}
|
||||
xfer_buffer_refresh (WEECHAT_HOTLIST_MESSAGE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user