(mc_error_message): make output format translatable.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2016-02-27 09:52:56 +03:00
parent 1de0434c61
commit 829738baa7

View File

@ -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;