fix: don't use plain strings in vars as printf formats

This commit is contained in:
Stéphane Lesimple
2021-01-15 19:41:17 +01:00
parent e8eb7824aa
commit 66cf0d25ee
11 changed files with 25 additions and 25 deletions

View File

@@ -1406,8 +1406,8 @@ void RS03Create(void)
{ int answer;
answer = ModalWarningOrCLI(GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL, NULL,
_("Using redundancies below 20%% may not give\n"
"the expected data loss protection.\n"), NULL);
"%s", _("Using redundancies below 20% may not give\n"
"the expected data loss protection.\n"));
if(!answer)
abort_encoding(ec, FALSE);
@@ -1422,8 +1422,8 @@ void RS03Create(void)
{ int answer;
answer = ModalWarningOrCLI(GTK_MESSAGE_WARNING, GTK_BUTTONS_OK_CANCEL, NULL,
_("BD-R size with no defect management enabled,\n"
"remember it should you need to repair this image later!\n"), NULL);
"%s", _("BD-R size with no defect management enabled,\n"
"remember it should you need to repair this image later!\n"));
if(!answer)
abort_encoding(ec, FALSE);