From 79446540dc9252f6bac460e9f20664377964549b Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 28 Jan 2006 04:53:41 +0000 Subject: [PATCH] All month names and weekday names are now sourced from localized strings. --- webcit/ChangeLog | 3 + webcit/calendar_tools.c | 28 ----- webcit/calendar_view.c | 2 +- webcit/fmt_date.c | 80 ++++++++------ webcit/http_datestring.c | 4 +- webcit/po/de.po | 218 ++++++++++++++++++++++++++------------- webcit/po/en_GB.po | 208 ++++++++++++++++++++++++------------- webcit/po/it.po | 218 ++++++++++++++++++++++++++------------- webcit/po/webcit.pot | 210 +++++++++++++++++++++++-------------- webcit/webcit.c | 6 +- webcit/webcit.h | 9 +- webcit/webserver.c | 1 + 12 files changed, 622 insertions(+), 365 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 1a4feaa4e..24fe2863c 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,5 +1,8 @@ $Id$ +Fri Jan 27 23:52:46 EST 2006 ajc +* All month names and weekday names are now sourced from localized strings. + Fri Jan 27 15:03:42 EST 2006 ajc * Do a JavaScript alert if we fail to open the Instant Messenger window. diff --git a/webcit/calendar_tools.c b/webcit/calendar_tools.c index be8e16f98..24af40dd6 100644 --- a/webcit/calendar_tools.c +++ b/webcit/calendar_tools.c @@ -8,34 +8,6 @@ #include "webcit.h" #include "webserver.h" -/* \todo FIXME ... this needs to be internationalized */ -/** Month Strings. */ -char *months[] = { - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December" -}; - -/** Day Strings */ -char *days[] = { - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" -}; - /** Hour strings */ char *hourname[] = { "12am", "1am", "2am", "3am", "4am", "5am", "6am", diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 92b6eaacb..ea2a3a995 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -182,7 +182,7 @@ void calendar_month_view(int year, int month, int day) { "bgcolor=#204B78>"); for (i=0; i<7; ++i) { wprintf("" - "%s", days[i]); + "%s", wdays[i]); } wprintf("\n"); diff --git a/webcit/fmt_date.c b/webcit/fmt_date.c index d02a304ce..d7f4e369d 100644 --- a/webcit/fmt_date.c +++ b/webcit/fmt_date.c @@ -9,22 +9,12 @@ #include "webserver.h" typedef unsigned char byte; /**< a byte. */ +char *wdays[7]; +char *months[12]; #define FALSE 0 /**< no. */ #define TRUE 1 /**< yes. */ -/** \todo translate */ -/** short months */ -char *ascmonths[] = { - "Jan", "Feb", "Mar", "Apr", "May", "Jun", - "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" -}; - -/** Short weekdays */ -char *ascdays[] = { - "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" -}; - /** * \brief Format a date/time stamp for output * \param buf the output buffer @@ -38,6 +28,22 @@ void fmt_date(char *buf, time_t thetime, int brief) time_t today_timet; int hour; char calhourformat[16]; + static char *ascmonths[12] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } ; + + if (ascmonths[0] == NULL) { + ascmonths[0] = _("Jan"); + ascmonths[1] = _("Feb"); + ascmonths[2] = _("Mar"); + ascmonths[3] = _("Apr"); + ascmonths[4] = _("May"); + ascmonths[5] = _("Jun"); + ascmonths[6] = _("Jul"); + ascmonths[7] = _("Aug"); + ascmonths[8] = _("Sep"); + ascmonths[9] = _("Oct"); + ascmonths[10] = _("Nov"); + ascmonths[11] = _("Dec"); + }; get_preference("calhourformat", calhourformat, sizeof calhourformat); @@ -159,26 +165,6 @@ void fmt_time(char *buf, time_t thetime) -/** - * \brief Format a date/time stamp to the format used in HTTP headers - * \param buf give back result here. - * \param thetime time to translate - */ -void httpdate(char *buf, time_t thetime) -{ - struct tm *tm; - - buf[0] = 0; - tm = localtime(&thetime); - - sprintf(buf, "%s, %02d %s %4d %02d:%02d:%02d", - ascdays[tm->tm_wday], - tm->tm_mday, - ascmonths[tm->tm_mon], - tm->tm_year + 1900, tm->tm_hour, tm->tm_min, tm->tm_sec); -} - - /** * \brief Break down the timestamp used in HTTP headers * Should read rfc1123 and rfc850 dates OK @@ -273,4 +259,34 @@ time_t httpdate_to_timestamp(const char *buf) } + +/** + * /brief Initialize the strings used to display months and weekdays. + */ +void initialize_months_and_days(void) { + wdays[0] = _("Sunday"); + wdays[1] = _("Monday"); + wdays[2] = _("Tuesday"); + wdays[3] = _("Wednesday"); + wdays[4] = _("Thursday"); + wdays[5] = _("Friday"); + wdays[6] = _("Saturday"); + + months[0] = _("January"); + months[1] = _("February"); + months[2] = _("March"); + months[3] = _("April"); + months[4] = _("May"); + months[5] = _("June"); + months[6] = _("July"); + months[7] = _("August"); + months[8] = _("September"); + months[9] = _("October"); + months[10] = _("November"); + months[11] = _("December"); +} + + + + /*@}*/ diff --git a/webcit/http_datestring.c b/webcit/http_datestring.c index 449b52c96..3a7c806cd 100644 --- a/webcit/http_datestring.c +++ b/webcit/http_datestring.c @@ -9,13 +9,13 @@ /*@{*/ #include "webcit.h" -/** HTTP Months */ +/** HTTP Months - do not translate - these are not for human consumption */ static char *httpdate_months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; -/** HTTP Weekdays */ +/** HTTP Weekdays - do not translate - these are not for human consumption */ static char *httpdate_weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; diff --git a/webcit/po/de.po b/webcit/po/de.po index cc5beeabf..feba85aa8 100644 --- a/webcit/po/de.po +++ b/webcit/po/de.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: de\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-01-25 22:18-0500\n" +"POT-Creation-Date: 2006-01-27 23:40-0500\n" "PO-Revision-Date: 2005-12-05 18:59+0100\n" "Last-Translator: Wilfried Goesgens \n" "Language-Team: German \n" @@ -86,7 +86,7 @@ msgstr "Sprache:" msgid "Login" msgstr "Anmelden" -#: ../auth.c:73 ../paging.c:491 +#: ../auth.c:73 ../paging.c:509 msgid "Exit" msgstr "Ende" @@ -95,15 +95,15 @@ msgstr "Ende" msgid "%s - powered by Citadel" msgstr "%s - mit Citadel-Technologie" -#: ../auth.c:165 ../auth.c:533 +#: ../auth.c:166 ../auth.c:534 msgid "Blank passwords are not allowed." msgstr "Leere Passwörter sind nicht zulässig." -#: ../auth.c:186 +#: ../auth.c:187 msgid "Your password was not accepted." msgstr "Ihr Passwort wurde nicht akzeptiert" -#: ../auth.c:294 +#: ../auth.c:295 msgid "" "This program was unable to connect or stay connected to the Citadel server. " "Please report this problem to your system administrator." @@ -111,61 +111,61 @@ msgstr "" "Dieses Programm konnte keine Verbindung zum Citadel-Server herstellen oder " "aufrechterhalten.Bitte wenden Sie sich an Ihren Administrator." -#: ../auth.c:301 +#: ../auth.c:302 msgid "Log in again" msgstr "Erneut Anmelden" -#: ../auth.c:304 +#: ../auth.c:305 msgid "Close window" msgstr "Fenster Schließen" -#: ../auth.c:325 ../mainmenu.c:240 +#: ../auth.c:326 ../mainmenu.c:240 msgid "Validate new users" msgstr "Neue Benutzer überprüfen" -#: ../auth.c:345 +#: ../auth.c:346 msgid "No users require validation at this time." msgstr "Keine Benutzer müssen zu dieser Zeit validiert werden" -#: ../auth.c:386 +#: ../auth.c:387 #, c-format msgid "Current access level: %d (%s)\n" msgstr "Aktuelle Berechtigungen: %d (%s)\n" -#: ../auth.c:394 +#: ../auth.c:395 msgid "Select access level for this user:" msgstr "Berechtigungen dieses Benutzers" -#: ../auth.c:457 ../mainmenu.c:136 +#: ../auth.c:458 ../mainmenu.c:136 msgid "Change your password" msgstr "Ändern Sie Ihr Passwort" -#: ../auth.c:486 +#: ../auth.c:487 msgid "Enter new password:" msgstr "Bitte geben Sie ein neues Passwort ein" -#: ../auth.c:490 +#: ../auth.c:491 msgid "Enter it again to confirm:" msgstr "Nocheinmal zur Verifizierung:" -#: ../auth.c:495 +#: ../auth.c:496 msgid "Change password" msgstr "Passwort ändern" -#: ../auth.c:497 ../calendar.c:612 ../event.c:393 ../graphics.c:57 -#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2782 ../messages.c:2903 -#: ../messages.c:2991 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 +#: ../auth.c:498 ../calendar.c:612 ../event.c:393 ../graphics.c:57 +#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2802 ../messages.c:2923 +#: ../messages.c:3011 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 #: ../preferences.c:378 ../roomops.c:1232 ../roomops.c:1560 ../roomops.c:1991 #: ../roomops.c:2140 ../roomops.c:2204 ../siteconfig.c:564 ../sysmsgs.c:58 #: ../useredit.c:380 ../vcard_edit.c:336 ../who.c:272 msgid "Cancel" msgstr "Abbruch" -#: ../auth.c:514 +#: ../auth.c:515 msgid "Cancelled. Password was not changed." msgstr "Abgebrochen. Passwort wurde nicht gesetzt." -#: ../auth.c:525 +#: ../auth.c:526 msgid "They don't match. Password was not changed." msgstr "Die Passwörter stimmen nicht überein. Passwort nicht geändert" @@ -372,7 +372,7 @@ msgstr "Fälligkeitsdatum:" msgid "Save" msgstr "Speichern" -#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2177 +#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2192 msgid "Delete" msgstr "Löschen" @@ -555,6 +555,63 @@ msgstr "Etage gelöscht." msgid "New floor has been created." msgstr "Eine neue Etage wurde generiert." +#: ../fmt_date.c:32 +#, fuzzy +msgid "Jan" +msgstr "Januar" + +#: ../fmt_date.c:33 +msgid "Feb" +msgstr "" + +#: ../fmt_date.c:34 +#, fuzzy +msgid "Mar" +msgstr "März" + +#: ../fmt_date.c:35 +#, fuzzy +msgid "Apr" +msgstr "April" + +#: ../fmt_date.c:36 ../summary.c:32 +msgid "May" +msgstr "Mai" + +#: ../fmt_date.c:37 +#, fuzzy +msgid "Jun" +msgstr "Juni" + +#: ../fmt_date.c:38 +#, fuzzy +msgid "Jul" +msgstr "Juli" + +#: ../fmt_date.c:39 +#, fuzzy +msgid "Aug" +msgstr "August" + +#: ../fmt_date.c:40 +msgid "Sep" +msgstr "" + +#: ../fmt_date.c:41 +#, fuzzy +msgid "Oct" +msgstr "Oktober" + +#: ../fmt_date.c:42 +#, fuzzy +msgid "Nov" +msgstr "Nein" + +#: ../fmt_date.c:43 +#, fuzzy +msgid "Dec" +msgstr "Ablehnen" + #: ../graphics.c:26 msgid "Image upload" msgstr "Bild Hochgeladen" @@ -1150,31 +1207,31 @@ msgstr "Telefon" msgid "E-mail:" msgstr "Email:" -#: ../messages.c:571 ../messages.c:1151 +#: ../messages.c:571 ../messages.c:1155 msgid "ERROR:" msgstr "FEHLER" -#: ../messages.c:594 ../messages.c:862 ../messages.c:1160 ../messages.c:1256 +#: ../messages.c:594 ../messages.c:862 ../messages.c:1164 ../messages.c:1260 msgid "unexpected end of message" msgstr "unerwartetes Meldungsende" -#: ../messages.c:607 ../messages.c:1172 +#: ../messages.c:607 ../messages.c:1176 msgid "from " msgstr "von " -#: ../messages.c:635 ../messages.c:1188 +#: ../messages.c:635 ../messages.c:1192 msgid "in " msgstr "in " -#: ../messages.c:656 ../messages.c:1209 +#: ../messages.c:656 ../messages.c:1213 msgid "to " msgstr "an " -#: ../messages.c:749 ../messages.c:2739 +#: ../messages.c:749 ../messages.c:2759 msgid "CC:" msgstr "CC:" -#: ../messages.c:757 ../messages.c:1238 +#: ../messages.c:757 ../messages.c:1242 msgid "Subject:" msgstr "Betreff:" @@ -1194,7 +1251,7 @@ msgstr "AntwortenAnAlle" msgid "Forward" msgstr "Weiterleiten" -#: ../messages.c:828 ../messages.c:2989 +#: ../messages.c:828 ../messages.c:3009 msgid "Move" msgstr "Verschieben" @@ -1216,129 +1273,133 @@ msgstr "Drucken" msgid "I don't know how to display %s" msgstr "Kann %s nicht darstellen" -#: ../messages.c:985 ../messages.c:1493 +#: ../messages.c:985 ../messages.c:1498 msgid "edit" msgstr "bearbeiten" -#: ../messages.c:1456 ../messages.c:1765 +#: ../messages.c:1461 ../messages.c:1770 msgid "(no subject)" msgstr "(kein Betreff)" -#: ../messages.c:1584 +#: ../messages.c:1589 msgid "(no name)" msgstr "(kein Name)" -#: ../messages.c:1636 +#: ../messages.c:1641 msgid "This address book is empty." msgstr "Dieses Adressbuch ist leer." -#: ../messages.c:2052 +#: ../messages.c:2067 msgid "No new messages." msgstr "Keine neue Nachricht." -#: ../messages.c:2054 +#: ../messages.c:2069 msgid "No old messages." msgstr "Keine alte Nachricht" -#: ../messages.c:2056 +#: ../messages.c:2071 msgid "No messages here." msgstr "Keine Beiträge hier" -#: ../messages.c:2172 +#: ../messages.c:2187 msgid "Subject" msgstr "Betreff" -#: ../messages.c:2174 +#: ../messages.c:2189 msgid "Sender" msgstr "Absender" -#: ../messages.c:2176 +#: ../messages.c:2191 msgid "Date" msgstr "Datum" -#: ../messages.c:2289 +#: ../messages.c:2206 +msgid "Click on any note to edit it." +msgstr "" + +#: ../messages.c:2309 msgid "Reading #" msgstr "Lese #" -#: ../messages.c:2342 +#: ../messages.c:2362 #, c-format msgid "of %d messages." msgstr "von %d Nachrichten" -#: ../messages.c:2526 +#: ../messages.c:2546 #, c-format msgid "Cancelled. Message was not posted." msgstr "Abgebrochen. Beitrag wurde nicht eingereicht." -#: ../messages.c:2532 +#: ../messages.c:2552 #, c-format msgid "Automatically cancelled because you have already saved this message." msgstr "" "Automatisch abgebrochen, weil Sie diesen Beitrag schon gespeichert haben." -#: ../messages.c:2551 +#: ../messages.c:2571 #, c-format msgid "Message has been sent.\n" msgstr "Nachricht wurde gesendet.\n" -#: ../messages.c:2554 +#: ../messages.c:2574 #, c-format msgid "Message has been posted.\n" msgstr "Beitrag wurde gesendet.\n" -#: ../messages.c:2688 +#: ../messages.c:2708 msgid " from " msgstr " von " -#: ../messages.c:2698 +#: ../messages.c:2718 msgid " in " msgstr " in " -#: ../messages.c:2728 +#: ../messages.c:2748 msgid "To:" msgstr "An:" -#: ../messages.c:2750 +#: ../messages.c:2770 msgid "BCC:" msgstr "BCC:" -#: ../messages.c:2768 +#: ../messages.c:2788 msgid "Subject (optional):" msgstr "Betreff (optional):" -#: ../messages.c:2777 ../messages.c:2898 ../paging.c:56 +#: ../messages.c:2797 ../messages.c:2918 ../paging.c:56 msgid "Send message" msgstr "Meldung senden" -#: ../messages.c:2779 ../messages.c:2900 +#: ../messages.c:2799 ../messages.c:2920 msgid "Post message" msgstr "Beitrag einreichen" -#: ../messages.c:2795 +#: ../messages.c:2815 msgid "--- forwarded message ---" msgstr "--- Weitergeleitete Nachricht ---" -#: ../messages.c:2875 +#: ../messages.c:2895 msgid "Attachments:" msgstr "Anhänge:" -#: ../messages.c:2890 +#: ../messages.c:2910 msgid "Attach file:" msgstr "Datei anhängen:" -#: ../messages.c:2893 ../roomops.c:1424 ../roomops.c:1454 +#: ../messages.c:2913 ../roomops.c:1424 ../roomops.c:1454 msgid "Add" msgstr "Hinzufügen" -#: ../messages.c:2962 +#: ../messages.c:2982 msgid "Confirm move of message" msgstr "Verschieben bestätigen" -#: ../messages.c:2969 +#: ../messages.c:2989 msgid "Move this message to:" msgstr "Meldung verschieben nach:" -#: ../messages.c:3015 +#: ../messages.c:3035 #, c-format msgid "The message was not moved." msgstr "Die Meldung wurde nicht verschoben." @@ -1404,6 +1465,11 @@ msgstr "Nein" msgid "Back to menu" msgstr "Zurück zum Menü" +#: ../notes.c:126 +#, fuzzy +msgid "An error has occurred." +msgstr "Ein neuer Benutzer wurde angelegt." + #: ../paging.c:23 msgid "Send instant message" msgstr "Kurznachricht senden" @@ -1428,23 +1494,31 @@ msgstr "Kurznachricht gesendet an " msgid "[ close window ]" msgstr "[ Fenster Schließen ]" -#: ../paging.c:290 ../paging.c:452 +#: ../paging.c:169 +msgid "" +"You have one or more instant messages waiting, but the Citadel Instant " +"Messenger window failed to open. This is probably because you have a popup " +"blocker installed. Please configure your popup blocker to allow popups from " +"this site if you wish to receive instant messages." +msgstr "" + +#: ../paging.c:308 ../paging.c:470 msgid "An error occurred while setting up the chat socket." msgstr "Ein Fehler trat auf beim verbinden des Chat-Sockets." -#: ../paging.c:317 +#: ../paging.c:335 msgid "Now exiting chat mode." msgstr "Beende den Chat-Modus." -#: ../paging.c:488 +#: ../paging.c:506 msgid "Send" msgstr "Absenden" -#: ../paging.c:489 +#: ../paging.c:507 msgid "Help" msgstr "Hilfe" -#: ../paging.c:490 +#: ../paging.c:508 msgid "List users" msgstr "Benutzer auflisten" @@ -2380,10 +2454,6 @@ msgstr "März" msgid "April" msgstr "April" -#: ../summary.c:32 -msgid "May" -msgstr "Mai" - #: ../summary.c:33 msgid "June" msgstr "Juni" @@ -2710,7 +2780,7 @@ msgstr "" "Die angeforderte Sektion benötigt einen gültigen Benutzernamen und Passwort." "Sie konnten nicht Angemeldet werden: %s\n" -#: ../webcit.c:1228 +#: ../webcit.c:1231 #, c-format msgid "" "You are connected to a Citadel server running Citadel %d.%02d. \n" @@ -2724,23 +2794,23 @@ msgstr "" "\n" "\n" -#: ../webcit.c:1465 ../webcit.c:1467 +#: ../webcit.c:1468 ../webcit.c:1470 msgid "Room info" msgstr "Raum Info" -#: ../webcit.c:1470 ../webcit.c:1472 +#: ../webcit.c:1473 ../webcit.c:1475 msgid "Your bio" msgstr "Ihre Biographie" -#: ../webcit.c:1480 +#: ../webcit.c:1483 msgid "your photo" msgstr "Ihr Photo" -#: ../webcit.c:1486 +#: ../webcit.c:1489 msgid "the icon for this room" msgstr "Das Symbol für diesen Raum " -#: ../webcit.c:1500 +#: ../webcit.c:1503 msgid "the icon for this floor" msgstr "Das Symbol für diese Etage" diff --git a/webcit/po/en_GB.po b/webcit/po/en_GB.po index 7b4965aef..2612132b1 100644 --- a/webcit/po/en_GB.po +++ b/webcit/po/en_GB.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: WebCit 6.71\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-01-25 22:18-0500\n" +"POT-Creation-Date: 2006-01-27 23:40-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: David Given \n" "Language-Team: LANGUAGE \n" @@ -71,7 +71,7 @@ msgstr "" msgid "Login" msgstr "" -#: ../auth.c:73 ../paging.c:491 +#: ../auth.c:73 ../paging.c:509 msgid "Exit" msgstr "" @@ -80,75 +80,75 @@ msgstr "" msgid "%s - powered by Citadel" msgstr "" -#: ../auth.c:165 ../auth.c:533 +#: ../auth.c:166 ../auth.c:534 msgid "Blank passwords are not allowed." msgstr "" -#: ../auth.c:186 +#: ../auth.c:187 msgid "Your password was not accepted." msgstr "" -#: ../auth.c:294 +#: ../auth.c:295 msgid "" "This program was unable to connect or stay connected to the Citadel server. " "Please report this problem to your system administrator." msgstr "" -#: ../auth.c:301 +#: ../auth.c:302 msgid "Log in again" msgstr "" -#: ../auth.c:304 +#: ../auth.c:305 msgid "Close window" msgstr "" -#: ../auth.c:325 ../mainmenu.c:240 +#: ../auth.c:326 ../mainmenu.c:240 msgid "Validate new users" msgstr "" -#: ../auth.c:345 +#: ../auth.c:346 msgid "No users require validation at this time." msgstr "" -#: ../auth.c:386 +#: ../auth.c:387 #, c-format msgid "Current access level: %d (%s)\n" msgstr "" -#: ../auth.c:394 +#: ../auth.c:395 msgid "Select access level for this user:" msgstr "" -#: ../auth.c:457 ../mainmenu.c:136 +#: ../auth.c:458 ../mainmenu.c:136 msgid "Change your password" msgstr "" -#: ../auth.c:486 +#: ../auth.c:487 msgid "Enter new password:" msgstr "" -#: ../auth.c:490 +#: ../auth.c:491 msgid "Enter it again to confirm:" msgstr "" -#: ../auth.c:495 +#: ../auth.c:496 msgid "Change password" msgstr "" -#: ../auth.c:497 ../calendar.c:612 ../event.c:393 ../graphics.c:57 -#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2782 ../messages.c:2903 -#: ../messages.c:2991 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 +#: ../auth.c:498 ../calendar.c:612 ../event.c:393 ../graphics.c:57 +#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2802 ../messages.c:2923 +#: ../messages.c:3011 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 #: ../preferences.c:378 ../roomops.c:1232 ../roomops.c:1560 ../roomops.c:1991 #: ../roomops.c:2140 ../roomops.c:2204 ../siteconfig.c:564 ../sysmsgs.c:58 #: ../useredit.c:380 ../vcard_edit.c:336 ../who.c:272 msgid "Cancel" msgstr "" -#: ../auth.c:514 +#: ../auth.c:515 msgid "Cancelled. Password was not changed." msgstr "" -#: ../auth.c:525 +#: ../auth.c:526 msgid "They don't match. Password was not changed." msgstr "" @@ -336,7 +336,7 @@ msgstr "" msgid "Save" msgstr "" -#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2177 +#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2192 msgid "Delete" msgstr "" @@ -519,6 +519,54 @@ msgstr "" msgid "New floor has been created." msgstr "" +#: ../fmt_date.c:32 +msgid "Jan" +msgstr "" + +#: ../fmt_date.c:33 +msgid "Feb" +msgstr "" + +#: ../fmt_date.c:34 +msgid "Mar" +msgstr "" + +#: ../fmt_date.c:35 +msgid "Apr" +msgstr "" + +#: ../fmt_date.c:36 ../summary.c:32 +msgid "May" +msgstr "" + +#: ../fmt_date.c:37 +msgid "Jun" +msgstr "" + +#: ../fmt_date.c:38 +msgid "Jul" +msgstr "" + +#: ../fmt_date.c:39 +msgid "Aug" +msgstr "" + +#: ../fmt_date.c:40 +msgid "Sep" +msgstr "" + +#: ../fmt_date.c:41 +msgid "Oct" +msgstr "" + +#: ../fmt_date.c:42 +msgid "Nov" +msgstr "" + +#: ../fmt_date.c:43 +msgid "Dec" +msgstr "" + #: ../graphics.c:26 msgid "Image upload" msgstr "" @@ -1098,31 +1146,31 @@ msgstr "" msgid "E-mail:" msgstr "" -#: ../messages.c:571 ../messages.c:1151 +#: ../messages.c:571 ../messages.c:1155 msgid "ERROR:" msgstr "" -#: ../messages.c:594 ../messages.c:862 ../messages.c:1160 ../messages.c:1256 +#: ../messages.c:594 ../messages.c:862 ../messages.c:1164 ../messages.c:1260 msgid "unexpected end of message" msgstr "" -#: ../messages.c:607 ../messages.c:1172 +#: ../messages.c:607 ../messages.c:1176 msgid "from " msgstr "" -#: ../messages.c:635 ../messages.c:1188 +#: ../messages.c:635 ../messages.c:1192 msgid "in " msgstr "" -#: ../messages.c:656 ../messages.c:1209 +#: ../messages.c:656 ../messages.c:1213 msgid "to " msgstr "" -#: ../messages.c:749 ../messages.c:2739 +#: ../messages.c:749 ../messages.c:2759 msgid "CC:" msgstr "" -#: ../messages.c:757 ../messages.c:1238 +#: ../messages.c:757 ../messages.c:1242 msgid "Subject:" msgstr "" @@ -1142,7 +1190,7 @@ msgstr "" msgid "Forward" msgstr "" -#: ../messages.c:828 ../messages.c:2989 +#: ../messages.c:828 ../messages.c:3009 msgid "Move" msgstr "" @@ -1163,128 +1211,132 @@ msgstr "" msgid "I don't know how to display %s" msgstr "" -#: ../messages.c:985 ../messages.c:1493 +#: ../messages.c:985 ../messages.c:1498 msgid "edit" msgstr "" -#: ../messages.c:1456 ../messages.c:1765 +#: ../messages.c:1461 ../messages.c:1770 msgid "(no subject)" msgstr "" -#: ../messages.c:1584 +#: ../messages.c:1589 msgid "(no name)" msgstr "" -#: ../messages.c:1636 +#: ../messages.c:1641 msgid "This address book is empty." msgstr "" -#: ../messages.c:2052 +#: ../messages.c:2067 msgid "No new messages." msgstr "" -#: ../messages.c:2054 +#: ../messages.c:2069 msgid "No old messages." msgstr "" -#: ../messages.c:2056 +#: ../messages.c:2071 msgid "No messages here." msgstr "" -#: ../messages.c:2172 +#: ../messages.c:2187 msgid "Subject" msgstr "" -#: ../messages.c:2174 +#: ../messages.c:2189 msgid "Sender" msgstr "" -#: ../messages.c:2176 +#: ../messages.c:2191 msgid "Date" msgstr "" -#: ../messages.c:2289 +#: ../messages.c:2206 +msgid "Click on any note to edit it." +msgstr "" + +#: ../messages.c:2309 msgid "Reading #" msgstr "" -#: ../messages.c:2342 +#: ../messages.c:2362 #, c-format msgid "of %d messages." msgstr "" -#: ../messages.c:2526 +#: ../messages.c:2546 #, c-format msgid "Cancelled. Message was not posted." msgstr "" -#: ../messages.c:2532 +#: ../messages.c:2552 #, c-format msgid "Automatically cancelled because you have already saved this message." msgstr "" -#: ../messages.c:2551 +#: ../messages.c:2571 #, c-format msgid "Message has been sent.\n" msgstr "" -#: ../messages.c:2554 +#: ../messages.c:2574 #, c-format msgid "Message has been posted.\n" msgstr "" -#: ../messages.c:2688 +#: ../messages.c:2708 msgid " from " msgstr "" -#: ../messages.c:2698 +#: ../messages.c:2718 msgid " in " msgstr "" -#: ../messages.c:2728 +#: ../messages.c:2748 msgid "To:" msgstr "" -#: ../messages.c:2750 +#: ../messages.c:2770 msgid "BCC:" msgstr "" -#: ../messages.c:2768 +#: ../messages.c:2788 msgid "Subject (optional):" msgstr "" -#: ../messages.c:2777 ../messages.c:2898 ../paging.c:56 +#: ../messages.c:2797 ../messages.c:2918 ../paging.c:56 msgid "Send message" msgstr "" -#: ../messages.c:2779 ../messages.c:2900 +#: ../messages.c:2799 ../messages.c:2920 msgid "Post message" msgstr "" -#: ../messages.c:2795 +#: ../messages.c:2815 msgid "--- forwarded message ---" msgstr "" -#: ../messages.c:2875 +#: ../messages.c:2895 msgid "Attachments:" msgstr "" -#: ../messages.c:2890 +#: ../messages.c:2910 msgid "Attach file:" msgstr "" -#: ../messages.c:2893 ../roomops.c:1424 ../roomops.c:1454 +#: ../messages.c:2913 ../roomops.c:1424 ../roomops.c:1454 msgid "Add" msgstr "" -#: ../messages.c:2962 +#: ../messages.c:2982 msgid "Confirm move of message" msgstr "" -#: ../messages.c:2969 +#: ../messages.c:2989 msgid "Move this message to:" msgstr "" -#: ../messages.c:3015 +#: ../messages.c:3035 #, c-format msgid "The message was not moved." msgstr "" @@ -1350,6 +1402,10 @@ msgstr "" msgid "Back to menu" msgstr "" +#: ../notes.c:126 +msgid "An error has occurred." +msgstr "" + #: ../paging.c:23 msgid "Send instant message" msgstr "" @@ -1374,23 +1430,31 @@ msgstr "" msgid "[ close window ]" msgstr "" -#: ../paging.c:290 ../paging.c:452 +#: ../paging.c:169 +msgid "" +"You have one or more instant messages waiting, but the Citadel Instant " +"Messenger window failed to open. This is probably because you have a popup " +"blocker installed. Please configure your popup blocker to allow popups from " +"this site if you wish to receive instant messages." +msgstr "" + +#: ../paging.c:308 ../paging.c:470 msgid "An error occurred while setting up the chat socket." msgstr "" -#: ../paging.c:317 +#: ../paging.c:335 msgid "Now exiting chat mode." msgstr "" -#: ../paging.c:488 +#: ../paging.c:506 msgid "Send" msgstr "" -#: ../paging.c:489 +#: ../paging.c:507 msgid "Help" msgstr "" -#: ../paging.c:490 +#: ../paging.c:508 msgid "List users" msgstr "" @@ -2293,10 +2357,6 @@ msgstr "" msgid "April" msgstr "" -#: ../summary.c:32 -msgid "May" -msgstr "" - #: ../summary.c:33 msgid "June" msgstr "" @@ -2609,7 +2669,7 @@ msgid "" "not be logged in: %s\n" msgstr "" -#: ../webcit.c:1228 +#: ../webcit.c:1231 #, c-format msgid "" "You are connected to a Citadel server running Citadel %d.%02d. \n" @@ -2619,23 +2679,23 @@ msgid "" "\n" msgstr "" -#: ../webcit.c:1465 ../webcit.c:1467 +#: ../webcit.c:1468 ../webcit.c:1470 msgid "Room info" msgstr "" -#: ../webcit.c:1470 ../webcit.c:1472 +#: ../webcit.c:1473 ../webcit.c:1475 msgid "Your bio" msgstr "" -#: ../webcit.c:1480 +#: ../webcit.c:1483 msgid "your photo" msgstr "" -#: ../webcit.c:1486 +#: ../webcit.c:1489 msgid "the icon for this room" msgstr "" -#: ../webcit.c:1500 +#: ../webcit.c:1503 msgid "the icon for this floor" msgstr "" diff --git a/webcit/po/it.po b/webcit/po/it.po index adaf2d5fc..bc7a603d7 100644 --- a/webcit/po/it.po +++ b/webcit/po/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: it\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-01-25 22:18-0500\n" +"POT-Creation-Date: 2006-01-27 23:40-0500\n" "PO-Revision-Date: 2005-12-12 09:18+0100\n" "Last-Translator: Gabriele Tassoni \n" "Language-Team: italian \n" @@ -80,7 +80,7 @@ msgstr "Lingua:" msgid "Login" msgstr "Login" -#: ../auth.c:73 ../paging.c:491 +#: ../auth.c:73 ../paging.c:509 msgid "Exit" msgstr "Uscita" @@ -89,15 +89,15 @@ msgstr "Uscita" msgid "%s - powered by Citadel" msgstr "%s - potenziato da Citadel" -#: ../auth.c:165 ../auth.c:533 +#: ../auth.c:166 ../auth.c:534 msgid "Blank passwords are not allowed." msgstr "Le password vuote non sono ammesse." -#: ../auth.c:186 +#: ../auth.c:187 msgid "Your password was not accepted." msgstr "La tua password non è stata accettata." -#: ../auth.c:294 +#: ../auth.c:295 msgid "" "This program was unable to connect or stay connected to the Citadel server. " "Please report this problem to your system administrator." @@ -105,61 +105,61 @@ msgstr "" "Questo programma non riesce a collegarsi o a rimanere collegato al server " "Citadel. Per favore, segnala questo errore all'amministratore di sistema." -#: ../auth.c:301 +#: ../auth.c:302 msgid "Log in again" msgstr "Esegui nuovamente il Log in" -#: ../auth.c:304 +#: ../auth.c:305 msgid "Close window" msgstr "Chiudi la finestra" -#: ../auth.c:325 ../mainmenu.c:240 +#: ../auth.c:326 ../mainmenu.c:240 msgid "Validate new users" msgstr "Valida il nuovo utente" -#: ../auth.c:345 +#: ../auth.c:346 msgid "No users require validation at this time." msgstr "Non si richiede l'autenticazione utente in questo momento" -#: ../auth.c:386 +#: ../auth.c:387 #, c-format msgid "Current access level: %d (%s)\n" msgstr "Attuale livello di accesso: %d (%s)\n" -#: ../auth.c:394 +#: ../auth.c:395 msgid "Select access level for this user:" msgstr "Seleziona il livello di accesso per l'utente corrente:" -#: ../auth.c:457 ../mainmenu.c:136 +#: ../auth.c:458 ../mainmenu.c:136 msgid "Change your password" msgstr "Cambia la tua password" -#: ../auth.c:486 +#: ../auth.c:487 msgid "Enter new password:" msgstr "Inserisci la nuova password:" -#: ../auth.c:490 +#: ../auth.c:491 msgid "Enter it again to confirm:" msgstr "Inseriscila nuovamente per conferma:" -#: ../auth.c:495 +#: ../auth.c:496 msgid "Change password" msgstr "Cambia la password" -#: ../auth.c:497 ../calendar.c:612 ../event.c:393 ../graphics.c:57 -#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2782 ../messages.c:2903 -#: ../messages.c:2991 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 +#: ../auth.c:498 ../calendar.c:612 ../event.c:393 ../graphics.c:57 +#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2802 ../messages.c:2923 +#: ../messages.c:3011 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 #: ../preferences.c:378 ../roomops.c:1232 ../roomops.c:1560 ../roomops.c:1991 #: ../roomops.c:2140 ../roomops.c:2204 ../siteconfig.c:564 ../sysmsgs.c:58 #: ../useredit.c:380 ../vcard_edit.c:336 ../who.c:272 msgid "Cancel" msgstr "Cancella" -#: ../auth.c:514 +#: ../auth.c:515 msgid "Cancelled. Password was not changed." msgstr "Aziona cancellata. La password non è stata cambiata. " -#: ../auth.c:525 +#: ../auth.c:526 msgid "They don't match. Password was not changed." msgstr "Le password non coincidono. Cambiamento non effettuato." @@ -373,7 +373,7 @@ msgstr "Data dovuta:" msgid "Save" msgstr "Salva" -#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2177 +#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2192 msgid "Delete" msgstr "Cancella" @@ -556,6 +556,63 @@ msgstr "Il piano è stato cancellato." msgid "New floor has been created." msgstr "Il nuovo piano è stato creato." +#: ../fmt_date.c:32 +#, fuzzy +msgid "Jan" +msgstr "Gennaio" + +#: ../fmt_date.c:33 +msgid "Feb" +msgstr "" + +#: ../fmt_date.c:34 +#, fuzzy +msgid "Mar" +msgstr "Marzo" + +#: ../fmt_date.c:35 +#, fuzzy +msgid "Apr" +msgstr "Aprile" + +#: ../fmt_date.c:36 ../summary.c:32 +msgid "May" +msgstr "Maggio" + +#: ../fmt_date.c:37 +#, fuzzy +msgid "Jun" +msgstr "Giugno" + +#: ../fmt_date.c:38 +#, fuzzy +msgid "Jul" +msgstr "Luglio" + +#: ../fmt_date.c:39 +#, fuzzy +msgid "Aug" +msgstr "Agosto" + +#: ../fmt_date.c:40 +msgid "Sep" +msgstr "" + +#: ../fmt_date.c:41 +#, fuzzy +msgid "Oct" +msgstr "Ottobre" + +#: ../fmt_date.c:42 +#, fuzzy +msgid "Nov" +msgstr "No" + +#: ../fmt_date.c:43 +#, fuzzy +msgid "Dec" +msgstr "Declina" + #: ../graphics.c:26 msgid "Image upload" msgstr "Carica l'immagine" @@ -1159,31 +1216,31 @@ msgstr "Telefono:" msgid "E-mail:" msgstr "E-mail:" -#: ../messages.c:571 ../messages.c:1151 +#: ../messages.c:571 ../messages.c:1155 msgid "ERROR:" msgstr "ERRORE:" -#: ../messages.c:594 ../messages.c:862 ../messages.c:1160 ../messages.c:1256 +#: ../messages.c:594 ../messages.c:862 ../messages.c:1164 ../messages.c:1260 msgid "unexpected end of message" msgstr "Fine del messaggio inaspettata" -#: ../messages.c:607 ../messages.c:1172 +#: ../messages.c:607 ../messages.c:1176 msgid "from " msgstr "da" -#: ../messages.c:635 ../messages.c:1188 +#: ../messages.c:635 ../messages.c:1192 msgid "in " msgstr "in" -#: ../messages.c:656 ../messages.c:1209 +#: ../messages.c:656 ../messages.c:1213 msgid "to " msgstr "a" -#: ../messages.c:749 ../messages.c:2739 +#: ../messages.c:749 ../messages.c:2759 msgid "CC:" msgstr "CC:" -#: ../messages.c:757 ../messages.c:1238 +#: ../messages.c:757 ../messages.c:1242 msgid "Subject:" msgstr "Oggetto:" @@ -1203,7 +1260,7 @@ msgstr "Rispondi A Tutti" msgid "Forward" msgstr "Inoltra" -#: ../messages.c:828 ../messages.c:2989 +#: ../messages.c:828 ../messages.c:3009 msgid "Move" msgstr "Sposta" @@ -1225,128 +1282,132 @@ msgstr "Stampa" msgid "I don't know how to display %s" msgstr "Non so come mostrare %s" -#: ../messages.c:985 ../messages.c:1493 +#: ../messages.c:985 ../messages.c:1498 msgid "edit" msgstr "Modifica" -#: ../messages.c:1456 ../messages.c:1765 +#: ../messages.c:1461 ../messages.c:1770 msgid "(no subject)" msgstr "(nessun oggetto)" -#: ../messages.c:1584 +#: ../messages.c:1589 msgid "(no name)" msgstr "(nessun nome)" -#: ../messages.c:1636 +#: ../messages.c:1641 msgid "This address book is empty." msgstr "Questa lista contatti è vuota" -#: ../messages.c:2052 +#: ../messages.c:2067 msgid "No new messages." msgstr "Nessun nuovo messaggio" -#: ../messages.c:2054 +#: ../messages.c:2069 msgid "No old messages." msgstr "Nessun vecchio messaggio." -#: ../messages.c:2056 +#: ../messages.c:2071 msgid "No messages here." msgstr "Nessun messaggio." -#: ../messages.c:2172 +#: ../messages.c:2187 msgid "Subject" msgstr "Oggetto" -#: ../messages.c:2174 +#: ../messages.c:2189 msgid "Sender" msgstr "Mittente" -#: ../messages.c:2176 +#: ../messages.c:2191 msgid "Date" msgstr "Data" -#: ../messages.c:2289 +#: ../messages.c:2206 +msgid "Click on any note to edit it." +msgstr "" + +#: ../messages.c:2309 msgid "Reading #" msgstr "Numero di letture" -#: ../messages.c:2342 +#: ../messages.c:2362 #, c-format msgid "of %d messages." msgstr "di %d messaggi." -#: ../messages.c:2526 +#: ../messages.c:2546 #, c-format msgid "Cancelled. Message was not posted." msgstr "Cancellato. Il messaggio non è stato inviato." -#: ../messages.c:2532 +#: ../messages.c:2552 #, c-format msgid "Automatically cancelled because you have already saved this message." msgstr "Cancellato automaticamente, hai già salvato questo messaggio." -#: ../messages.c:2551 +#: ../messages.c:2571 #, c-format msgid "Message has been sent.\n" msgstr "Il messaggio è stato inviato.\n" -#: ../messages.c:2554 +#: ../messages.c:2574 #, c-format msgid "Message has been posted.\n" msgstr "Il messaggio è stato postato.\n" -#: ../messages.c:2688 +#: ../messages.c:2708 msgid " from " msgstr "da" -#: ../messages.c:2698 +#: ../messages.c:2718 msgid " in " msgstr "in" -#: ../messages.c:2728 +#: ../messages.c:2748 msgid "To:" msgstr "A:" -#: ../messages.c:2750 +#: ../messages.c:2770 msgid "BCC:" msgstr "BCC:" -#: ../messages.c:2768 +#: ../messages.c:2788 msgid "Subject (optional):" msgstr "Oggetto (opzionale):" -#: ../messages.c:2777 ../messages.c:2898 ../paging.c:56 +#: ../messages.c:2797 ../messages.c:2918 ../paging.c:56 msgid "Send message" msgstr "Invia il messaggio" -#: ../messages.c:2779 ../messages.c:2900 +#: ../messages.c:2799 ../messages.c:2920 msgid "Post message" msgstr "Posta il messaggio" -#: ../messages.c:2795 +#: ../messages.c:2815 msgid "--- forwarded message ---" msgstr "--- messaggio inoltrato ---" -#: ../messages.c:2875 +#: ../messages.c:2895 msgid "Attachments:" msgstr "Allegati:" -#: ../messages.c:2890 +#: ../messages.c:2910 msgid "Attach file:" msgstr "Allega file:" -#: ../messages.c:2893 ../roomops.c:1424 ../roomops.c:1454 +#: ../messages.c:2913 ../roomops.c:1424 ../roomops.c:1454 msgid "Add" msgstr "Aggiungi" -#: ../messages.c:2962 +#: ../messages.c:2982 msgid "Confirm move of message" msgstr "Conferma lo spostamento del messaggio" -#: ../messages.c:2969 +#: ../messages.c:2989 msgid "Move this message to:" msgstr "Sposta questo messaggio in:" -#: ../messages.c:3015 +#: ../messages.c:3035 #, c-format msgid "The message was not moved." msgstr "Il messaggio non è stato spostato" @@ -1412,6 +1473,11 @@ msgstr "No" msgid "Back to menu" msgstr "Torna al menu" +#: ../notes.c:126 +#, fuzzy +msgid "An error has occurred." +msgstr "E' stato creato un nuovo utente." + #: ../paging.c:23 msgid "Send instant message" msgstr "Invia un Messaggio Istantaneo" @@ -1436,24 +1502,32 @@ msgstr "Il Messaggio è stato spedito a" msgid "[ close window ]" msgstr "[ chiudi la finestra ]" -#: ../paging.c:290 ../paging.c:452 +#: ../paging.c:169 +msgid "" +"You have one or more instant messages waiting, but the Citadel Instant " +"Messenger window failed to open. This is probably because you have a popup " +"blocker installed. Please configure your popup blocker to allow popups from " +"this site if you wish to receive instant messages." +msgstr "" + +#: ../paging.c:308 ../paging.c:470 msgid "An error occurred while setting up the chat socket." msgstr "" "Si è verificato un errore durante la creazione della connessione per la chat." -#: ../paging.c:317 +#: ../paging.c:335 msgid "Now exiting chat mode." msgstr "Uscita dalla modalità chat." -#: ../paging.c:488 +#: ../paging.c:506 msgid "Send" msgstr "Invia" -#: ../paging.c:489 +#: ../paging.c:507 msgid "Help" msgstr "Aiuto" -#: ../paging.c:490 +#: ../paging.c:508 msgid "List users" msgstr "Mostra gli utenti" @@ -2396,10 +2470,6 @@ msgstr "Marzo" msgid "April" msgstr "Aprile" -#: ../summary.c:32 -msgid "May" -msgstr "Maggio" - #: ../summary.c:33 msgid "June" msgstr "Giugno" @@ -2727,7 +2797,7 @@ msgstr "" "Questa risorsa richiede un nome utente e una password. Non puoi essere " "autenticato e accedere a: %s\n" -#: ../webcit.c:1228 +#: ../webcit.c:1231 #, c-format msgid "" "You are connected to a Citadel server running Citadel %d.%02d. \n" @@ -2742,23 +2812,23 @@ msgstr "" "\n" "\n" -#: ../webcit.c:1465 ../webcit.c:1467 +#: ../webcit.c:1468 ../webcit.c:1470 msgid "Room info" msgstr "Informazioni di stanza" -#: ../webcit.c:1470 ../webcit.c:1472 +#: ../webcit.c:1473 ../webcit.c:1475 msgid "Your bio" msgstr "Le tue informazioni personali" -#: ../webcit.c:1480 +#: ../webcit.c:1483 msgid "your photo" msgstr "La tua foto" -#: ../webcit.c:1486 +#: ../webcit.c:1489 msgid "the icon for this room" msgstr "l'icona di questa stanza" -#: ../webcit.c:1500 +#: ../webcit.c:1503 msgid "the icon for this floor" msgstr "L'icona per questo piano" diff --git a/webcit/po/webcit.pot b/webcit/po/webcit.pot index 341e463b1..6fc107077 100644 --- a/webcit/po/webcit.pot +++ b/webcit/po/webcit.pot @@ -8,12 +8,12 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-01-25 22:18-0500\n" +"POT-Creation-Date: 2006-01-27 23:40-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../auth.c:23 @@ -72,7 +72,7 @@ msgstr "" msgid "Login" msgstr "" -#: ../auth.c:73 ../paging.c:491 +#: ../auth.c:73 ../paging.c:509 msgid "Exit" msgstr "" @@ -81,75 +81,75 @@ msgstr "" msgid "%s - powered by Citadel" msgstr "" -#: ../auth.c:165 ../auth.c:533 +#: ../auth.c:166 ../auth.c:534 msgid "Blank passwords are not allowed." msgstr "" -#: ../auth.c:186 +#: ../auth.c:187 msgid "Your password was not accepted." msgstr "" -#: ../auth.c:294 +#: ../auth.c:295 msgid "" "This program was unable to connect or stay connected to the Citadel server. " "Please report this problem to your system administrator." msgstr "" -#: ../auth.c:301 +#: ../auth.c:302 msgid "Log in again" msgstr "" -#: ../auth.c:304 +#: ../auth.c:305 msgid "Close window" msgstr "" -#: ../auth.c:325 ../mainmenu.c:240 +#: ../auth.c:326 ../mainmenu.c:240 msgid "Validate new users" msgstr "" -#: ../auth.c:345 +#: ../auth.c:346 msgid "No users require validation at this time." msgstr "" -#: ../auth.c:386 +#: ../auth.c:387 #, c-format msgid "Current access level: %d (%s)\n" msgstr "" -#: ../auth.c:394 +#: ../auth.c:395 msgid "Select access level for this user:" msgstr "" -#: ../auth.c:457 ../mainmenu.c:136 +#: ../auth.c:458 ../mainmenu.c:136 msgid "Change your password" msgstr "" -#: ../auth.c:486 +#: ../auth.c:487 msgid "Enter new password:" msgstr "" -#: ../auth.c:490 +#: ../auth.c:491 msgid "Enter it again to confirm:" msgstr "" -#: ../auth.c:495 +#: ../auth.c:496 msgid "Change password" msgstr "" -#: ../auth.c:497 ../calendar.c:612 ../event.c:393 ../graphics.c:57 -#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2782 ../messages.c:2903 -#: ../messages.c:2991 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 +#: ../auth.c:498 ../calendar.c:612 ../event.c:393 ../graphics.c:57 +#: ../iconbar.c:711 ../mainmenu.c:299 ../messages.c:2802 ../messages.c:2923 +#: ../messages.c:3011 ../netconf.c:85 ../netconf.c:148 ../paging.c:57 #: ../preferences.c:378 ../roomops.c:1232 ../roomops.c:1560 ../roomops.c:1991 #: ../roomops.c:2140 ../roomops.c:2204 ../siteconfig.c:564 ../sysmsgs.c:58 #: ../useredit.c:380 ../vcard_edit.c:336 ../who.c:272 msgid "Cancel" msgstr "" -#: ../auth.c:514 +#: ../auth.c:515 msgid "Cancelled. Password was not changed." msgstr "" -#: ../auth.c:525 +#: ../auth.c:526 msgid "They don't match. Password was not changed." msgstr "" @@ -337,7 +337,7 @@ msgstr "" msgid "Save" msgstr "" -#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2177 +#: ../calendar.c:611 ../event.c:391 ../messages.c:833 ../messages.c:2192 msgid "Delete" msgstr "" @@ -520,6 +520,54 @@ msgstr "" msgid "New floor has been created." msgstr "" +#: ../fmt_date.c:32 +msgid "Jan" +msgstr "" + +#: ../fmt_date.c:33 +msgid "Feb" +msgstr "" + +#: ../fmt_date.c:34 +msgid "Mar" +msgstr "" + +#: ../fmt_date.c:35 +msgid "Apr" +msgstr "" + +#: ../fmt_date.c:36 ../summary.c:32 +msgid "May" +msgstr "" + +#: ../fmt_date.c:37 +msgid "Jun" +msgstr "" + +#: ../fmt_date.c:38 +msgid "Jul" +msgstr "" + +#: ../fmt_date.c:39 +msgid "Aug" +msgstr "" + +#: ../fmt_date.c:40 +msgid "Sep" +msgstr "" + +#: ../fmt_date.c:41 +msgid "Oct" +msgstr "" + +#: ../fmt_date.c:42 +msgid "Nov" +msgstr "" + +#: ../fmt_date.c:43 +msgid "Dec" +msgstr "" + #: ../graphics.c:26 msgid "Image upload" msgstr "" @@ -1099,31 +1147,31 @@ msgstr "" msgid "E-mail:" msgstr "" -#: ../messages.c:571 ../messages.c:1151 +#: ../messages.c:571 ../messages.c:1155 msgid "ERROR:" msgstr "" -#: ../messages.c:594 ../messages.c:862 ../messages.c:1160 ../messages.c:1256 +#: ../messages.c:594 ../messages.c:862 ../messages.c:1164 ../messages.c:1260 msgid "unexpected end of message" msgstr "" -#: ../messages.c:607 ../messages.c:1172 +#: ../messages.c:607 ../messages.c:1176 msgid "from " msgstr "" -#: ../messages.c:635 ../messages.c:1188 +#: ../messages.c:635 ../messages.c:1192 msgid "in " msgstr "" -#: ../messages.c:656 ../messages.c:1209 +#: ../messages.c:656 ../messages.c:1213 msgid "to " msgstr "" -#: ../messages.c:749 ../messages.c:2739 +#: ../messages.c:749 ../messages.c:2759 msgid "CC:" msgstr "" -#: ../messages.c:757 ../messages.c:1238 +#: ../messages.c:757 ../messages.c:1242 msgid "Subject:" msgstr "" @@ -1143,7 +1191,7 @@ msgstr "" msgid "Forward" msgstr "" -#: ../messages.c:828 ../messages.c:2989 +#: ../messages.c:828 ../messages.c:3009 msgid "Move" msgstr "" @@ -1164,128 +1212,132 @@ msgstr "" msgid "I don't know how to display %s" msgstr "" -#: ../messages.c:985 ../messages.c:1493 +#: ../messages.c:985 ../messages.c:1498 msgid "edit" msgstr "" -#: ../messages.c:1456 ../messages.c:1765 +#: ../messages.c:1461 ../messages.c:1770 msgid "(no subject)" msgstr "" -#: ../messages.c:1584 +#: ../messages.c:1589 msgid "(no name)" msgstr "" -#: ../messages.c:1636 +#: ../messages.c:1641 msgid "This address book is empty." msgstr "" -#: ../messages.c:2052 +#: ../messages.c:2067 msgid "No new messages." msgstr "" -#: ../messages.c:2054 +#: ../messages.c:2069 msgid "No old messages." msgstr "" -#: ../messages.c:2056 +#: ../messages.c:2071 msgid "No messages here." msgstr "" -#: ../messages.c:2172 +#: ../messages.c:2187 msgid "Subject" msgstr "" -#: ../messages.c:2174 +#: ../messages.c:2189 msgid "Sender" msgstr "" -#: ../messages.c:2176 +#: ../messages.c:2191 msgid "Date" msgstr "" -#: ../messages.c:2289 +#: ../messages.c:2206 +msgid "Click on any note to edit it." +msgstr "" + +#: ../messages.c:2309 msgid "Reading #" msgstr "" -#: ../messages.c:2342 +#: ../messages.c:2362 #, c-format msgid "of %d messages." msgstr "" -#: ../messages.c:2526 +#: ../messages.c:2546 #, c-format msgid "Cancelled. Message was not posted." msgstr "" -#: ../messages.c:2532 +#: ../messages.c:2552 #, c-format msgid "Automatically cancelled because you have already saved this message." msgstr "" -#: ../messages.c:2551 +#: ../messages.c:2571 #, c-format msgid "Message has been sent.\n" msgstr "" -#: ../messages.c:2554 +#: ../messages.c:2574 #, c-format msgid "Message has been posted.\n" msgstr "" -#: ../messages.c:2688 +#: ../messages.c:2708 msgid " from " msgstr "" -#: ../messages.c:2698 +#: ../messages.c:2718 msgid " in " msgstr "" -#: ../messages.c:2728 +#: ../messages.c:2748 msgid "To:" msgstr "" -#: ../messages.c:2750 +#: ../messages.c:2770 msgid "BCC:" msgstr "" -#: ../messages.c:2768 +#: ../messages.c:2788 msgid "Subject (optional):" msgstr "" -#: ../messages.c:2777 ../messages.c:2898 ../paging.c:56 +#: ../messages.c:2797 ../messages.c:2918 ../paging.c:56 msgid "Send message" msgstr "" -#: ../messages.c:2779 ../messages.c:2900 +#: ../messages.c:2799 ../messages.c:2920 msgid "Post message" msgstr "" -#: ../messages.c:2795 +#: ../messages.c:2815 msgid "--- forwarded message ---" msgstr "" -#: ../messages.c:2875 +#: ../messages.c:2895 msgid "Attachments:" msgstr "" -#: ../messages.c:2890 +#: ../messages.c:2910 msgid "Attach file:" msgstr "" -#: ../messages.c:2893 ../roomops.c:1424 ../roomops.c:1454 +#: ../messages.c:2913 ../roomops.c:1424 ../roomops.c:1454 msgid "Add" msgstr "" -#: ../messages.c:2962 +#: ../messages.c:2982 msgid "Confirm move of message" msgstr "" -#: ../messages.c:2969 +#: ../messages.c:2989 msgid "Move this message to:" msgstr "" -#: ../messages.c:3015 +#: ../messages.c:3035 #, c-format msgid "The message was not moved." msgstr "" @@ -1351,6 +1403,10 @@ msgstr "" msgid "Back to menu" msgstr "" +#: ../notes.c:126 +msgid "An error has occurred." +msgstr "" + #: ../paging.c:23 msgid "Send instant message" msgstr "" @@ -1375,23 +1431,31 @@ msgstr "" msgid "[ close window ]" msgstr "" -#: ../paging.c:290 ../paging.c:452 +#: ../paging.c:169 +msgid "" +"You have one or more instant messages waiting, but the Citadel Instant " +"Messenger window failed to open. This is probably because you have a popup " +"blocker installed. Please configure your popup blocker to allow popups from " +"this site if you wish to receive instant messages." +msgstr "" + +#: ../paging.c:308 ../paging.c:470 msgid "An error occurred while setting up the chat socket." msgstr "" -#: ../paging.c:317 +#: ../paging.c:335 msgid "Now exiting chat mode." msgstr "" -#: ../paging.c:488 +#: ../paging.c:506 msgid "Send" msgstr "" -#: ../paging.c:489 +#: ../paging.c:507 msgid "Help" msgstr "" -#: ../paging.c:490 +#: ../paging.c:508 msgid "List users" msgstr "" @@ -2294,10 +2358,6 @@ msgstr "" msgid "April" msgstr "" -#: ../summary.c:32 -msgid "May" -msgstr "" - #: ../summary.c:33 msgid "June" msgstr "" @@ -2610,7 +2670,7 @@ msgid "" "not be logged in: %s\n" msgstr "" -#: ../webcit.c:1228 +#: ../webcit.c:1231 #, c-format msgid "" "You are connected to a Citadel server running Citadel %d.%02d. \n" @@ -2620,23 +2680,23 @@ msgid "" "\n" msgstr "" -#: ../webcit.c:1465 ../webcit.c:1467 +#: ../webcit.c:1468 ../webcit.c:1470 msgid "Room info" msgstr "" -#: ../webcit.c:1470 ../webcit.c:1472 +#: ../webcit.c:1473 ../webcit.c:1475 msgid "Your bio" msgstr "" -#: ../webcit.c:1480 +#: ../webcit.c:1483 msgid "your photo" msgstr "" -#: ../webcit.c:1486 +#: ../webcit.c:1489 msgid "the icon for this room" msgstr "" -#: ../webcit.c:1500 +#: ../webcit.c:1503 msgid "the icon for this floor" msgstr "" diff --git a/webcit/webcit.c b/webcit/webcit.c index 8ac59b825..ed8b713f2 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -394,11 +394,11 @@ void output_headers( int do_httpheaders, /**< 1 = output HTTP headers int suppress_check, /**< 1 = suppress check for instant messages */ int cache /**< 1 = allow browser to cache this page */ ) { - char cookie[SIZ]; - char httpnow[SIZ]; + char cookie[1024]; + char httpnow[128]; wprintf("HTTP/1.1 200 OK\n"); - httpdate(httpnow, time(NULL)); + http_datestring(httpnow, sizeof httpnow, time(NULL)); if (do_httpheaders) { wprintf("Content-type: text/html; charset=utf-8\r\n" diff --git a/webcit/webcit.h b/webcit/webcit.h index 00c6f1ce2..c2592974b 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -709,10 +709,15 @@ void utf8ify_rfc822_string(char *buf); void begin_burst(void); void end_burst(void); -extern char *ascmonths[]; -extern char *hourname[]; +extern char *ascmonths[]; /**< Short (three letter) month names */ +extern char *months[]; /**< Long (full) month names */ +extern char *hourname[]; /**< Names of hours (12am, 1am, etc.) */ +extern char *wdays[]; /**< Days of the week */ + +void initialize_months_and_days(void); void http_datestring(char *buf, size_t n, time_t xtime); + /* Views (from citadel.h) */ #define VIEW_BBS 0 /* Traditional Citadel BBS view */ #define VIEW_MAILBOX 1 /* Mailbox summary */ diff --git a/webcit/webserver.c b/webcit/webserver.c index c46c79ba3..6476febc4 100644 --- a/webcit/webserver.c +++ b/webcit/webserver.c @@ -577,6 +577,7 @@ int main(int argc, char **argv) initialize_viewdefs(); initialize_axdefs(); + initialize_months_and_days(); /** * Set up a place to put thread-specific data. -- 2.30.2