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 <chrisc@catalyst.net.nz>
This commit is contained in:
parent
7006eebd6e
commit
e6b591d95f
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue