diff --git a/po/cs.po b/po/cs.po index 9cc1892b9..c1e7c389f 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-25 00:48+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -4427,6 +4427,16 @@ msgstr "%sChyba: nemohu vytvořit soubor \"%s\"" msgid "%sError writing configuration file \"%s\"" msgstr "%sChyba při zápisu konfiguračního souboru \"%s\"" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: server %s%s%s byl zkopírován do %s%s%s" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: nemůžu načíst soubor \"%s\"" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/de.po b/po/de.po index 86314e5f6..de36d6709 100644 --- a/po/de.po +++ b/po/de.po @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-07-05 21:25+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -5585,6 +5585,16 @@ msgid "%sError writing configuration file \"%s\"" msgstr "" "%sEs ist ein Fehler beim Speichern der Konfigurationsdatei \"%s\" aufgetreten" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: Server %s%s%s wurde nach %s%s%s kopiert" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: Kann die Datei \"%s\" nicht laden" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/es.po b/po/es.po index 9dadcff43..8a8e091e1 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Santiago Forero \n" "Language-Team: weechat-dev \n" @@ -5052,6 +5052,16 @@ msgstr "%sError: no es posible crear el archivo \"%s\"" msgid "%sError writing configuration file \"%s\"" msgstr "%sError al escribir el archivo de configuración \"%s\"" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: servidor %s%s%s copiado como %s%s%s" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: no es posible cargar el archivo \"%s\"" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/fr.po b/po/fr.po index 8f1b0e96b..29cec3d03 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" -"PO-Revision-Date: 2023-09-11 09:33+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" +"PO-Revision-Date: 2023-09-12 15:11+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -5452,6 +5452,14 @@ msgstr "%sImpossible de créer le fichier \"%s\"" msgid "%sError writing configuration file \"%s\"" msgstr "%sErreur d'écriture du fichier de configuration \"%s\"" +#, c-format +msgid "%sFile %s has been backed up as %s" +msgstr "%sLe fichier %s a été sauvegardé sous le nom %s" + +#, c-format +msgid "%sError: unable to backup file %s" +msgstr "%sErreur : impossible de sauvegarder le fichier %s" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/hu.po b/po/hu.po index 7967d8106..d91b6a488 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -3972,6 +3972,14 @@ msgstr "%s nem sikerült a \"%s\" fájlt létrehozni\n" msgid "%sError writing configuration file \"%s\"" msgstr "szerver konfigurációs fájljának újraolvastatása" +#, fuzzy, c-format +msgid "%sFile %s has been backed up as %s" +msgstr "A %s%s%s szerver másolva lett %s%s néven\n" + +#, fuzzy, c-format +msgid "%sError: unable to backup file %s" +msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/it.po b/po/it.po index 944611869..fed5af908 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -4689,6 +4689,16 @@ msgstr "%sErrore: impossibile creare il file \"%s\"" msgid "%sError writing configuration file \"%s\"" msgstr "%sErrore: impossibile scrivere sul file di configurazione \"%s\"" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: il server %s%s%s è stato copiato in %s%s%s" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: impossibile caricare il file \"%s\"" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/ja.po b/po/ja.po index 544b57010..c1db28041 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" @@ -5731,6 +5731,16 @@ msgstr "%sNie można utworzyć pliku \"%s\"" msgid "%sError writing configuration file \"%s\"" msgstr "%sBłąd podczas zapisu pliku konfiguracyjnego \"%s\"" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: serwer %s%s%s został skopiowany do %s%s%s" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: nie można wczytać pliku \"%s\"" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/pt.po b/po/pt.po index 4b9d13d69..405940be9 100644 --- a/po/pt.po +++ b/po/pt.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -5324,6 +5324,16 @@ msgstr "%sErro: não é possível criar o ficheiro \"%s\"" msgid "%sError writing configuration file \"%s\"" msgstr "%sErro ao escrever o ficheiro de configuração \"%s\"" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: o servidor %s%s%s foi copiado para %s%s%s" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: não foi possível carregar o ficheiro \"%s\"" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/pt_BR.po b/po/pt_BR.po index da54190dc..fbf208bf6 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" @@ -4698,6 +4698,16 @@ msgstr "%sErro: não foi possível criar arquivo \"%s\"" msgid "%sError writing configuration file \"%s\"" msgstr "%sErro escrevendo arquivo de configuração \"%s\"" +#, fuzzy, c-format +#| msgid "Layout \"%s\" has been renamed to \"%s\"" +msgid "%sFile %s has been backed up as %s" +msgstr "Disposição \"%s\" renomeado para \"%s\"" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: não foi possível carregar arquivo \"%s\"" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/ru.po b/po/ru.po index dd34341e0..fb45e5996 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -4000,6 +4000,14 @@ msgstr "%s не могу создать файл \"%s\"\n" msgid "%sError writing configuration file \"%s\"" msgstr "перезагрузить конфигурационный файл сервера" +#, fuzzy, c-format +msgid "%sFile %s has been backed up as %s" +msgstr "Сервер %s%s%s скопирован в %s%s\n" + +#, fuzzy, c-format +msgid "%sError: unable to backup file %s" +msgstr "Не могу записать лог-файл \"%s\"\n" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/sr.po b/po/sr.po index ba48d9805..1e12743d7 100644 --- a/po/sr.po +++ b/po/sr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Ivan Pešić \n" "Language-Team: weechat-dev \n" @@ -5377,6 +5377,16 @@ msgstr "%sНе може да се креира фајл „%s”" msgid "%sError writing configuration file \"%s\"" msgstr "%sГрешка при уписивању конфигурационог фајла „%s”" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: сервер %s%s%s је копиран у %s%s%s" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: фајл „%s” не може да се учита" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/tr.po b/po/tr.po index b0aa6e0c6..72c8a563d 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Emir SARI \n" "Language-Team: weechat-dev \n" @@ -5375,6 +5375,16 @@ msgstr "%s\"%s\" dosyası oluşturulamıyor" msgid "%sError writing configuration file \"%s\"" msgstr "%s\"%s\" yapılandırma dosyası yazılırken hata" +#, fuzzy, c-format +#| msgid "%s: server %s%s%s has been copied to %s%s%s" +msgid "%sFile %s has been backed up as %s" +msgstr "%s: %s%s%s sunucusu %s%s%s konumuna kopyalandı" + +#, fuzzy, c-format +#| msgid "%s%s: unable to load file \"%s\"" +msgid "%sError: unable to backup file %s" +msgstr "%s%s: \"%s\" dosyası yüklenemiyor" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/po/weechat.pot b/po/weechat.pot index 3a5b005d7..3929215dd 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-09-11 09:32+0200\n" +"POT-Creation-Date: 2023-09-12 15:10+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -3624,6 +3624,14 @@ msgstr "" msgid "%sError writing configuration file \"%s\"" msgstr "" +#, c-format +msgid "%sFile %s has been backed up as %s" +msgstr "" + +#, c-format +msgid "%sError: unable to backup file %s" +msgstr "" + #, c-format msgid "" "%sImportant: file %s has been updated from version %d to %d, it is not " diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index 32bfb4af5..849e7c5e2 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -3206,13 +3206,15 @@ config_file_backup (const char *filename) if (dir_file_copy (filename, filename_backup)) { - gui_chat_printf (NULL, "%sFile %s has been backed up as %s", + gui_chat_printf (NULL, + _("%sFile %s has been backed up as %s"), gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], filename, filename_backup); } else { - gui_chat_printf (NULL, "%sError: unable to backup file %s", + gui_chat_printf (NULL, + _("%sError: unable to backup file %s"), gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], filename); }