From 900753411402e51c49aa532dd49f941e058f0905 Mon Sep 17 00:00:00 2001 From: Brage Fuglseth Date: Sat, 1 Mar 2025 14:26:25 +0100 Subject: [PATCH] i18n: Fix date format explanations for translators The comments explaining date formatting to translators have a couple of typos related to the day name variables (%A and %a). This commit fixes them. Closes #1377 --- src/gui/gcal-event-widget.c | 2 +- src/gui/views/gcal-agenda-view.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/gcal-event-widget.c b/src/gui/gcal-event-widget.c index 9ae122ff..f6d2f43a 100644 --- a/src/gui/gcal-event-widget.c +++ b/src/gui/gcal-event-widget.c @@ -439,7 +439,7 @@ gcal_event_widget_update_timestamp (GcalEventWidget *self) if (gcal_event_get_all_day (self->event) || gcal_event_is_multiday (self->event)) /* - * Translators: %A is the abbreviated day name, %B is the month name + * Translators: %a is the abbreviated day name, %B is the month name * and %d is the day of the month as a number between 0 and 31. * More formats can be found on the doc: * https://docs.gtk.org/glib/method.DateTime.format.html diff --git a/src/gui/views/gcal-agenda-view.c b/src/gui/views/gcal-agenda-view.c index 33fed72a..82a7ad8b 100644 --- a/src/gui/views/gcal-agenda-view.c +++ b/src/gui/views/gcal-agenda-view.c @@ -201,7 +201,7 @@ new_date_header_string (GDateTime *date) return g_strdup (_("Yesterday")); else /* - * Translators: %A is the abbreviated day name, %B is the month name + * Translators: %A is the full day name, %B is the month name * and %d is the day of the month as a number between 0 and 31. * More formats can be found on the doc: * https://docs.gtk.org/glib/method.DateTime.format.html