From 84944dbe0dfcadfb5c069e210c0545b88aae57dc Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 2 Dec 2001 19:05:04 +0000 Subject: Little more... --- lib/CopyJob.cc | 1 + lib/Exceptions.cc | 2 +- lib/IRC.cc | 1 + lib/InPipe.cc | 1 + lib/Input.cc | 1 - lib/OutPipe.cc | 1 + lib/Output.cc | 1 - lib/ReadJob.cc | 2 + lib/Regex.cc | 1 + lib/Socket.cc | 2 +- lib/Task.cc | 1 + lib/Variables.cc | 1 - po/POTFILES.in | 46 ++++++++++---------- po/fr.po | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 14 files changed, 155 insertions(+), 30 deletions(-) diff --git a/lib/CopyJob.cc b/lib/CopyJob.cc index 637f4b2..864706b 100644 --- a/lib/CopyJob.cc +++ b/lib/CopyJob.cc @@ -1,5 +1,6 @@ #include "CopyJob.h" #include "General.h" +#include "config.h" CopyJob::CopyJob(Handle * as, Handle * ad, ssize_t asiz, bool ads) : s(as), d(ad), ds(ads), siz(asiz), cursiz(0), r(0) { s->SetNonBlock(); diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc index 53d974d..1283f6a 100644 --- a/lib/Exceptions.cc +++ b/lib/Exceptions.cc @@ -3,10 +3,10 @@ #include #include #include -#include "config.h" #include "String.h" #include "Exceptions.h" #include "General.h" +#include "config.h" char GeneralException::t[BUFSIZ]; diff --git a/lib/IRC.cc b/lib/IRC.cc index c02101f..203a0bd 100644 --- a/lib/IRC.cc +++ b/lib/IRC.cc @@ -1,6 +1,7 @@ #include "String.h" #include "IRC.h" #include "HttpServ.h" +#include "config.h" ircmsg_t ircmsgs[MSG_COUNT] = diff --git a/lib/InPipe.cc b/lib/InPipe.cc index f019768..5dc7dfc 100644 --- a/lib/InPipe.cc +++ b/lib/InPipe.cc @@ -1,5 +1,6 @@ #include "InPipe.h" #include "Output.h" +#include "config.h" InPipe::InPipe() : Handle(pipe(p, 0)), hooked(0) { } diff --git a/lib/Input.cc b/lib/Input.cc index 99c4bae..be6981f 100644 --- a/lib/Input.cc +++ b/lib/Input.cc @@ -5,7 +5,6 @@ #include #include #include - #include "Input.h" #include "Exceptions.h" #include "config.h" diff --git a/lib/OutPipe.cc b/lib/OutPipe.cc index ef0bf4a..f939db7 100644 --- a/lib/OutPipe.cc +++ b/lib/OutPipe.cc @@ -1,5 +1,6 @@ #include "OutPipe.h" #include "Input.h" +#include "config.h" OutPipe::OutPipe() : Handle(pipe(p, 1)), hooked(0) { } diff --git a/lib/Output.cc b/lib/Output.cc index 3f755ef..c85d372 100644 --- a/lib/Output.cc +++ b/lib/Output.cc @@ -5,7 +5,6 @@ #include #include #include - #include "Output.h" #include "Exceptions.h" #include "config.h" diff --git a/lib/ReadJob.cc b/lib/ReadJob.cc index a012c97..8df4863 100644 --- a/lib/ReadJob.cc +++ b/lib/ReadJob.cc @@ -1,5 +1,7 @@ #include "ReadJob.h" #include "HttpServ.h" +#include "Regex.h" +#include "config.h" ReadJob::ReadJob(Handle * as, Handle * ad, const Regex & aregex) : s(as), d(ad), regex(&aregex) { s->SetNonBlock(); diff --git a/lib/Regex.cc b/lib/Regex.cc index 41c55c7..013951a 100644 --- a/lib/Regex.cc +++ b/lib/Regex.cc @@ -1,4 +1,5 @@ #include "Regex.h" +#include "config.h" char t[1024]; diff --git a/lib/Socket.cc b/lib/Socket.cc index aada133..a8c5beb 100644 --- a/lib/Socket.cc +++ b/lib/Socket.cc @@ -9,9 +9,9 @@ #include "String.h" #include "Socket.h" #include "Exceptions.h" -#include "config.h" #include "Input.h" #include "Output.h" +#include "config.h" Socket::Socket() throw (GeneralException) : Handle(socket(AF_INET, SOCK_STREAM, 0)), connected(false), listening(false) { if (GetHandle() < 0) { diff --git a/lib/Task.cc b/lib/Task.cc index 25733ff..2c8f048 100644 --- a/lib/Task.cc +++ b/lib/Task.cc @@ -3,6 +3,7 @@ #include "TaskMan.h" #include "Task.h" #include "String.h" +#include "config.h" Task::Task() : current(0), state(TASK_ON_HOLD), stopped(false), suspended(false), wbta(0) { TaskMan::AddTask(this); diff --git a/lib/Variables.cc b/lib/Variables.cc index 6b23d9c..7bdf65d 100644 --- a/lib/Variables.cc +++ b/lib/Variables.cc @@ -1,4 +1,3 @@ - #include "Variables.h" #include "HttpServ.h" #include "String.h" diff --git a/po/POTFILES.in b/po/POTFILES.in index 5a73e08..d78166c 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,30 +1,30 @@ -include/Exceptions.h -include/Handle.h -include/Input.h -include/Socket.h -include/String.h -include/template.h -include/Menu.h -include/Output.h -include/HttpServ.h -include/Action.h -include/Variables.h -include/Message.h -include/Form.h -include/Confirm.h -include/Table.h +lib/Action.cc +lib/Buffer.cc +lib/Confirm.cc +lib/CopyJob.cc lib/Exceptions.cc +lib/Form.cc lib/Handle.cc -lib/Input.cc -lib/Socket.cc -lib/String.cc -lib/Output.cc -lib/Action.cc lib/HttpServ.cc +lib/IRC.cc +lib/Input.cc lib/Menu.cc -lib/Variables.cc lib/Message.cc -lib/Form.cc -lib/Confirm.cc +lib/Output.cc +lib/ReadJob.cc +lib/Regex.cc +lib/Socket.cc +lib/String.cc lib/Table.cc +lib/Task.cc +lib/TaskMan.cc +lib/Variables.cc +lib/checkargs.c +lib/datecalc.c +lib/InPipe.cc +lib/OutPipe.cc src/Main.cc +src/datas/style.css +src/datas/TestApplet.class +src/datas/HelloSwingApplet.class +src/misc.cc diff --git a/po/fr.po b/po/fr.po index 044066d..cde3c4e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Baltisot 1.0.0\n" -"POT-Creation-Date: 2001-11-29 00:59+0100\n" +"POT-Creation-Date: 2001-12-02 20:00+0100\n" "PO-Revision-Date: 2001-10-29 08:26GMT\n" "Last-Translator: Nicolas Noble \n" "Language-Team: French \n" @@ -14,13 +14,25 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 0.8\n" +#: lib/CopyJob.cc:55 +msgid "CopyJob from " +msgstr "CopyJob depuis " + +#: lib/CopyJob.cc:55 lib/ReadJob.cc:48 +msgid " to " +msgstr " vers " + +#: lib/Exceptions.cc:15 lib/Exceptions.cc:20 lib/Exceptions.cc:25 +msgid "Generating a General Exception error: '" +msgstr "Génération d'une Exception Générale: '" + #: lib/Exceptions.cc:38 #, c-format msgid "Failed allocating %ld bytes." msgstr "N'a pu allouer %ld octets." #: lib/Exceptions.cc:43 -#, fuzzy, c-format +#, c-format msgid "An error has occured while %s %ld bytes on %s: %s" msgstr "Une erreur est survenue en %s %ld octets depuis %s: %s" @@ -40,6 +52,114 @@ msgstr "Plus d'octets msgid "Switching task in a non-tasked environnement" msgstr "Basculement de tâche dans un environnement non multi-tâches" +#: lib/Exceptions.cc:123 +msgid "Error creating pipe: " +msgstr "Erreur en créant un tube: " + +#: lib/Exceptions.cc:135 +msgid "Was not able to fork().\n" +msgstr "N'a pu faire de fork().\n" + #: lib/Handle.cc:150 msgid "Bare Handle - should not happend" msgstr "Handle pur - ne devrait pas arriver" + +#: lib/Input.cc:16 lib/Output.cc:16 +msgid "Error opening file" +msgstr "Erreur en ouvrant le fichier" + +#: lib/Input.cc:16 +msgid " for reading: " +msgstr " en lecture: " + +#: lib/Output.cc:16 +msgid " for writing: " +msgstr " en écriture: " + +#: lib/ReadJob.cc:48 +msgid "ReadJob from " +msgstr "ReadJob depuis " + +#: lib/Regex.cc:12 +msgid "Error in regcomp:" +msgstr "Erreur dans regcomp:" + +#: lib/Regex.cc:15 lib/Regex.cc:26 +msgid "Regex \"" +msgstr "Regex \"" + +#: lib/Regex.cc:15 lib/Regex.cc:26 +msgid "\" failed to compile: " +msgstr "\" n'a pu compiler: " + +#: lib/Socket.cc:18 +msgid "Error creating socket." +msgstr "Erreur en créeant un socket." + +#: lib/Socket.cc:120 +msgid "Failed accepting." +msgstr "N'a pu accepter." + +#: lib/Task.cc:28 +msgid "Task " +msgstr "La tache " + +#: lib/Task.cc:28 +msgid " caused an unexpected exception: \"" +msgstr " a causée une exception innatendue: \"" + +#: lib/Task.cc:28 +msgid "\". Terminating.\n" +msgstr "\". Terminaison.\n" + +#: lib/Task.cc:40 +msgid "Unknow Task" +msgstr "Tache inconnue" + +#: lib/TaskMan.cc:58 +msgid "Task Manager already initialised." +msgstr "Le gestionnaire de tache est déjà initialisé." + +#: lib/TaskMan.cc:145 +msgid "TaskMan: No more task to manage." +msgstr "Plus de taches à gérer." + +#: lib/TaskMan.cc:239 +msgid "Error during poll: " +msgstr "Erreur pendant poll: " + +#: lib/TaskMan.cc:250 +msgid "Error with poll, handle " +msgstr "Erreur avec poll, handle " + +#: lib/TaskMan.cc:250 +msgid " invalid." +msgstr " invalide." + +#: lib/TaskMan.cc:254 +msgid "Error condition with poll, handle " +msgstr "Condition d'erreur avec poll, handle " + +#: lib/TaskMan.cc:258 +msgid "Handle " +msgstr "Le handle " + +#: lib/TaskMan.cc:258 +msgid " hung up.\n" +msgstr " a raccroché.\n" + +#: lib/TaskMan.cc:329 +msgid "TaskMan: internal error (task not found)" +msgstr "TaskMan: erreur interne (tache non trouvée)" + +#: lib/InPipe.cc:31 +msgid "Input pipe from stdout (" +msgstr "Tube d'entrée depuis stdout (" + +#: lib/InPipe.cc:31 lib/OutPipe.cc:31 +msgid "not " +msgstr "non " + +#: lib/InPipe.cc:31 lib/OutPipe.cc:31 +msgid "hooked)" +msgstr "détourné)" -- cgit v1.2.3