1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-25 04:45:58 +00:00

First attempt at i18n using gettext

This commit is contained in:
Robin Stuart
2020-11-07 19:26:10 +00:00
parent 44923349f3
commit 06058d7518
45 changed files with 1236 additions and 356 deletions

View File

@@ -673,7 +673,8 @@ INTERNAL int emf_plot(struct zint_symbol *symbol, int rotate_angle) {
emf_file = fopen(symbol->outfile, "wb");
}
if (emf_file == NULL) {
strcpy(symbol->errtxt, "640: Could not open output file");
symbol->err_origin = 640;
strcpy(symbol->errtxt, _("Can't open output file"));
return ZINT_ERROR_FILE_ACCESS;
}