Make more messages translatable.

This commit is contained in:
Dianne Skoll
2025-01-14 11:27:47 -05:00
parent 788a09b2cd
commit 17ccf5d2b4
11 changed files with 59 additions and 56 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ int DoFset(ParsePtr p)
return OK;
}
/* Warn about redefinition */
Wprint("Function %s redefined (previously defined at %s:%d)",
Wprint(tr("Function %s redefined (previously defined at %s:%d)"),
existing->name, existing->filename, existing->lineno);
}
@@ -352,7 +352,7 @@ int DoFset(ParsePtr p)
/* Add the function definition */
FSet(func);
if (orig_namelen > VAR_NAME_LEN) {
Wprint("Warning: Function name `%s...' truncated to `%s'",
Wprint(tr("Warning: Function name `%s...' truncated to `%s'"),
func->name, func->name);
}
return OK;