summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-02-06 19:18:15 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-02-06 19:18:15 +0000
commit9b3a357193a020c53624b29f84e0bca4795722f0 (patch)
treebe1a500c8a469dad8164a72d1266780ac8c28510 /lang
parentf8ac398b86ea6a26dba62064d9810796466e4118 (diff)
BUILD : 1.7.8 (565) BUGS : 293 NOTES : Merge of Win32 branch into the main, support for Unreal +I, German language updated, fixed bug vidents not updating, Setting and Removal of sqlines on forbid or drop
git-svn-id: svn://svn.anope.org/anope/trunk@567 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@417 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile.win3275
-rw-r--r--lang/de.l75
-rw-r--r--lang/langcomp.c3
-rw-r--r--lang/langtool.c14
4 files changed, 128 insertions, 39 deletions
diff --git a/lang/Makefile.win32 b/lang/Makefile.win32
new file mode 100644
index 000000000..75347de0d
--- /dev/null
+++ b/lang/Makefile.win32
@@ -0,0 +1,75 @@
+# Makefile for language module
+
+include ../Makefile.inc.win32
+
+
+LANGOBJS = cat de en_us es fr hun gr nl pl pt tr it ru
+LANGSRCS = cat de en_us.l es fr.l hun.l gr.l nl.l pl.l pt.l tr.l it.l ru.l
+
+LANGCOMP = ./langcomp
+#LANGCOMP = ./langcomp -w
+
+
+all: $(LANGOBJS)
+
+
+install: all
+ -copy cat ..\$(DATDEST)\languages
+ -copy en_us ..\$(DATDEST)\languages
+ -copy de ..\$(DATDEST)\languages
+ -copy es ..\$(DATDEST)\languages
+ -copy fr ..\$(DATDEST)\languages
+ -copy hun ..\$(DATDEST)\languages
+ -copy gr ..\$(DATDEST)\languages
+ -copy nl ..\$(DATDEST)\languages
+ -copy pl ..\$(DATDEST)\languages
+ -copy pt ..\$(DATDEST)\languages
+ -copy tr ..\$(DATDEST)\languages
+ -copy it ..\$(DATDEST)\languages
+ -copy ru ..\$(DATDEST)\languages
+
+clean:
+ -@erase $(LANGOBJS) langcomp.exe langtool.exe *.obj index
+
+spotless: clean
+ -@erase language.h
+
+
+cat: cat.l langtool.exe langcomp.exe index
+ langcomp $@.l
+de: de.l langtool.exe langcomp.exe index
+ langcomp $@.l
+en_us: en_us.l langtool.exe langcomp.exe index
+ langcomp $@.l
+es: es.l langtool.exe langcomp.exe index
+ langcomp $@.l
+fr: fr.l langtool.exe langcomp.exe index
+ langcomp $@.l
+hun: hun.l langtool.exe langcomp.exe index
+ langcomp $@.l
+gr: gr.l langtool.exe langcomp.exe index
+ langcomp $@.l
+nl: nl.l langtool.exe langcomp.exe index
+ langcomp $@.l
+pl: pl.l langtool.exe langcomp.exe index
+ langcomp $@.l
+pt: pt.l langtool.exe langcomp.exe index
+ langcomp $@.l
+tr: tr.l langtool.exe langcomp.exe index
+ langcomp $@.l
+it: it.l langtool.exe langcomp.exe index
+ langcomp $@.l
+ru: ru.l langtool.exe langcomp.exe index
+ langcomp $@.l
+
+langtool.exe: langtool.c
+ $(CC) langtool.c -o $@
+
+langcomp.exe: langcomp.c
+ $(CC) langcomp.c -o $@
+
+language.h: langtool.exe index
+ langtool language.h
+
+index: langtool.exe en_us.l
+ langtool index
diff --git a/lang/de.l b/lang/de.l
index f79557b36..a2d9672cf 100644
--- a/lang/de.l
+++ b/lang/de.l
@@ -49,11 +49,11 @@
# (including empty lines). This has to be a tab, not spaces.
###########################################################################
#
-# WICHTIG: Bitte ändert NICHT die MENÜS,selbst wenn die so komisch ausshen,
-# (damit mein ich die ganzen /help /help befehl) im IRC werden die
-# richtig angezeigt.THX :) (-Noch nicht ganz fertig jetzt- )
+# INFO : Das File ist zu 95% fertig :)
+# Werde es warscheinlich in den nechten 1-2 wochen ganz fertig
+# bekommen..
#
-# Datum : 22.10.2004
+# Datum : 05.02.2005
#
# - crazytoon -
#
@@ -353,7 +353,7 @@ NICK_ALREADY_REGISTERED
NICK_REGISTERED
Dein Nickname %s ist unter deinem Host registriert worden: %s
NICK_REGISTERED_NO_MASK
- Nickname %s registered.
+ Der Nickname %s ist registriert.
NICK_PASSWORD_IS
Dein Passwort ist %s - behalte es für spätere Benutzung.
NICK_REG_DELAY
@@ -2421,15 +2421,15 @@ OPER_ADMIN_ADDED
OPER_ADMIN_NOT_FOUND
%s wurde nicht auf der Liste der Services Administratoren gefunden.
OPER_ADMIN_NO_MATCH
- Keine entsprechenden Einträge in der Services Admin-Liste gefunden.
+ Keine entsprechenden Einträge in der Services Administratoren-Liste gefunden.
OPER_ADMIN_DELETED
- %s wurde aus der Services Admin-Liste entfernt.
+ %s wurde aus der Services Administratoren-Liste entfernt.
OPER_ADMIN_DELETED_ONE
- Es wurde 1 Eintrag aus der Services Admin-Liste entfernt.
+ Es wurde 1 Eintrag aus der Services Administratoren-Liste entfernt.
OPER_ADMIN_DELETED_SEVERAL
- Es wurden %d Einträge aus der Services Admin-Liste entfernt.
+ Es wurden %d Einträge aus der Services Administratoren-Liste entfernt.
OPER_ADMIN_LIST_EMPTY
- Services Admin-Liste ist leer.
+ Die Services Administratoren-Liste ist leer.
OPER_ADMIN_LIST_HEADER
Services Admin-Liste:
Nummer Nickname
@@ -2438,7 +2438,7 @@ OPER_ADMIN_LIST_FORMAT
OPER_ADMIN_CLEAR
Die Liste der Services Administratoren wurde geleert.
OPER_ADMIN_MOVED
- %s has been moved to Services Administrators list.
+ %s wurde zu der Services Administratoren-Liste verschoben.
# OPER responses
OPER_OPER_SYNTAX
@@ -2471,7 +2471,7 @@ OPER_OPER_LIST_FORMAT
OPER_OPER_CLEAR
Die Liste der Services Operatoren wurde geleert.
OPER_OPER_MOVED
- %s has been moved to Services Operators list.
+ %s wurde zu der Services Operatoren-Liste verschoben.
# AKILL responses
OPER_AKILL_SYNTAX
@@ -2680,17 +2680,17 @@ OPER_SET_NOEXPIRE_ERROR
OPER_SET_UNKNOWN_OPTION
Unbekannte Option %s.
OPER_SET_SQL_ON
- SQL code will be used.
+ SQL code wird jetzt benutzt.
OPER_SET_SQL_OFF
- SQL code will not be used.
+ SQL code wird jetzt NICHT mehr benutzt.
OPER_SET_SQL_ERROR
- Setting for SQL must be ON or OFF.
+ Einstellungen für SQL können nur ON oder OFF sein.
OPER_SET_SQL_ERROR_INIT
- Error during init of SQL, check your logs to correct.
+ SQL FEHLER, schaue bitte in deine Logs nach um zu sehen wie du es berichtigen kannst.
OPER_SET_LIST_OPTION_ON
- %s is enable
+ %s ist eingeschaltet
OPER_SET_LIST_OPTION_OFF
- %s is disabled
+ %s ist ausgeschaltet
# NOOP responses
OPER_NOOP_SYNTAX
@@ -2965,9 +2965,9 @@ OPER_EXCEPTION_INVALID_LIMIT
OPER_EXCEPTION_INVALID_HOSTMASK
Ungültige Hostmask. Nur echte Hostmasken sind gültig als Einträge (ohne Nicknamen und Idents).
OPER_EXCEPTION_EXISTS
- %s already exists on the EXCEPTION list.
+ %s ist bereits in der EXCEPTION-Liste.
OPER_EXCEPTION_CHANGED
- Exception for %s has been updated to %d.
+ Exception für %s ist zu %d aktualisiert worden.
# SESSION responses
OPER_SESSION_SYNTAX
@@ -3782,7 +3782,7 @@ NICK_HELP_GLIST
Zeigt alle Nicknamen die in deiner Gruppe enthalten sind.
NICK_HELP_STATUS
- Syntax: STATUS Nickname...
+ Syntax: STATUS Nickname
Liefert einen Wert zurück, der besagt, ob der augenblickliche
Nutzer des Nicknamens der identifizierte Eigentümer ist, oder
@@ -3801,8 +3801,8 @@ NICK_HELP_STATUS
Identifizierung mit Passwort
Bis zu 16 Nicknamen können mit dem Befehl übergeben werden,
- der Rest wird ignoriert. If no nickname is given, your status
- will be returned.
+ der Rest wird ignoriert. Wenn kein Nickname angegeben wird,
+ wird dein STATUS angezeigt.
NICK_HELP_SENDPASS
Syntax: SENDPASS Nickname
@@ -4030,12 +4030,12 @@ CHAN_HELP_ULTIMATE3
CHAN_HELP_IRCD_HALFOP
- These commands are also available on this network:
+ Die folgende Befehle sind auf diesem Netzwerk Verfügbar:
DEHALFOP, HALFOP, HOP
CHAN_HELP_IRCD_PROTECT
- These commands are also available on this network:
+ Die folgende Befehle sind auf diesem Netzwerk Verfügbar:
DEPROTECT, PROTECT
CHAN_HELP_EXPIRES
@@ -4058,7 +4058,7 @@ CHAN_HELP_REGISTER
Wenn du einen Channel registrierst, wird dein Nickname
als Founder (Gründer) eingetragen. Der Channel-Founder
kann alle Einstellungen des Channels bearbeiten, und
- wird automatisch beim Joinen desChannels durch %S mit
+ wird automatisch beim Joinen des Channels durch %S mit
Founder/Operator Privilegien ausgestattet. Mit Hilfe
des ACCESS Befehls (/msg %S HELP ACCESS) kann man
einen Teil dieser Privilegien anderen registrierten
@@ -5329,10 +5329,10 @@ OPER_HELP_OPER_CMD
KICK Einen User aus einem beliebigen
Channel kicken
AKILL Die AutoKill-Liste bearbeiten
- CLEARMODES Die Modes eines Channels zurücksetzen
+ CLEARMODES Die Modis eines Channels zurücksetzen
OPER_HELP_OPER_CMD_EXTRA
- Following commands are also available
+ Die folgende Befehle sind Verfügbar
OPER_HELP_OPER_CMD_SGLINE
SGLINE Die SGLINE-Liste bearbeiten
@@ -5375,7 +5375,7 @@ OPER_HELP_ADMIN_CMD
ADMIN Liste der Services Administratoren bearbeiten
OPER_HELP_ADMIN_CMD_EXTRA
- Following commands are also available to Service Admins
+ Die folgende Befehle sind für Service Administartoren Verfügbar
OPER_HELP_ADMIN_CMD_OLINE
OLINE Einem User "Operflags" setzen
@@ -5800,9 +5800,9 @@ OPER_HELP_SET
NOEXPIRE Den Auslauf-Modus der Services
an oder aus
SUPERADMIN Den Super-Admin Modus an oder aus
- SQL Activate or deactivate sql mode
- IGNORE Activate or deactivate ignore mode
- LIST List the options
+ SQL SQL-Modus an oder aus
+ IGNORE Ignore-Modus an oder aus
+ LIST Optionen-Liste
Beschränkt auf Services Administratoren.
@@ -5869,20 +5869,19 @@ OPER_HELP_SET_SUPERADMIN
OPER_HELP_SET_SQL
Syntax: SET SQL {ON | OFF}
- Setting this will toggle Anope's from usage of SQL, this should
- be used to disable and enable SQL should your SQL server go down
- while services are running.
+ Diese Einstellung wird Anope veranlassen SQL zu benutzen oder nicht.
+ Kann nützlich sein wenn zB der MySQL-Server aus ist.
OPER_HELP_SET_IGNORE
Syntax: SET IGNORE {ON | OFF}
- Setting this will toggle Anope's usage of the IGNORE system
- on or off.
+ Mit diese Einstellung kannst du Anope's IGNORE-System
+ an oder aus machen.
OPER_HELP_SET_LIST
Syntax: SET LIST
- Display the various OperServ settings
+ Zeigt dir eine Liste der verfügbaren Einstellungen von OperServ
OPER_HELP_NOOP
Syntax: NOOP SET Server
diff --git a/lang/langcomp.c b/lang/langcomp.c
index 185c6d61d..1aace4e09 100644
--- a/lang/langcomp.c
+++ b/lang/langcomp.c
@@ -53,6 +53,9 @@ char **strings; /* Strings we have loaded */
int linenum = 0; /* Current line number in input file */
+#ifdef _WIN32
+#define snprintf _snprintf
+#endif
char *anopeStrDup(const char *src);
diff --git a/lang/langtool.c b/lang/langtool.c
index 3175118e0..6ac2bd6f6 100644
--- a/lang/langtool.c
+++ b/lang/langtool.c
@@ -1,4 +1,16 @@
-/* Needed due to Windows lack of a decent interpreter */
+/* Language stuff generator for win32.
+ *
+ * (C) 2003 Anope Team
+ * Contact us at info@anope.org
+ *
+ * Please read COPYING and README for furhter details.
+ *
+ * Based on the original code of Epona by Lara.
+ * Based on the original code of Services by Andy Church.
+ *
+ * Written by Dominick Meglio <codemastr@unrealircd.com>
+ *
+ */
#include <string.h>
#include <stdio.h>