1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

core: translate error messages (issue #2013)

This commit is contained in:
Sébastien Helleu
2023-09-12 15:09:00 +02:00
parent 3021b2f9c5
commit d100d62a72
15 changed files with 156 additions and 24 deletions
+4 -2
View File
@@ -3306,13 +3306,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);
}