[gnome-calendar] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] Fix translator comments
- Date: Thu, 26 Jan 2017 03:59:06 +0000 (UTC)
commit 0b1dd67d2d1b11cc1f4139f754e06a184ffeaddc
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Jan 26 04:58:18 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
src/gcal-quick-add-popover.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-quick-add-popover.c b/src/gcal-quick-add-popover.c
index d5d91c5..88c780c 100644
--- a/src/gcal-quick-add-popover.c
+++ b/src/gcal-quick-add-popover.c
@@ -223,11 +223,11 @@ update_header (GcalQuickAddPopover *self)
all_day = datetime_is_date (self->date_start) && (self->date_end ? datetime_is_date (self->date_end) :
TRUE);
dtstart = datetime_to_icaltime (self->date_start);
+ stm_date = icaltimetype_to_tm (dtstart);
/* Translators:
* this is the format string for representing a date consisting of a month name
* and a date of month.
*/
- stm_date = icaltimetype_to_tm (dtstart);
e_utf8_strftime_fix_am_pm (start, 64, C_("event date format", "%B %d"), &stm_date);
if (self->date_end)
@@ -253,11 +253,11 @@ update_header (GcalQuickAddPopover *self)
(g_date_time_difference (self->date_end, self->date_start) / G_TIME_SPAN_DAY > 1 &&
g_date_time_difference (self->date_end, self->date_start) / G_TIME_SPAN_MINUTE > 1))
{
+ etm_date = icaltimetype_to_tm (dtend);
/* Translators:
* this is the format string for representing a date consisting of a month name
* and a date of month.
*/
- etm_date = icaltimetype_to_tm (dtend);
e_utf8_strftime_fix_am_pm (end, 64, C_("event date format", "%B %d"), &etm_date);
title_date = g_strdup_printf (_("New Event from %s to %s"), start, end);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]