$Id$
+Mon Nov 21 22:30:31 EST 2005 ajc
+* create-pot.sh: now creates a new webcit.pot file and automatically merges
+ it into all *.po files, allowing an easy way for translators to access
+ new strings.
+* axdefs[] (Access level definitions) -- now ready for localization.
Mon Nov 21 16:59:43 CET 2005 dothebart
* add some script to wrap the debian package build that does some magic about
#include "webcit.h"
-char *axdefs[] =
-{
- "Deleted",
- "New User",
- "Problem User",
- "Local User",
- "Network User",
- "Preferred User",
- "Aide"
-};
+char *axdefs[7];
+
+void initialize_axdefs(void) {
+ axdefs[0] = _("Deleted");
+ axdefs[1] = _("New User");
+ axdefs[2] = _("Problem User");
+ axdefs[3] = _("Local User");
+ axdefs[4] = _("Network User");
+ axdefs[5] = _("Preferred User");
+ axdefs[6] = _("Aide");
+}
+
/*
* Display the login screen
PACKAGE=webcit
-VERSION=6.21
+VERSION=6.40
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PACKAGE)
#!/bin/bash
+echo Updating webcit.pot from strings in the source code ...
xgettext \
--copyright-holder='The Citadel Project - http://www.citadel.org' \
-k_ \
-o webcit.pot \
../*.c
+
+for x in *.po
+do
+ echo Merging webcit.pot into $x ...
+ msgmerge $x webcit.pot -o $x
+done
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-11-18 23:54-0500\n"
+"POT-Creation-Date: 2005-11-21 22:25-0500\n"
"PO-Revision-Date: 2005-11-13 15:22+100\n"
"Last-Translator: Wilfried Goesgens <w.goesgens@chaosindustries.de>\n"
"Language-Team: German <LL@li.org>\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../auth.c:37
+#: ../auth.c:13
+#, fuzzy
+msgid "Deleted"
+msgstr "Löschen"
+
+#: ../auth.c:14 ../auth.c:56
+msgid "New User"
+msgstr "Neuer Benutzer"
+
+#: ../auth.c:15
+#, fuzzy
+msgid "Problem User"
+msgstr "Neuer Benutzer"
+
+#: ../auth.c:16
+msgid "Local User"
+msgstr ""
+
+#: ../auth.c:17
+#, fuzzy
+msgid "Network User"
+msgstr "Neuer Benutzer"
+
+#: ../auth.c:18
+#, fuzzy
+msgid "Preferred User"
+msgstr "nur Privilegierte Benutzer"
+
+#: ../auth.c:19
+#, fuzzy
+msgid "Aide"
+msgstr "Mittelinitial"
+
+#: ../auth.c:39
#, c-format
msgid ""
"<ul><li><b>If you already have an account on %s</b>, enter your user name "
"fallen</li>\n"
"<br /></ul>"
-#: ../auth.c:53
+#: ../auth.c:55
msgid "Login"
msgstr "Anmelden"
-#: ../auth.c:54
-msgid "New User"
-msgstr "Neuer Benutzer"
-
-#: ../auth.c:55 ../paging.c:474
+#: ../auth.c:57 ../paging.c:474
msgid "Exit"
msgstr "Ende"
-#: ../auth.c:57
+#: ../auth.c:59
#, c-format
msgid "%s - powered by Citadel"
msgstr "%s - mit Citadel-Technologie"
-#: ../auth.c:128 ../auth.c:466
+#: ../auth.c:130 ../auth.c:468
msgid "Blank passwords are not allowed."
msgstr "Leere Passwörter sind nicht zulässig."
-#: ../auth.c:149
+#: ../auth.c:151
msgid "Your password was not accepted."
msgstr "Ihr Passwort wurde nicht akzeptiert"
-#: ../auth.c:241
+#: ../auth.c:243
msgid ""
"This program was unable to connect or stay connected to the Citadel server. "
"Please report this problem to your system administrator."
"Dieses Programm konnte keine Verbindung zum Citadel-Server herstellen oder "
"aufrechterhalten.Bitte wenden Sie sich an Ihren Administrator."
-#: ../auth.c:249
+#: ../auth.c:251
msgid "Close window"
msgstr "Fenster Schließen"
-#: ../auth.c:270 ../mainmenu.c:239
+#: ../auth.c:272 ../mainmenu.c:239
msgid "Validate new users"
msgstr "Neue Benutzer überprüfen"
-#: ../auth.c:321
+#: ../auth.c:323
#, c-format
msgid "Current access level: %d (%s)\n"
msgstr "Aktuelle Berechtigungen: %d (%s)\n"
-#: ../auth.c:329
+#: ../auth.c:331
msgid "Select access level for this user:"
msgstr "Berechtigungen dieses Benutzers"
-#: ../auth.c:391 ../mainmenu.c:135
+#: ../auth.c:393 ../mainmenu.c:135
msgid "Change your password"
msgstr "Ändern Sie Ihr Passwort"
-#: ../auth.c:420
+#: ../auth.c:422
msgid "Enter new password:"
msgstr "Bitte geben Sie ein neues Passwort ein"
-#: ../auth.c:424
+#: ../auth.c:426
msgid "Enter it again to confirm:"
msgstr "Nocheinmal zur Verifizierung:"
-#: ../auth.c:429
+#: ../auth.c:431
msgid "Change password"
msgstr "Passwort ändern"
-#: ../auth.c:431 ../calendar.c:582 ../event.c:385 ../graphics.c:57
+#: ../auth.c:433 ../calendar.c:582 ../event.c:385 ../graphics.c:57
#: ../iconbar.c:603 ../mainmenu.c:298 ../messages.c:2585 ../messages.c:2688
#: ../messages.c:2772 ../netconf.c:79 ../netconf.c:139 ../paging.c:56
#: ../preferences.c:361 ../roomops.c:1172 ../roomops.c:1499 ../roomops.c:1927
msgid "Cancel"
msgstr "Abbruch"
-#: ../auth.c:447
+#: ../auth.c:449
msgid "Cancelled. Password was not changed."
msgstr "Abgebrochen. Passwort wurde nicht gesetzt."
-#: ../auth.c:458
+#: ../auth.c:460
msgid "They don't match. Password was not changed."
msgstr "Die Passwörter stimmen nicht überein. Passwort nicht geändert"
msgid "Email"
msgstr "Email:"
-#: ../rss.c:60
+#: ../rss.c:62
msgid "Not logged in"
msgstr "Nicht angemeldet"
-#: ../rss.c:79
+#: ../rss.c:81
msgid "Error retrieving RSS feed: couldn't find messages\n"
msgstr "Fehler beim laden des RSS-feeds: konnte die Meldung nicht finden\n"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-11-18 23:54-0500\n"
+"POT-Creation-Date: 2005-11-21 22:25-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../auth.c:37
+#: ../auth.c:13
+msgid "Deleted"
+msgstr ""
+
+#: ../auth.c:14 ../auth.c:56
+msgid "New User"
+msgstr ""
+
+#: ../auth.c:15
+msgid "Problem User"
+msgstr ""
+
+#: ../auth.c:16
+msgid "Local User"
+msgstr ""
+
+#: ../auth.c:17
+msgid "Network User"
+msgstr ""
+
+#: ../auth.c:18
+msgid "Preferred User"
+msgstr ""
+
+#: ../auth.c:19
+msgid "Aide"
+msgstr ""
+
+#: ../auth.c:39
#, c-format
msgid ""
"<ul><li><b>If you already have an account on %s</b>, enter your user name "
"receive any instant messages.<br /></ul>"
msgstr ""
-#: ../auth.c:53
+#: ../auth.c:55
msgid "Login"
msgstr ""
-#: ../auth.c:54
-msgid "New User"
-msgstr ""
-
-#: ../auth.c:55 ../paging.c:474
+#: ../auth.c:57 ../paging.c:474
msgid "Exit"
msgstr ""
-#: ../auth.c:57
+#: ../auth.c:59
#, c-format
msgid "%s - powered by Citadel"
msgstr ""
-#: ../auth.c:128 ../auth.c:466
+#: ../auth.c:130 ../auth.c:468
msgid "Blank passwords are not allowed."
msgstr ""
-#: ../auth.c:149
+#: ../auth.c:151
msgid "Your password was not accepted."
msgstr ""
-#: ../auth.c:241
+#: ../auth.c:243
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:249
+#: ../auth.c:251
msgid "Close window"
msgstr ""
-#: ../auth.c:270 ../mainmenu.c:239
+#: ../auth.c:272 ../mainmenu.c:239
msgid "Validate new users"
msgstr ""
-#: ../auth.c:321
+#: ../auth.c:323
#, c-format
msgid "Current access level: %d (%s)\n"
msgstr ""
-#: ../auth.c:329
+#: ../auth.c:331
msgid "Select access level for this user:"
msgstr ""
-#: ../auth.c:391 ../mainmenu.c:135
+#: ../auth.c:393 ../mainmenu.c:135
msgid "Change your password"
msgstr ""
-#: ../auth.c:420
+#: ../auth.c:422
msgid "Enter new password:"
msgstr ""
-#: ../auth.c:424
+#: ../auth.c:426
msgid "Enter it again to confirm:"
msgstr ""
-#: ../auth.c:429
+#: ../auth.c:431
msgid "Change password"
msgstr ""
-#: ../auth.c:431 ../calendar.c:582 ../event.c:385 ../graphics.c:57
+#: ../auth.c:433 ../calendar.c:582 ../event.c:385 ../graphics.c:57
#: ../iconbar.c:603 ../mainmenu.c:298 ../messages.c:2585 ../messages.c:2688
#: ../messages.c:2772 ../netconf.c:79 ../netconf.c:139 ../paging.c:56
#: ../preferences.c:361 ../roomops.c:1172 ../roomops.c:1499 ../roomops.c:1927
msgid "Cancel"
msgstr ""
-#: ../auth.c:447
+#: ../auth.c:449
msgid "Cancelled. Password was not changed."
msgstr ""
-#: ../auth.c:458
+#: ../auth.c:460
msgid "They don't match. Password was not changed."
msgstr ""
msgid "Email"
msgstr ""
-#: ../rss.c:60
+#: ../rss.c:62
msgid "Not logged in"
msgstr ""
-#: ../rss.c:79
+#: ../rss.c:81
msgid "Error retrieving RSS feed: couldn't find messages\n"
msgstr ""
#define SLEEPING 180 /* TCP connection timeout */
#define WEBCIT_TIMEOUT 900 /* WebCit session timeout */
#define PORT_NUM 2000 /* port number to listen on */
-#define SERVER "WebCit v6.31" /* who's in da house */
+#define SERVER "WebCit v6.40" /* who's in da house */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 631 /* This version of WebCit */
+#define CLIENT_VERSION 640 /* This version of WebCit */
#define MINIMUM_CIT_VERSION 661 /* min required Citadel ver. */
#define DEFAULT_HOST "localhost" /* Default Citadel server */
#define DEFAULT_PORT "504"
void begin_ajax_response(void);
void end_ajax_response(void);
void initialize_viewdefs(void);
+void initialize_axdefs(void);
#ifdef WEBCIT_WITH_CALENDAR_SERVICE
void display_edit_task(void);
#endif
initialize_viewdefs();
+ initialize_axdefs();
/*
* Set up a place to put thread-specific data.