aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-11-10 21:46:24 +0100
committerThomas White <taw@physics.org>2018-11-10 21:46:24 +0100
commit738715858a0ca28ce4a85e0b556e09368e96cdf0 (patch)
tree9c1cebe6851524464eb360b72e0e92df708b333b /src/stylesheet.c
parenta12dba1223bba998d3c6d29aada61a609d9ea351 (diff)
Mark debugging messages as non-translatable
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r--src/stylesheet.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index 51e8bd4..a6e2531 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -67,7 +67,7 @@ int parse_colour_duo(const char *a, GdkRGBA *col1, GdkRGBA *col2)
cpos = find_comma(acopy);
if ( cpos == 0 ) {
- fprintf(stderr, _("Invalid bg gradient spec '%s'\n"), a);
+ fprintf(stderr, _("Invalid background gradient '%s'\n"), a);
return 1;
}
@@ -110,7 +110,8 @@ Stylesheet *stylesheet_load(GFile *file)
r = json_parser_load_from_data(parser, everything, len, &err);
if ( r == FALSE ) {
- fprintf(stderr, "Failed to load style sheet: '%s'\n", err->message);
+ fprintf(stderr, _("Failed to load stylesheet: %s\n"),
+ err->message);
free(ss);
return NULL;
}
@@ -195,7 +196,7 @@ int stylesheet_set(Stylesheet *ss, const char *path, const char *key,
int r = 1;
if ( ss == NULL ) {
- fprintf(stderr, _("No stylesheet!\n"));
+ fprintf(stderr, "No stylesheet!\n");
return 1;
}
@@ -218,7 +219,7 @@ int stylesheet_delete(Stylesheet *ss, const char *path, const char *key)
int r = 1;
if ( ss == NULL ) {
- fprintf(stderr, _("No stylesheet!\n"));
+ fprintf(stderr, "No stylesheet!\n");
return 1;
}