* make xgettext copy coments over into the po files.
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 16 Sep 2010 11:51:10 +0000 (13:51 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 16 Sep 2010 11:51:10 +0000 (13:51 +0200)
* 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
webcit/calendar.c
webcit/po/create-pot.sh

index 0dc3b725592c23620ee4869e83cee6e19a529228..cb2917b673572a0e4aa45b532cbb4328608a0b0f 100644 (file)
@@ -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");          
 }
 
 
index 9337ee7a982b18dc776139c9ae842f02884eb7f9..bd1fdfe5448c771b811a86946b4aca786a81af54 100644 (file)
@@ -375,6 +375,9 @@ void handle_rsvp(void)
        if (buf[0] == '2') {
                wc_printf("<img src=\"static/calarea_48x.gif\"><span>");
                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. "
index 224b4203c75ca5adecb71eadc54f965e92970ebe..e8c6d3a49b89b0ad3ce8567388678c9bac281842 100755 (executable)
@@ -6,6 +6,7 @@ xgettext \
         --from-code='utf-8' \
        -k_ \
        -o webcit.pot \
+       --add-comments \
        ../*.c ../static/t/*.html
 
 for x in *.po