From 1d4c765db08ffc8f022f6512253f494b4404219c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 30 Mar 2006 22:56:09 +0000 Subject: [PATCH] Fix translation comments for localizable digit formats. (fixes bug 2006-03-30 Behdad Esfahbod * gtk/gtkcalendar.c: Fix translation comments for localizable digit formats. (fixes bug #336650) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtkcalendar.c | 10 ++++++---- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 069c6078e..f3fbd8652 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-30 Behdad Esfahbod + + * gtk/gtkcalendar.c: Fix translation comments for localizable + digit formats. (fixes bug #336650) + 2006-03-30 Matthias Clasen * gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 069c6078e..f3fbd8652 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-03-30 Behdad Esfahbod + + * gtk/gtkcalendar.c: Fix translation comments for localizable + digit formats. (fixes bug #336650) + 2006-03-30 Matthias Clasen * gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index d5eda72f6..1e88480fd 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -2078,8 +2078,9 @@ calendar_paint_week_numbers (GtkCalendar *calendar) /* Translators: this defines whether the week numbers should use * localized digits or the ones used in English (0123...). * - * Translate to "calendar:week:digits|%Id" if you want to use localized - * digits. Leave it alone to whatever it is otherwise. + * Translate to "%Id" if you want to use localized digits, or + * translate to "%d" otherwise. Don't include the + * "calendar:week:digits|" part in the translation. * * Note that translating this doesn't guarantee that you get localized * digits. That needs support from your system and locale definition @@ -2203,8 +2204,9 @@ calendar_paint_day (GtkCalendar *calendar, /* Translators: this defines whether the day numbers should use * localized digits or the ones used in English (0123...). * - * Translate to "calendar:day:digits|%Id" if you want to use localized - * digits. Leave it alone to whatever it is otherwise. + * Translate to "%Id" if you want to use localized digits, or + * translate to "%d" otherwise. Don't include the "calendar:day:digits|" + * part in the translation. * * Note that translating this doesn't guarantee that you get localized * digits. That needs support from your system and locale definition