mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(mc_error_message): make output format translatable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
1de0434c61
commit
829738baa7
@ -443,7 +443,7 @@ mc_error_message (GError ** mcerror, int *code)
|
||||
if ((*mcerror)->code == 0)
|
||||
message (D_ERROR, MSG_ERROR, "%s", (*mcerror)->message);
|
||||
else
|
||||
message (D_ERROR, MSG_ERROR, "%s (%d)", (*mcerror)->message, (*mcerror)->code);
|
||||
message (D_ERROR, MSG_ERROR, _("%s (%d)"), (*mcerror)->message, (*mcerror)->code);
|
||||
|
||||
if (code != NULL)
|
||||
*code = (*mcerror)->code;
|
||||
|
Loading…
Reference in New Issue
Block a user