diff --git a/Makefile b/Makefile
index d9fc630f..062f8133 100644
--- a/Makefile
+++ b/Makefile
@@ -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/
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 74d01e80..99f686c1 100755
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -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()
diff --git a/eloghelp_en.html b/eloghelp_en.html
index af7d3206..9951ad97 100755
--- a/eloghelp_en.html
+++ b/eloghelp_en.html
@@ -23,7 +23,7 @@ more logbooks which are stored in separate sections on the server.
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.
The New button creates a new entry. With the Edit button one can edit an existing
diff --git a/eloghelp_ja.html b/eloghelp_ja.html
new file mode 100755
index 00000000..5c5d383e
--- /dev/null
+++ b/eloghelp_ja.html
@@ -0,0 +1,55 @@
+
+
+
+ELOG Electronic Logbook Help
+
+
+
+
+
+
+
+
+
+
+ELOG エレクトロニクスログブック ヘルプ
|
+
+ エレクトロニクスログブック (ELog(訳者注:「イーログ」と発音します。))
+を使用すると、メッセージの保管ならびに出力をウェブインターフェースを介して行なうことができます。
+設定を変更することによってElogシステムは一つあるいは複数のログブックを管理することができます。
+これらのログブックはサーバー上で個々のセクションに分かれて保管されます。 |
+
+| 概要 |
+
+ デフォルトの設定では、最後の記事を含んでいるページが表示されます。
+記事をクリックすると、全文が表示されます。閲覧用のボタンを使用することによって、前の記事、
+次の記事、最後の記事等と表示することができます。
+
+ 新規ボタンを押すことにより新規記事を作成できます。既存の記事を編集するためには
+ 編集ボタンを押してください。投稿後の編集を可能にするかどうかは環境設定ファイルで設定できます。
+ 返信ボタンは既存の記事に返信する際にお使いください。電子メールで返信を行なうのと
+ 同様に記事に返信することができます。
+
+検索ボタンにより検索用のページが開きます。これによりログブック中の捜している記事を
+ページ上に表示することができます。検索フィールドに何か書き込まれている場合は、他のフィールド
+との論理和がとられます。何も条件をしてしなければ全てのメッセージが表示されます。
+
+
+ |
+
+| より詳しい情報 |
+
+ ELOGの環境設定など、より詳しい情報につきましては、
+ELOG ホームページをご参照ください。
+
+日本語版使用に際しては、文字コードセットShift_JISを指定してください。
+ | |
+
+
+
+S. Ritt, 28 August 2001
+
+
+
diff --git a/eloglang.brazilian b/eloglang.brazilian
index ac19e8a1..652e2bca 100755
--- a/eloglang.brazilian
+++ b/eloglang.brazilian
@@ -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 %s must be numeric =
+3 Months =
+6 Months =
diff --git a/eloglang.dutch b/eloglang.dutch
index 98817684..03b174ec 100755
--- a/eloglang.dutch
+++ b/eloglang.dutch
@@ -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 %s must be numeric =
+3 Months =
+6 Months =
diff --git a/eloglang.french b/eloglang.french
index 56a3cf3d..0c5a76b5 100755
--- a/eloglang.french
+++ b/eloglang.french
@@ -1,5 +1,5 @@
#
-# French messages by Fred Pacquier
+# French translation by Fred Pacquier
#
New = Cr馥r
@@ -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 %s must be numeric =
+3 Months =
+6 Months =
diff --git a/eloglang.german b/eloglang.german
index ca0de0fc..eea5a18d 100755
--- a/eloglang.german
+++ b/eloglang.german
@@ -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臘hstes Jahr
+Please enter numeric value for '%s' = Bitte numerischen Wert fr '%s' eingeben
+Error: Attribute %s must be numeric = Fehler: Attribut %s mu゚ numerisch sein
+3 Months = 3 Monate
+6 Months = 6 Monate
diff --git a/eloglang.italian b/eloglang.italian
index 9f2a0d17..4f4e3da5 100755
--- a/eloglang.italian
+++ b/eloglang.italian
@@ -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 %s must be numeric =
+3 Months =
+6 Months =
diff --git a/eloglang.japanese b/eloglang.japanese
new file mode 100755
index 00000000..17c83350
--- /dev/null
+++ b/eloglang.japanese
@@ -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 %s can edit this entry = ユーザー %s だけがこのエントリーを編集できます
+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 %s = ファイル%sが開けません
+Cannot write to %s = ファイル%sに書き込めません
+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 "%s" = ユーザー"%s"には電子メールが登録されていません
+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 "%s" has been sent to %s = ユーザー "%s" に対するパスワードが %s に送付されました
+Error sending Email via "%s" = "%s" から電子メールを送る際にエラーが発生しました
+Email address "%s" not registered = 電子メールアドレス "%s"は登録されていません
+User name "%s" not registered = ユーザー名 "%s"は登録されていません
+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 %s can delete this entry = ユーザー %sだけがこの記事を削除できます
+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 %s not supplied = エラー:%sの属性がありません
+Please go back and enter the %s field = 戻って %sのフィールドに入力してください
+Error: Value %s not allowed for boolean attributes = エラー:%sの値はブール属性には受け入れられません
+Error: Attribute option %s not existing = エラー:オプション %sは存在しません
+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 "%s" has no access to logbook "%s" = ユーザー "%s"はログブック"%s"への書き込み権限がありません
+Login as different user = 別ユーザーとしてログイン
+Goto logbook selection page = ログブックを選択
+Login = ログイン
+Invalid user name "%s" = ユーザー名"%s"は無効です
+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 "%s" not allowed = エラー:コマンド"%s"は許可されていません。
+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 %s must be numeric = エラー:%sの値は半角数字を入力してください。
+Previous Year = 前年
+Next Year = 次年
+3 Months = 3ヶ月
+6 Months = 6ヶ月
diff --git a/eloglang.spanish b/eloglang.spanish
index e1c6b03e..3b2e85da 100755
--- a/eloglang.spanish
+++ b/eloglang.spanish
@@ -1,5 +1,5 @@
#
-# Spanish messages by Julio Calvo
+# Spanish translation by Julio Calvo
#
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 %s must be numeric =
+3 Months =
+6 Months =
diff --git a/src/locext.c b/src/locext.c
index 5049a76b..8c3a73c7 100755
--- a/src/locext.c
+++ b/src/locext.c
@@ -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;
|