aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.c2
-rw-r--r--tests/Makefile.am.strings2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index d50319e..e8d4764 100644
--- a/src/service.c
+++ b/src/service.c
@@ -464,7 +464,7 @@ create_desktop_header_state (IndicatorDatetimeService * self)
str = g_date_time_format (now, fmt);
if (str == NULL)
{
- str = g_strdup (_("Unsupported date format"));
+ str = g_strdup_printf (_("Unsupported date format ā€œ%sā€"), fmt);
g_warning ("%s", str);
}
diff --git a/tests/Makefile.am.strings b/tests/Makefile.am.strings
index 26a23a8..4a89e8f 100644
--- a/tests/Makefile.am.strings
+++ b/tests/Makefile.am.strings
@@ -29,7 +29,7 @@ test-space-ellipsis: $(top_srcdir)/po
test-ascii-quotes: $(top_srcdir)/po
@echo "#!/bin/bash" > $@
@echo "(cd $(top_srcdir)/po && make $(GETTEXT_PACKAGE).pot)" >> $@
- @echo "grep -c -e \"^msgid \\\".*'.*\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"ASCII apostrophy found in user visible strings\" >&2 && exit 1" >> $@
+ @echo "grep -c -e \"^msgid \\\".*'.*\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"ASCII apostrophe found in user visible strings\" >&2 && exit 1" >> $@
@echo "grep -c -e \"^msgid \\\".*\\\".*\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"ASCII quote found in user visible strings\" >&2 && exit 1" >> $@
@echo "grep -c -e \"^msgid \\\".*\\\`.*\\\"\" $(top_srcdir)/po/$(GETTEXT_PACKAGE).pot > /dev/null && echo \"ASCII backtick found in user visible strings\" >&2 && exit 1" >> $@
@echo "exit 0" >> $@