1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

core: translate error messages (issue #2013)

This commit is contained in:
Sébastien Helleu
2023-09-12 15:12:15 +02:00
parent 79b03d0680
commit 75a0755107
15 changed files with 151 additions and 17 deletions
+4 -2
View File
@@ -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);
}