hypweb.net
XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

TOP » xpwiki » xpWiki開発日記 » 2007-05-25

2007 5月 25 (金)
 

Ver 2.05 (インポート機能の追加など) anchor.png Edit

要望の多かった、インポート機能をとりあえず追加しました。

同じ XOOPS 内の PukiWikiMod と B-Wiki からページを選択してインポートできます。

[xpWikiのURL]?cmd=import としてアクセスしてください。

Page Top

英訳のお願いanchor.png Edit

ぜひとも、英語のメッセージに訳してください。 :D

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
$msg = array(
    'title_import_dir' => 'インポート元モジュールの選択',
    'import_dir' => 'インポート元となるモジュール(ディレクトリ名)を選択してください。',
    'target_page' => '対象ページ',
    'target_page_sel' => '$from の ',
    'target_page_all' => '$from のすべてのページ',
    'target_page_note' => '(下層ページも含まれます) 複数指定は & で区切る。<br />空白にすると全ページが対象になります。',
    'title_select_option' => 'インポートオプションの選択',
    'target_module' => 'インポート元モジュール: ',
    'keep_pgid' => 'ページID',
    'keep_pgid_1' => '$from のページIDを保持する',
    'keep_pgid_1_note' => '(すべての既存ページは破棄されます)',
    'keep_pgid_2' => '$to のページIDを保持する',
    'keep_pgid_2_note' => '(以下のオプションも選択してください)',
    'keep_page' => '同名ページ',
    'keep_page_1' => '$to に $from を上書きする',
    'keep_page_2' => '$to のページを残す(インポートしない)',
    'invalid_option' => 'オプションを正しく選択してください',
    'title_do_import' => 'インポート実行最終確認',
    'title_no_files' => 'インポート対象ページがありません',
    'title_do_check' => 'インポート内容の確認',
    'do_check_note' => '続いてインポートするファイルの検査を行います。若干時間が掛かる場合もありますので、[インポートファイルの検査]をクリックして、しばらくお待ちください。',
    'btn_do_next' => '次のステップ',
    'btn_go_first' => '最初に戻る',
    'btn_do_check' => 'インポートファイルの検査',
    'btn_do_copy' => 'インポート(ファイルのコピー)実行',
    'do_copy_note' => '上記のファイルを $from から $to へコピーします。ファイル数・サイズによりPHPの実行時間制限になった場合は、処理を続ける画面が表示されますので、引き続き処理を行ってください。',
    'do_copy_nothing' => 'インポート対象のファイルは見つかりませんでした。',
    'title_convert' => 'Wiki書式変換',
    'do_convert' => 'Wiki書式変換の実行',
    'do_convert_note' => 'PukiWiki 1.3 の書式から、PukiWiki 1.4 の書式に変換します。',
    'do_convert_wiki'     => "
** 処理内容
:定義リストの書式変更|
'': :'' を '': |'' に修正します。
:ネスト可能なブロック要素の分断|
ネスト可能なブロック要素の次の行に空行を挿入し、
続く要素がブロック要素の子要素にならないようにします。
:リスト要素直後のチルダ|
行頭-/+に続いてチルダ ''~'' が出現したときに、
チルダが段落開始書式とならないよう、空白を挿入します。
:プラグインの書き換え|
&#35;category() -> &#38;tag();
:ページ情報の書き換え|
PukiWikiModのページ情報をxpWikiの形式に変換します。
 
** 注意
変換には数分かかる場合もあります。実行ボタンを押したあと、しばらくお待ちください。
 
PHPの実行制限時間内に終了しないときは、処理を続ける画面が表示されますので、引き続き処理を行ってください。
 
** 変換実行
[Wiki書式変換の実行]ボタンをクリックしてください。
",
    'msg_all_done' => 'インポートが正常に終了しました。続けてデーターベースシンクロを実行してください。',
    'msg_exec'    => "* ファイル名をチェックしました。?n問題は見つかりませんでした。?n?n変換を実行するには [[実行>%s]]をクリックしてください。?n",
    'msg_error'   => "* ファイル名をチェックしました。?n問題が見つかったため、ファイル名変換処理を中断しました。?n問題を解決して、もう一度実行してください。?n",
    'msg_done'    => '* ファイル名変換処理が終了しました。',
    'err_writable' => '** ファイルまたはディレクトリが見つからないか、書き込みができません。',
    'err_already' => '** 同名のファイルがすでに存在します。',
    'err_invalid' => '** PukiWiki 1.4で使用できないページ名です。',
    'err_no_from_dir' => 'インポート元ディレクトリが見つかりません。',
    'err_no_to_dir' => 'インポート先ディレクトリが見つかりません。',
    'err_writable_to' => 'インポート先ディレクトリが書き込み禁止です。',
    'more_copy_note' => 'ファイルコピー中に実行制限時間になりましたので一旦処理を中断しました。<br />[続きを実行]をクリックで、',
    'more_convert_note' => '書式変換中に実行制限時間になりましたので一旦処理を中断しました。<br />[続きを実行]をクリックで、',
    'title_do_more' => '続けて残りの処理を実行',
    'do_more' => '残りの $count ファイルの処理を続けます。',
    'btn_do_more' => '続きを実行',
);
Page Top

編集用 anchor.png Edit

こちらを英語に編集してください。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
$msg = array(
    'title_import_dir' => 'Selection of the module to be imported',
    'import_dir' => 'Choose the module (i.e. directory name) to be imported.',
    'target_page' => 'Selected pages',
    'target_page_sel' => 'of $from',
    'target_page_all' => 'All pages of $from',
    'target_page_note' => 'Split with \'&\' for multiple choices (NOTE: All pages in the sub-directories are included).<br />All the pages will be imported unless specified.',
    'title_select_option' => 'Selection of the import options',
    'target_module' => 'The module to be imported: ',
    'keep_pgid' => 'Page ID',
    'keep_pgid_1' => 'Keep the page ID of $from',
    'keep_pgid_1_note' => '(All the existing pages will be deleted.)',
    'keep_pgid_2' => 'Keep the page ID of $to',
    'keep_pgid_2_note' => '(Specify the options below.)',
    'keep_page' => 'Keep the original page name',
    'keep_page_1' => 'Overwrite $to with $from',
    'keep_page_2' => 'Keep the pages of $to (no import)',
    'invalid_option' => 'Invalid option(s)',
    'title_do_import' => 'Final confirmation before executing import',
    'title_no_files' => 'The pages to be imported do not exist.',
    'title_do_check' => 'Check the contents to be imported',
    'do_check_note' => 'The files to be imported will be checked in the next step, which may take some time.<br />Please wait after clicking [Check the files to be imported].',
    'btn_do_next' => 'Next step',
    'btn_go_first' => 'Go back to start',
    'btn_do_check' => 'Check the files to be imported',
    'btn_do_copy' => 'Execute the import (Copy the selected files)',
    'do_copy_note' => 'The above-listed files will be copied from $from to $to. In case PHP-execution time-out should occur because the numbers and/or sizes of files exceed the limit, a dialog for confirming whether the execution to be continued. Please  continue the exectuion.',
    'do_copy_nothing' => 'The files to be imported do not exist.',
    'title_convert' => 'Wiki format conversion',
    'do_convert' => 'Convert the Wiki format',
    'do_convert_note' => 'The PukiWiki 1.3 format will be converted to the PukiWiki 1.4 format.',
    'do_convert_wiki'     => "
** Execution contents
:Changing the format of the definition lists|
'': :'' is changed to '': |''.
:Splitting nestable block elements|
Inserting a blank line after a nestable block element to prevent the following elements from being its child elements
:Tilde \"~\" on the back of list elements|
When a tilde \"~\" appears on the back of \"-/+\" at the begininng of a line,
a space is inserted to prevent the tilde from being the format for a new line.
:Converting plug-in s.|
&#35;category() -> &#38;tag();
:Converting the page contents|
The page contenst of PukiWikiMod is converted to those in the xpWiki format.
 
** Note
It may take severla minutes to complete the conversion.  Please be patient after clicking the execution button.
 
In case PHP-execution time-out should occur, a dialog for confirming whether the execution to be continued. Please  continue the exectuion.
 
** Execution of conversion
Please click the [Convert the Wiki format] button.
",
    'msg_all_done' => 'Import is completed successfully. Please proceed to the database synchronization.',
    'msg_exec'    => "* File names were checked.\n No errors are found.\n\n Please click [[Execute>%s]] for continuing the conversion\n",
    'msg_error'   => "* File names were checked.\n Errors are found and the file name conversion is terminated. \n Please re-execute the converion after fixing the errors\n",
    'msg_done'    => '* The file name conversion is completed.',
    'err_writable' => '** No files nor directories are found and/or not writable.',
    'err_already' => '** A file with the same name already exists.',
    'err_invalid' => '** The page name is not allowed for PukiWiki 1.4.',
    'err_no_from_dir' => 'The directory to be imported is not found.',
    'err_no_to_dir' => 'The directory to be exported is not found.',
    'err_writable_to' => 'The directory to be exported is not writable.',
    'more_copy_note' => 'The process is paused because of the time-out error during the file copy process.<br />Please click [Continue], and ',
    'more_convert_note' => 'The process is puased because of the time-out error during the format convesion.<br />[Please click [Continue], and ',
    'title_do_more' => 'the rest of process will be continued.',
    'do_more' => 'Remaining $count files will be converted',
    'btn_do_more' => 'Contiune',
);
Page Top

CVS更新内容 anchor.png Edit

  • 2007-05-25 12:07 nao-pon
    • * xoops_version.php (1.123):
      • Version 2.05
  • 2007-05-25 12:06 nao-pon
    • * lang/plugin/import.ja.php (1.1), plugin/import.inc.php (1.1):
      • added new plugin 'import.inc.php'.
  • 2007-05-25 12:00 nao-pon
    • * plugin/dbsync.inc.php (1.5):
      • fixed Javascript problem.
  • 2007-05-25 11:59 nao-pon
    • * plugin/tag.inc.php (1.7):
      • check renew when init time.
  • 2007-05-25 11:58 nao-pon
    • * class/func/xpwiki_func.php (1.62):
      • added flag root->rtf['is_init'] for init.
  • 2007-05-25 11:57 nao-pon
  • 2007-05-25 11:57 nao-pon
    • * class/func/pukiwiki_func.php (1.72), plugin/calendar2.inc.php (1.3), plugin/calendar_viewer.inc.php (1.7):
      • edied for PukiWikiMod compat.
  • 2007-05-25 11:55 nao-pon
    • * class/convert_html.php (1.10):
      • fixed extended table style bugs.
  • 2007-05-25 11:48 nao-pon
    • * events/: onPageWriteAfter/api.inc.php (1.1), onPageWriteBefore/api.inc.php (1.2):
      • Moved from onPageWriteBefore to onPageWriteAfter.
  • 2007-05-25 11:47 nao-pon
    • * plugin/attach.inc.php (1.11):
      • fixed notice error.
Page Top

一行コメント anchor.png Edit

  • [ -- bokanta編集 2007-05-27 (日) 13:40:32
  • 「インポート元となるモジュール」は一つだとして英訳したのですが、それでいいのでしょうか? -- bokanta編集 2007-05-27 (日) 13:41:07
    • おぉ!英訳が増えてる!ありがとうございます。はい、それでOKです。ありがとうございます。 -- nao-pon 2007-05-27 (日) 14:00:24
    • ところで、bokanta さんが編集すると、半角の ? が違う文字に変換されてしまうようですね。ひょっとして、MacのSafariですか?うむぅ、そのあたりの吸収も考えないといけないですね。 -- nao-pon 2007-05-27 (日) 14:03:09
  • Safariです。Safariはバックスラッシュを勝手に全角にしたり変な動作をするんですよね…。とりあえず全訳してみましたので、おかしなところは修正していただけますでしょうか? -- bokanta編集 2007-05-27 (日) 14:21:02
  • 遅くなりましたが、xpwikiを活用させていただいています。本当に有り難うございます。 -- bokanta編集 2007-05-27 (日) 14:22:36
  • bokanta さん、英訳ありがとうございました。中学英語もおぼつかないので、大変助かりました。 :D -- nao-pon 2007-05-28 (月) 11:24:06



トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
Counter: 112, today: 1, yesterday: 0
初版日時: 2007-05-25 (金) 13:09:46
最終更新: 2007-05-28 (月) 11:24:06 (JST) (6172d) by nao-pon
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
オンライン状況
726 人のユーザが現在オンラインです。 (15 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 726

もっと...
サイト情報