Gettexting ASCII styles also in descriptions.
This commit is contained in:
parent
d9c53eb67b
commit
0a2f406765
1 changed files with 2 additions and 2 deletions
|
|
@ -338,9 +338,9 @@ char *ascii_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mod
|
||||||
char tmp[1024];
|
char tmp[1024];
|
||||||
|
|
||||||
if (mode == MODE_PAINT)
|
if (mode == MODE_PAINT)
|
||||||
snprintf(tmp, sizeof(tmp), gettext("Click and drag to transform parts of your drawing to ASCII art (%s style)."), ascii_tool_names[which]);
|
snprintf(tmp, sizeof(tmp), gettext("Click and drag to transform parts of your drawing to ASCII art (%s style)."), gettext(ascii_tool_names[which]));
|
||||||
else
|
else
|
||||||
snprintf(tmp, sizeof(tmp), gettext("Click to transform your entire drawing to ASCII art (%s style)."), ascii_tool_names[which]);
|
snprintf(tmp, sizeof(tmp), gettext("Click to transform your entire drawing to ASCII art (%s style)."), gettext(ascii_tool_names[which]));
|
||||||
|
|
||||||
return(strdup(tmp));
|
return(strdup(tmp));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue