mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mark some strings for translation
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fb70834a30
commit
c1581ef45b
1 changed files with 2 additions and 2 deletions
|
@ -384,7 +384,7 @@ static void percent(char *buffer, void *_fraction)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
printf("Strange percentage reading %s\n", buffer);
|
printf(_("Strange percentage reading %s\n"), buffer);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1613,7 +1613,7 @@ static xmlDoc *test_xslt_transforms(xmlDoc *doc, GError **error)
|
||||||
xmlSubstituteEntitiesDefault(1);
|
xmlSubstituteEntitiesDefault(1);
|
||||||
xslt = get_stylesheet(info->file);
|
xslt = get_stylesheet(info->file);
|
||||||
if (xslt == NULL) {
|
if (xslt == NULL) {
|
||||||
parser_error(error, "Can't open stylesheet (%s)/%s", xslt_path, info->file);
|
parser_error(error, _("Can't open stylesheet (%s)/%s"), xslt_path, info->file);
|
||||||
return doc;
|
return doc;
|
||||||
}
|
}
|
||||||
transformed = xsltApplyStylesheet(xslt, doc, NULL);
|
transformed = xsltApplyStylesheet(xslt, doc, NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue