From f45c5ed4b69be1dba9aafeb7285a613ecdc29088 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 16 Sep 2010 13:51:10 +0200 Subject: [PATCH] * make xgettext copy coments over into the po files. * copy comment about RSVP from www.citadel.org into calendar.c * move comments in auth.c, xgettext takes the coments from the line _above_ and not after. --- webcit/auth.c | 28 +++++++++++++++++++++------- webcit/calendar.c | 3 +++ webcit/po/create-pot.sh | 1 + 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/webcit/auth.c b/webcit/auth.c index 0dc3b7255..cb2917b67 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -33,13 +33,27 @@ void display_reg(int during_login); char *axdefs[7]; void initialize_axdefs(void) { - axdefs[0] = _("Deleted"); /* an erased user */ - axdefs[1] = _("New User"); /* a new user */ - axdefs[2] = _("Problem User"); /* a trouble maker */ - axdefs[3] = _("Local User"); /* user with normal privileges */ - axdefs[4] = _("Network User"); /* a user that may access network resources */ - axdefs[5] = _("Preferred User");/* a moderator */ - axdefs[6] = _("Aide"); /* chief */ + + /* an erased user */ + axdefs[0] = _("Deleted"); + + /* a new user */ + axdefs[1] = _("New User"); + + /* a trouble maker */ + axdefs[2] = _("Problem User"); + + /* user with normal privileges */ + axdefs[3] = _("Local User"); + + /* a user that may access network resources */ + axdefs[4] = _("Network User"); + + /* a moderator */ + axdefs[5] = _("Preferred User"); + + /* chief */ + axdefs[6] = _("Aide"); } diff --git a/webcit/calendar.c b/webcit/calendar.c index 9337ee7a9..bd1fdfe54 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -375,6 +375,9 @@ void handle_rsvp(void) if (buf[0] == '2') { wc_printf(""); if (!strcasecmp(bstr("sc"), "update")) { + /* Translators: RSVP aka Répondez s'il-vous-plaît Is the term + that the recipient of an ical-invitation should please + answer this request. */ wc_printf(_("Your calendar has been updated to reflect this RSVP.")); } else if (!strcasecmp(bstr("sc"), "ignore")) { wc_printf(_("You have chosen to ignore this RSVP. " diff --git a/webcit/po/create-pot.sh b/webcit/po/create-pot.sh index 224b4203c..e8c6d3a49 100755 --- a/webcit/po/create-pot.sh +++ b/webcit/po/create-pot.sh @@ -6,6 +6,7 @@ xgettext \ --from-code='utf-8' \ -k_ \ -o webcit.pot \ + --add-comments \ ../*.c ../static/t/*.html for x in *.po -- 2.30.2