From e6b591d95fd40eb68bfa71761010bf85e3116c5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Wed, 18 May 2011 07:23:21 +0200 Subject: [PATCH] Improve error message when translation installation fails For Translator Manager (myself...). A translation installation may fail because translator hasn't enter properly string parameters (%s). With this patch, the message ID is displayed not only the parameter. Signed-off-by: Chris Cormack --- misc/translator/TmplTokenizer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/TmplTokenizer.pm b/misc/translator/TmplTokenizer.pm index cb4da7d207..cb045137e4 100644 --- a/misc/translator/TmplTokenizer.pm +++ b/misc/translator/TmplTokenizer.pm @@ -427,7 +427,7 @@ sub parametrize ($$$$) { $it .= $&; die "$&: Unknown or unsupported format specification\n"; #XXX } else { - die "$&: Completely confused parametrizing\n";#XXX + die "$&: Completely confused parametrizing -- msgid: $fmt_0\n";#XXX } } } -- 2.39.5