Being more consistent w/ use of gettext()/_noop()
...in Magic tools (for names & descriptions / tool-tips).
This commit is contained in:
parent
0a2f406765
commit
244ab1d6f2
58 changed files with 212 additions and 205 deletions
|
|
@ -23,7 +23,7 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
Last updated: December 29, 2023
|
||||
Last updated: October 7, 2024
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -109,7 +109,7 @@ SDL_Surface *cartoon_get_icon(magic_api * api, int which ATTRIBUTE_UNUSED)
|
|||
// Return our names, localized:
|
||||
char *cartoon_get_name(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return (strdup(gettext_noop("Cartoon")));
|
||||
return (strdup(gettext("Cartoon")));
|
||||
}
|
||||
|
||||
// Return our groups
|
||||
|
|
@ -129,11 +129,11 @@ char *cartoon_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIB
|
|||
{
|
||||
if (mode == MODE_PAINT)
|
||||
{
|
||||
return (strdup(gettext_noop("Click and drag the mouse around to turn the picture into a cartoon.")));
|
||||
return (strdup(gettext("Click and drag the mouse around to turn the picture into a cartoon.")));
|
||||
}
|
||||
else
|
||||
{
|
||||
return (strdup(gettext_noop("Click to turn the entire picture into a cartoon.")));
|
||||
return (strdup(gettext("Click to turn the entire picture into a cartoon.")));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue