diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-10-05 02:11:42 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-10-05 02:11:42 +0000 |
commit | 5c5f6de15d232d802d839d1c79462193db2ba18b (patch) | |
tree | 85c5d5f07bb7d76b7d44b8f4176f7eee8719b218 /src | |
parent | 0437c2f11953ed86a68e73c0d393f16506840b41 (diff) | |
parent | 5338030ee49808e45013ba99017230a4c9fcf92f (diff) | |
download | ayatana-indicator-datetime-5c5f6de15d232d802d839d1c79462193db2ba18b.tar.gz ayatana-indicator-datetime-5c5f6de15d232d802d839d1c79462193db2ba18b.tar.bz2 ayatana-indicator-datetime-5c5f6de15d232d802d839d1c79462193db2ba18b.zip |
When an unsupported date format is being used, improve the error message to also include the unsupported date format so that users can include it in their bug reports. Fixes: https://bugs.launchpad.net/bugs/1196059.
Approved by PS Jenkins bot, Ted Gould.
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 2 |
1 files changed, 1 insertions, 1 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); } |