add more i18n
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23735 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -82,6 +82,8 @@ generate_c(void)
|
||||
fprintf(c_file, "#include <com_err.h>\n");
|
||||
fprintf(c_file, "#include \"%s\"\n", hfn);
|
||||
fprintf(c_file, "\n");
|
||||
fprintf(c_file, "#define N_(x) (x)\n");
|
||||
fprintf(c_file, "\n");
|
||||
|
||||
fprintf(c_file, "static const char *%s_error_strings[] = {\n", name);
|
||||
|
||||
@@ -92,7 +94,8 @@ generate_c(void)
|
||||
n++;
|
||||
|
||||
}
|
||||
fprintf(c_file, "\t/* %03d */ \"%s\",\n", ec->number, ec->string);
|
||||
fprintf(c_file, "\t/* %03d */ N_(\"%s\"),\n",
|
||||
ec->number, ec->string);
|
||||
}
|
||||
|
||||
fprintf(c_file, "\tNULL\n");
|
||||
|
Reference in New Issue
Block a user