From 829738baa7e0f3639dcdbd1dc29713a3e68df955 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sat, 27 Feb 2016 09:52:56 +0300 Subject: [PATCH] (mc_error_message): make output format translatable. Signed-off-by: Andrew Borodin --- lib/widget/wtools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget/wtools.c b/lib/widget/wtools.c index c4c4c20f9..21727a1e5 100644 --- a/lib/widget/wtools.c +++ b/lib/widget/wtools.c @@ -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;