Version 2.5.1

SVN revision: 778
This commit is contained in:
Stefan Ritt 2004-02-17 11:14:04 +00:00
parent a6b5626a9b
commit e42b6edc9e
12 changed files with 447 additions and 15 deletions

View File

@ -49,6 +49,7 @@ loc:
locext src\elogd.c eloglang.german
locext src\elogd.c eloglang.spanish
locext src\elogd.c eloglang.italian
locext src\elogd.c eloglang.japanese
install: $(EXECS)
$(INSTALL) -m 0755 -d $(DESTDIR) $(SDESTDIR) $(MANDIR)/man1/ $(MANDIR)/man8/

View File

@ -1,4 +1,4 @@
Version 2.5.1, released February xxth, 2004
Version 2.5.1, released February 17th, 2004
===========================================
- Avoid last '\0' in flush_return_buffer()

View File

@ -23,7 +23,7 @@ more <i>logbooks</i> which are stored in separate sections on the server.<p></td
<tr><td bgcolor=#486090><font color=#FFFFFF><b>Quick overview</b></font></td></tr>
<tr><td bgcolor=#FFFFFF><br>Per default, a page containing the the last entries from a logbook is
displayed. By clicking on an entry, its complete contents is displayed. One can use the browse buttons
displayed. By clicking on an entry, its complete contents is displayed. One can use the browser buttons
to display the first, previous, next and last message.<p>
The <b>New</b> button creates a new entry. With the <b>Edit</b> button one can edit an existing

55
eloghelp_ja.html Executable file
View File

@ -0,0 +1,55 @@
<!--
$Revision$
-->
<html><head>
<title>ELOG Electronic Logbook Help</title>
</head>
<body>
<table border=0 width=100%% bgcolor=#486090 cellpadding=1 cellspacing=0 align=center>
<tr><td><table cellpadding=5 cellspacing=0 border=0 width=100%% bgcolor=#486090>
<tr><td align=center bgcolor=#486090>
<font face=verdana,arial,helvetica,sans-serif size=5 color=#FFFFFF>
ELOG エレクトロニクスログブック ヘルプ<br></font></td></tr>
<tr><td bgcolor=#FFFFFF><br>エレクトロニクスログブック (<i>ELog</i>(訳者注:「イーログ」と発音します。))
を使用すると、メッセージの保管ならびに出力をウェブインターフェースを介して行なうことができます。
設定を変更することによってElogシステムは一つあるいは複数の<i>ログブック</i>を管理することができます。
これらのログブックはサーバー上で個々のセクションに分かれて保管されます。<p></td></tr>
<tr><td bgcolor=#486090><font color=#FFFFFF><b>概要</b></font></td></tr>
<tr><td bgcolor=#FFFFFF><br>デフォルトの設定では、最後の記事を含んでいるページが表示されます。
記事をクリックすると、全文が表示されます。閲覧用のボタンを使用することによって、前の記事、
次の記事、最後の記事等と表示することができます。<p>
<b>新規</b>ボタンを押すことにより新規記事を作成できます。既存の記事を編集するためには
<b>編集</b>ボタンを押してください。投稿後の編集を可能にするかどうかは環境設定ファイルで設定できます。
<b>返信</b>ボタンは既存の記事に返信する際にお使いください。電子メールで返信を行なうのと
同様に記事に返信することができます。<p>
<b>検索</b>ボタンにより検索用のページが開きます。これによりログブック中の捜している記事を
ページ上に表示することができます。検索フィールドに何か書き込まれている場合は、他のフィールド
との論理和がとられます。何も条件をしてしなければ全てのメッセージが表示されます。
<p>
</td></tr>
<tr><td bgcolor=#486090><font color=#FFFFF><b>より詳しい情報</b></font></td></tr>
<tr><td bgcolor=#FFFFFF><br>ELOGの環境設定など、より詳しい情報につきましては、
<A HREF="http://midas.psi.ch/elog">ELOG ホームページ</A>をご参照ください。<P>
日本語版使用に際しては、文字コードセットShift_JISを指定してください。<p>
</td></tr></table></td></tr></table>
<hr>
<address>
<a href="http://midas.psi.ch/~stefan">S. Ritt</a>, 28 August 2001
</address>
</body></html>

View File

@ -114,7 +114,6 @@ Show last =
Day =
Week =
Month =
Months =
Search text also in attributes =
Admin =
Change %s =
@ -253,3 +252,23 @@ Synchronize all logbooks =
Display comma-separated values (CSV) =
Calendar =
Remote entry received =
Pick a date =
Please select at least one '%s' =
Please select a '%s' =
Please enter month for attribute '%s' =
Please enter day for attribute '%s' =
Please enter year for attribute '%s' =
Please enter attribute '%s' =
Entry time =
Start =
End =
From =
After =
to =
Before =
Previous Year =
Next Year =
Please enter numeric value for '%s' =
Error: Attribute <b>%s</b> must be numeric =
3 Months =
6 Months =

View File

@ -1,5 +1,5 @@
#
# Dutch messages by djek@xs4all.nl
# Dutch translation by djek@xs4all.nl
# 28-01-2004
#
@ -130,7 +130,6 @@ All entries = Alle berichten
Day = Dag
Week = Week
Month = Maand
Months = Maanden
Show last = Toon laatste
Goto page = Ga naar pagina
All = Alle
@ -248,3 +247,30 @@ Entry deleted remotely =Bericht op andere server gewist
All entries identical =Alle berichten identiek
Invalid mirror_id or entry_date = Ongeldige mirror_id of entry_date
Synchronize all logbooks = Synchroniseer alle logboeken
#
#---- please translate following items and then remove this comment ----#
#
Pick a date =
Please select at least one '%s' =
Please select a '%s' =
Please enter month for attribute '%s' =
Please enter day for attribute '%s' =
Please enter year for attribute '%s' =
Please enter attribute '%s' =
Entry time =
Display comma-separated values (CSV) =
Start =
End =
Remote entry received =
From =
After =
to =
Before =
Calendar =
Previous Year =
Next Year =
Please enter numeric value for '%s' =
Error: Attribute <b>%s</b> must be numeric =
3 Months =
6 Months =

View File

@ -1,5 +1,5 @@
#
# French messages by Fred Pacquier <fredp@dial.oleane.com>
# French translation by Fred Pacquier <fredp@dial.oleane.com>
#
New = Créer
@ -127,7 +127,6 @@ All entries = Toutes les entr
Day = Jour
Week = Semaine
Month = Mois
Months = Mois
Show last = Afficher
Goto page = Aller à la page
All = Tous
@ -252,3 +251,23 @@ Synchronize all logbooks = Synchroniser tous les registres
Display comma-separated values (CSV) =
Calendar =
Remote entry received =
Pick a date =
Please select at least one '%s' =
Please select a '%s' =
Please enter month for attribute '%s' =
Please enter day for attribute '%s' =
Please enter year for attribute '%s' =
Please enter attribute '%s' =
Entry time =
Start =
End =
From =
After =
to =
Before =
Previous Year =
Next Year =
Please enter numeric value for '%s' =
Error: Attribute <b>%s</b> must be numeric =
3 Months =
6 Months =

View File

@ -1,5 +1,5 @@
#
# German message by stefan.ritt@psi.ch
# German translation by stefan.ritt@psi.ch
#
New = Neu
@ -129,7 +129,6 @@ All entries = Alle Eintr
Day = Tag
Week = Woche
Month = Monat
Months = Monate
Show last = Zeige letzte(n)
Goto page = Gehe zu Seite
All = Alle
@ -264,3 +263,7 @@ to = bis
Before = bevor
Previous Year = Voriges Jahr
Next Year = Nächstes Jahr
Please enter numeric value for '%s' = Bitte numerischen Wert für '%s' eingeben
Error: Attribute <b>%s</b> must be numeric = Fehler: Attribut <b>%s</b> muß numerisch sein
3 Months = 3 Monate
6 Months = 6 Monate

View File

@ -1,5 +1,5 @@
#
# Italian message by francesco@netlabor.it
# Italian translation by francesco@netlabor.it
#
New = Nuovo
@ -129,7 +129,6 @@ All entries = Tutti gli elementi
Day = Giorno
Week = Settimana
Month = Mese
Months = Mesi
Show last = Mostra l'ultimo
Goto page = Vai alla pagina
All = Tutti gli elementi
@ -252,3 +251,23 @@ Synchronize all logbooks =
Display comma-separated values (CSV) =
Calendar =
Remote entry received =
Pick a date =
Please select at least one '%s' =
Please select a '%s' =
Please enter month for attribute '%s' =
Please enter day for attribute '%s' =
Please enter year for attribute '%s' =
Please enter attribute '%s' =
Entry time =
Start =
End =
From =
After =
to =
Before =
Previous Year =
Next Year =
Please enter numeric value for '%s' =
Error: Attribute <b>%s</b> must be numeric =
3 Months =
6 Months =

268
eloglang.japanese Executable file
View File

@ -0,0 +1,268 @@
#
# Japanese translation by Satoshi Mihara (mihara@icepp.s.u-tokyo.ac.jp)
# Shift_JISコードを使用してください。
#
Change %s = %s 変更
Logged in as = ログイン名
Not logged in = ログイン名が違います
Please use your browser's back button to go back = 前のページに戻るにはブラウザの「戻る」を押してください。
Back = 戻る
Config = 設定
ELOG change password = パスワード変更
Wrong password = パスワードが違います
New passwords do not match, please retype = 新規パスワードが違います.もう一度入力してください
Change password for user = パスワードを変更、ユーザ名
Old password = 現在のパスワード
New password = 新規パスワード
Retype new password = 新規パスワードの再入力
Submit = 投稿
user = ユーザー
on = オン
Maximum number of replies (%d) exceeded = 最大返信可能数(%dを超過しています
Only user <i>%s</i> can edit this entry = ユーザー <i>%s</i> だけがこのエントリーを編集できます
Entry can only be edited %1.2lg hours after creation = 記事は投稿後 %1.2lg 時間だけ編集できます
Please select at least one '%s' = 最低ひとつの'%s'を選択してください
Please select a '%s' = '%s'を選択してください
Please enter attribute '%s' = 属性'%s' を入力してください
Update = 更新
Fields marked with = フィールドマーク
are required = が必要です
Entry date = 投稿日
Add %s = %sを加える
Add new option here = ここに新しいオプションを加えてください
please select = 選択してください
Submit as HTML text = HTMLテキストとして投稿する
Suppress Email notification = Email通知を行なわない
Suppress shell execution = シェルコマンドを実行しない
Resubmit as new entry = 新しい記事として投稿する
Attachment = 添付
Delete = 削除
Maximum number of attachments reached = 最大添付可能ファイル数を超過します
Upload = 更新
ELOG find = ELOG検索
Search = 検索
Reset Form = リセット
Mode = モード
Display full entries = 全ての記事を表示
Summary only = 記事概要のみ
Summary = 概要
Display threads = スレッド表示
Display comma-separated values (CSV) = CSV表示
Options = オプション
Show attachments = 添付を表示
Printable output = 印刷出力
Sort in reverse order = 逆向きにソート
Search all logbooks = 全てのログブック内を検索
Display = 表示
entries per page = :1ページに表示する記事数
Filters = フィルター
Start date = 開始日
Year = 年
Pick a date = 日付を選択
Show last = 次の範囲の最近の記事を検索
Day = 日
Week = 週
Month = 月
End date = 終了日
(case insensitive substring) = (大文字小文字を区別しない)
Text = 本文
Search text also in attributes = 属性内のテキストも検索
Admin = 管理
Save = 保存
Cancel = キャンセル
Cannot open file <b>%s</b> = ファイル<b>%s</b>が開けません
Cannot write to <b>%s</b> = ファイル<b>%s</b>に書き込めません
Login name = ログイン名
exists already = 既に投稿されています
Your ELOG account has been activated = ELOGアカウントが有効になりました
Your ELOG account has been activated on host = ELOGアカウントが有効になりました.ホスト名
You can access it at = 次の場所でアクセスできます
Registration request on logbook "%s" = ログブック"%s"への登録要求
Registration request on host "%s" = ホスト"%s"への登録要求
A new ELOG user wants to register on "%s" = 新規ELOGユーザーからの"%s"への登録要求があります
User "%s" registered on logbook "%s" = ユーザー"%s"がログブック"%s"に登録されました
User "%s" registered on host "%s" = ユーザー"%s"がホスト"%s"に登録されました
A new ELOG user has been registered on %s = 新規ELOGユーザーが%sに登録されました
Logbook = ログブック
Host = ホスト
Full name = フルネーム
Email = 電子メール
Hit following URL to activate that account = アカウントを有効にするには次のURLをクリックしてください
Requested = 要求
ELOG user config = ELOGユーザー設定
Select user = ユーザーを選択
User [%s] has been deleted = ユーザー[%s]が削除されました
Enable email notifications = 電子メール通知を行なう
Change password = パスワードを変更
Remove user = ユーザーを削除
New user = 新規ユーザー
Change elogd.cfg = elogd.cfgを変更
No Email address registered with user name <i>"%s"</i> = ユーザー<i>"%s"</i>には電子メールが登録されていません
Password recovery for ELOG %s = ELOG %s に対するパスワードを復旧
A new password has been created for you on host %s = ホスト %s 上に新しいパスワードが発行されました
ELOG password recovery = ELOGパスワードの復旧
A new password for user <i>"%s"</i> has been sent to %s = ユーザー <i>"%s"</i> に対するパスワードが %s に送付されました
Error sending Email via <i>"%s"</i> = <i>"%s"</i> から電子メールを送る際にエラーが発生しました
Email address <i>"%s"</i> not registered = 電子メールアドレス <i>"%s"</i>は登録されていません
User name <i>"%s"</i> not registered = ユーザー名 <i>"%s"</i>は登録されていません
Enter your user name or email address = ユーザー名か電子メールアドレスを入力してください
Forgot = Forgot
ELOG new user = ELOG新規ユーザ
name may not contain blanks = 空白を含まないでください
Password = パスワード
Retype password = パスワード再入力
No = いいえ
Yes = はい
Error deleting message: status = 記事を削除中にエラーが発生しました
No entry selected for deletion = 削除する記事が選択されていません
Only user <i>%s</i> can delete this entry = ユーザー <i>%s</i>だけがこの記事を削除できます
Are you sure to delete these messages? = これらの記事を削除してもよろしいですか?
and all their replies = 返信記事も削除されます。よろしいですか?
Are you sure to delete this message? = この記事を削除してもよろしいですか?
and all its replies = 返信記事も削除されます。よろしいですか?
Cannot connect to remote server "%s" = リモートサーバー "%s"に接続できません
Remote server is not an ELOG server = リモートサーバーはELOGサーバーではありません
Incorrect remote ELOG server version %s = リモートELOGサーバーのバージョンが異なります. %s
User "%s" has no access to remote logbook = ユーザー "%s%"はリモートログブックへのアクセス権がありません
Passwords for user "%s" do not match locally and remotely = ユーザー "%s%のパスワードがローカル、リモートサーバー間で異なります
Error accessing remote logbook = リモートログブックにアクセスする際にエラーが発生しました
Invalid HTTP header = HTTPヘッダーが正しくありません
No user name supplied to access remote logbook = リモートログブックにアクセスするためのユーザー名が必要です
Cannot read entry from local logbook = ローカルログブックの記事を読めません
Cannot create socket = ソケットを生成できません
Cannot resolve host name "%s" = ホスト名 "%s"が見つかりません
Cannot connect to host %s, port %d = ホスト %s のポート %d に接続できません
Not enough memory = メモリが不足しています
Cannot receive "%s" = "%s"を受け取ることができません
Received wrong entry id "%d" = 不正なエントリ番号 "%d"です
Entry #%d is locked on remote server = エントリ #%d はリモートサーバーにロックされています
Cannot save remote entry locally = リモートエントリをローカルに保存できません
No mirror server defined in configuration file = 環境設定ファイルにミラーサーバーが定義されていません
Synchronizing logbook %s with server "%s" = ログブック %s をサーバー "%s"と同期しています
Configuration has been changed locally and remotely = 環境設定がローカル及びリモートで変更されています
Please merge manually to resolve conflict = 矛盾を解決するために手動で結合してください
Logbook "%s" does not exist on remote server = ログブック "%s"はリモートサーバーに存在しません
Remote entry received = リモートの記事を受信しました
local = ローカル
remote = リモート
Entry has been changed locally and remotely = 記事はローカル及びリモートで変更されました
Please delete %s or %s entry to resolve conflict = 矛盾を解決するために %s または %s のいずれかの記事を削除してください
Entry deleted locally = 記事はローカルに削除されました
Error sending local entry = ローカル記事を送信中にエラーが発生しました
Local entry submitted = ローカル記事が送信されました
Changed local entry ID to %d = ローカル記事のIDが %d に変更されました
Entry deleted remotely = 記事がリモートで削除されました
Error deleting remote entry = リモート記事の削除中にエラーが発生しました
All entries identical = 全ての記事が同一です
Synchronization = 同期
Entry is currently edited by = 記事は現在編集中です. 編集者
ID = ID
Date = 日付
Attachments = 添付
Full = 全文
Threaded = スレッド
Collapse = 折りたたみ
Expand = 展開
All entries = 全ての記事
Goto page = ページへ移動
Previous = 前の記事
Next = 次の記事
All = 全て
Selected entries = 選択された記事
Toggle all = すべてをトグル
Copy to = コピー先
Move to = 移動先
Error: start date after end date = エラー:開始日が最終日よりも後にあります
Last day = 最終日
Last %d days = 最後の %d 日
Last %d entries = 最後の %d 記事
all entries = 全ての記事
Page %d of %d = %d ページ(全 %d ページ)
Select = 選択
No entries found = 記事が見つかりませんでした
No SMTP host defined in [global] section of configuration file = 環境設定ファイルの[global]にSMTPサーバーが定義されていません
A old entry has been updated on %s = 過去の記事が %s に更新されました
A new entry has been submitted on %s = 新規記事が %s に投稿されました
recipients = 受取人
Error: Attribute <b>%s</b> not supplied = エラー:<b>%s</b>の属性がありません
Please go back and enter the <b>%s</b> field = 戻って <b>%s</b>のフィールドに入力してください
Error: Value <b>%s</b> not allowed for boolean attributes = エラー:<b>%s</b>の値はブール属性には受け入れられません
Error: Attribute option <b>%s</b> not existing = エラー:オプション <b>%s</b>は存在しません
New entry cannot be written to directory "%s" = 新規記事をディレクトリ "%s"に書き込むことができません
Please check that it exists and elogd has write access = elogdが書き込み権限をもっていることを確認してください
Invalid mirror_id or entry_date = mirror_id か entry_date の値が誤っています
Entry %s cannot be read from logbook "%s" = %s の記事をログブック "%s" から読み出すことができません
Copy ELog entry = ELOG記事をコピー
No entry selected = 記事が選択されていません
One entry = 1件
%d messages = %d 件
and its replies = 及びその返信記事
and their replies = 及びその返信記事
moved successfully from "%s" to "%s" = "%s" から "%s" へ移動が完了しました
copied successfully from "%s" to "%s" = "%s" から "%s" へコピーが完了しました
Go to = 移動
Last = 最後
First = 最初
First entry = 最初の記事
Previous entry = 前の記事
Next entry = 次の記事
Last entry = 最後の記事
Logbook is empty = 記事がありません
This entry has been deleted = この記事は削除されました
with = with
This is the last entry = これは最後の記事です
This is the first entry = これは最初の記事です
Email notification suppressed = 電子メール通知を行なわない
Email sent to = 電子メール送付
Message ID = 記事ID
In reply to = 返信記事中で
Reply to this = この記事に返信する
ELOG password = ELOGパスワード
Please enter password to obtain write access = 書き込み権限を取得するためにパスワードを入力してください
Please enter password to obtain administration access = 管理者権限を取得するためにパスワードを入力してください
User <i>"%s"</i> has no access to logbook <i>"%s"</i> = ユーザー <i>"%s"</i>はログブック<i>"%s"</i>への書き込み権限がありません
Login as different user = 別ユーザーとしてログイン
Goto logbook selection page = ログブックを選択
Login = ログイン
Invalid user name <i>"%s"</i> = ユーザー名<i>"%s"</i>は無効です
Please login = ログインしてください
Username = ユーザー名
Remember me on this computer = このコンピュータ上でユーザー名とパスワード保存する
Forgot password? = パスワードを忘れたら
Register as new user = 新規ユーザーとして登録
by = 投稿者
Several logbooks are defined on this host = このホストには複数のログブックが定義されています
Please select the one to connect to = 接続するものを一つ選んでください
Synchronize all logbooks = 全てのログブックを同期する
Entries = 件の記事
Last submission = 最後の投稿
Expand all = 全てを展開
ELOG registration = ELOG登録
Calendar = カレンダー
New = 新規
Edit = 編集
Reply = 返信
Error: Command "<b>%s</b>" not allowed = エラー:コマンド"<b>%s</b>"は許可されていません。
Help = ヘルプ
Find = 検索
Last 10 = 最後の10件
Download = ダウンロード
Synchronize = 同期
Logout = ログアウト
Please enter month for attribute '%s' = '%s'に月を入力してください。
Please enter day for attribute '%s' = '%s'に日を入力してください。
Please enter year for attribute '%s' = '%s'に年を入力してください。
Please enter numeric value for '%s' = '%s'には半角数字を入力してください。
Entry time = 登録時刻
Start = 開始日
End = 終了日
From = から
After = 以降
to = まで
Before = 以前
Error: Attribute <b>%s</b> must be numeric = エラー:<b>%s</b>の値は半角数字を入力してください。
Previous Year = 前年
Next Year = 次年
3 Months = 3ヶ月
6 Months = 6ヶ月

View File

@ -1,5 +1,5 @@
#
# Spanish messages by Julio Calvo <jhcalvo@arnet.com.ar>
# Spanish translation by Julio Calvo <jhcalvo@arnet.com.ar>
#
New = Nuevo
@ -115,7 +115,6 @@ Show last =
Day =
Week =
Month =
Months =
Search text also in attributes =
Admin =
Change %s =
@ -250,3 +249,23 @@ Synchronize all logbooks =
Display comma-separated values (CSV) =
Calendar =
Remote entry received =
Pick a date =
Please select at least one '%s' =
Please select a '%s' =
Please enter month for attribute '%s' =
Please enter day for attribute '%s' =
Please enter year for attribute '%s' =
Please enter attribute '%s' =
Entry time =
Start =
End =
From =
After =
to =
Before =
Previous Year =
Next Year =
Please enter numeric value for '%s' =
Error: Attribute <b>%s</b> must be numeric =
3 Months =
6 Months =

View File

@ -7,6 +7,9 @@
them into eloglang.xxxx
$Log$
Revision 1.6 2004/02/17 11:14:04 midas
Version 2.5.1
Revision 1.5 2004/01/26 14:52:17 midas
Changed indentation
@ -116,7 +119,7 @@ int scan_file(char *infile, char *outfile)
if (p2 == NULL) {
/* append string to output file */
fho = open(outfile, O_CREAT | O_WRONLY | O_APPEND | O_BINARY);
fho = open(outfile, O_CREAT | O_WRONLY | O_APPEND | O_BINARY, 644);
if (fho < 0) {
printf("Cannot open file \"%s\" for append\n", outfile);
return 1;
@ -190,7 +193,7 @@ int scan_file(char *infile, char *outfile)
} while (*p);
fho = open(outfile, O_CREAT | O_WRONLY | O_BINARY | O_TRUNC);
fho = open(outfile, O_CREAT | O_WRONLY | O_BINARY | O_TRUNC, 644);
if (fho < 0) {
printf("Cannot open file \"%s\" for output\n", outfile);
return 1;