OSDN Git Service

translated for upgrading from 3.1 to 3.2
authorkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Thu, 17 Mar 2005 08:57:28 +0000 (08:57 +0000)
committerkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Thu, 17 Mar 2005 08:57:28 +0000 (08:57 +0000)
need to modify for other versions

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@60 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/upgrades/index.php
utf8/nucleus/upgrades/upgrade.functions.php
utf8/nucleus/upgrades/upgrade.php

index ddac150..36c513a 100755 (executable)
@@ -9,7 +9,8 @@
   * of the License, or (at your option) any later version.\r
   * (see nucleus/documentation/index.html#license for more info)\r
   *\r
-  * $Id: index.php,v 1.2 2005-03-15 08:11:33 kimitake Exp $\r
+  * $Id: index.php,v 1.3 2005-03-17 08:57:28 kimitake Exp $\r
+  * $NucleusJP$\r
   */\r
 \r
 include('upgrade.functions.php'); \r
@@ -27,14 +28,15 @@ upgrade_head();
 \r
 ?>\r
 \r
-<h1>Upgrade Scripts</h1>\r
+<h1>アップグレードスクリプト集</h1>\r
 \r
 <div class="note">\r
-<b>Note:</b> If you aren't upgrading from an old Nucleus version (you installed Nucleus from scratch), you won't need these files.\r
+<b>Note:</b> もし古いバージョンの Nuclues からアップグレードしようとしているのでなければ(つまりまっさらな状態からインストールしたのであれば)、これらのスクリプト集は必要ありません。\r
 </div>\r
 \r
 <p>\r
-When upgrading from an older Nucleus version, upgrades to the database tables are required. This upgrade script allows you to automate these changes.\r
+古いバージョンの Nucleus からアップグレードするとき、データベーステーブルのアップグレードが必要です。\r
+このアップグレードスクリプトを実行することでそれが可能となります。\r
 </p>\r
 \r
 <?php  // calculate current version\r
@@ -51,20 +53,20 @@ When upgrading from an older Nucleus version, upgrades to the database tables ar
 \r
   if ($current == 32) {\r
     ?>\r
-      <p class="ok">No automatic upgrades required! The database tables have already been updated to the latest version of Nucleus.</p>\r
+      <p class="ok">自動でできるアップグレードはありません。データベースは既に最新の Nucleus 用にアップデートされています。</p>\r
     <?php  } else {\r
     ?>\r
-      <p class="warning"><a href="upgrade.php?from=<?php echo $current?>">Click here to upgrade the database to Nucleus v3.2</a></p>\r
+      <p class="warning"><a href="upgrade.php?from=<?php echo $current?>">ここをクリックしてデータベースを Nucleus v3.2 用にアップグレードします</a></p>\r
     <?php  }\r
 ?>\r
 \r
 <div class="note">\r
-<b>Note:</b> Don't forget to make a backup of your database every once in a while!\r
+<b>注意:</b> 作業中、各ステップごとにデータベースのバックアップを忘れないようにして下さい。\r
 </div>\r
 \r
-<h1>Manual changes</h1>\r
+<h1>手動変更</h1>\r
 \r
-<p>Some changes need to be done manually. Instructions are given below (if any)</p>\r
+<p>いくつかの変更は手動で行う必要があります。下記にその手順を示します。</p>\r
 \r
 <?php\r
 $sth = 0;\r
@@ -85,14 +87,14 @@ if (phpversion() < '4.0.6') {
 }\r
 \r
 if ($sth == 0)\r
-  echo "<p class='ok'>No manual changes needed. This must be your lucky day!</p>";  \r
+  echo "<p class='ok'>手動変更は必要ありません。今日はラッキーな日ですね!</p>";  \r
 \r
 \r
 \r
 upgrade_foot();\r
 \r
 function upgrade_todo($ver) {\r
-  return upgrade_checkinstall($ver) ? "(<span class='ok'>installed</span>)" : "(<span class='warning'>not yet installed</span>)";\r
+  return upgrade_checkinstall($ver) ? "(<span class='ok'>インストール済み</span>)" : "(<span class='warning'>インストールが必要</span>)";\r
 }\r
 \r
 function upgrade_manual_96() {\r
@@ -100,7 +102,7 @@ function upgrade_manual_96() {
   \r
   $guess = str_replace("/nucleus/","/media/",$DIR_NUCLEUS);\r
 ?>\r
-  <h2>Changes needed for Nucleus 0.96</h2>\r
+  <h2>Nucleus 0.96 用に必要な変更</h2>\r
   <p>\r
     A manual addition needs to be made to <i>config.php</i>, in order to get the media functions to work. Here's what to add:\r
   </p>\r
@@ -120,7 +122,7 @@ function upgrade_manual_20() {
   \r
   $guess = str_replace("/nucleus/","/skins/",$DIR_NUCLEUS);\r
 ?>\r
-  <h2>Changes needed for Nucleus 2.0</h2>\r
+  <h2>Nucleus 2.0 用に必要な変更</h2>\r
   <p>\r
     A manual addition needs to be made to <i>config.php</i>, in order to get imported skins to work correctly. Here's what to add:\r
   </p>\r
@@ -131,7 +133,7 @@ function upgrade_manual_20() {
   \r
   <p>Also, it will be necessary to create this directory yourself. Downloaded skins can then be expanded into that directory and be imported from inside the Nucleus admin area.</p>\r
   \r
-  <h3>RSS 2.0 and RSD skin</h3>\r
+  <h3>RSS 2.0 and RSD スキン</h3>\r
   \r
   <p>When a fresh version of Nucleus 2.0 is installed, an RSS 2.0 (Really Simple Syndication) syndication skin is also installed, as well as an RSD skin (Really Simple Discovery). The files <code>xml-rss2.php</code> and <code>rsd.php</code> are available in the upgrade, however the skin itself needs to be installed manually. After you've uploaded the contents of the <code>upgrade-files</code>, open <code>admin area &gt; nucleus management &gt; skin import</code>. From there, you can install both skins. (Unless you don't want them installed, that is)</p>\r
   \r
@@ -139,7 +141,7 @@ function upgrade_manual_20() {
 \r
 function upgrade_manual_php405() {\r
 ?>\r
-<h2>Changes needed when running PHP versions 4.0.3, 4.0.4 and 4.0.5</h2>\r
+<h2>PHP のバージョンが 4.0.3, 4.0.4 または 4.0.5 の場合に必要となる変更</h2>\r
 <p>\r
   There are two files that need to be changed when running PHP versions lower than 4.0.6. Even better would be to upgrade to PHP 4.0.6 or PHP 4.2.2+ (there are security issues with all PHP versions &lt; 4.0.6 and 4.2.2). If you're not able or not willing to upgrade, here's what to change:\r
 </p>\r
index 4edd0b7..ef6f6ac 100755 (executable)
@@ -12,7 +12,8 @@
          *     \r
          * Some functions common to all upgrade scripts\r
          *\r
-         * $Id: upgrade.functions.php,v 1.2 2005-03-15 08:11:16 kimitake Exp $\r
+         * $Id: upgrade.functions.php,v 1.3 2005-03-17 08:57:28 kimitake Exp $\r
+         * $NucleusJP$\r
          */\r
 \r
        include('../../config.php');\r
        function upgrade_showLogin($type) {\r
                upgrade_head();\r
        ?>\r
-               <h1>Please Log in First</h1>\r
-               <p>Enter your data below:</p>\r
+               <h1>まずはログインして下さい</h1>\r
+               <p>下記の情報を入力して下さい:</p>\r
                \r
                <form method="post" action="<?php echo $type?>">\r
 \r
                        <ul>\r
-                               <li>Name: <input name="login" /></li>\r
-                               <li>Password <input name="password" type="password" /></li>\r
+                               <li>名前: <input name="login" /></li>\r
+                               <li>パスワード <input name="password" type="password" /></li>\r
                        </ul>\r
 \r
                        <p>\r
                        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
                        <html xmlns="http://www.w3.org/1999/xhtml">\r
                        <head>\r
-                               <title>Nucleus Upgrade</title>\r
+                               <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />\r
+                               <title>Nucleus アップグレード</title>\r
                                <style><!--\r
                                        @import url('../styles/manual.css');\r
                                        .warning {\r
        function upgrade_error($msg) {\r
                upgrade_head();\r
                ?>\r
-               <h1>Error!</h1>\r
+               <h1>エラー!</h1>\r
 \r
-               <p>Message was:</p>\r
+               <p>メッセージは以下の通り:</p>\r
                \r
                <blockquote><div>\r
                <?php echo $msg?>\r
                </div></blockquote>\r
 \r
-               <p><a href="index.php" onclick="history.back();">Go Back</a></p>\r
+               <p><a href="index.php" onclick="history.back();">戻る</a></p>\r
                <?php\r
                upgrade_foot();\r
                exit;\r
                \r
                upgrade_head();\r
                ?>\r
-               <h1>Executing Upgrades</h1>\r
+               <h1>アップグレードの実行</h1>\r
                <ul>\r
                <?php   }\r
        \r
                ?>\r
                </ul>\r
                \r
-               <h1>Upgrade Completed!</h1>\r
+               <h1>アップグレード完了!</h1>\r
 \r
                <p><?php echo $msg?></p>\r
                \r
-               <p>Back to the <a href="index.php">Upgrades Overview</a></p>\r
+               <p><a href="index.php">アップグレード最初のページ</a>にもどる</p>\r
 \r
                <?php\r
                upgrade_foot();\r
 \r
 \r
 \r
-?>
\ No newline at end of file
+?>\r
index a2a5496..6d8459a 100755 (executable)
@@ -9,7 +9,8 @@
   * of the License, or (at your option) any later version.\r
   * (see nucleus/documentation/index.html#license for more info)\r
   *\r
-  * $Id: upgrade.php,v 1.2 2005-03-15 08:10:59 kimitake Exp $\r
+  * $Id: upgrade.php,v 1.3 2005-03-17 08:57:28 kimitake Exp $\r
+  * $NucleusJP$\r
   */\r
 \r
 include('upgrade.functions.php'); \r
@@ -60,12 +61,12 @@ switch($from) {
                upgrade_do32();\r
                break;\r
        default:\r
-               echo "<li>Error! No updates to execute</li>";\r
+               echo "<li>エラー! 実行すべきアップデートはありません</li>";\r
                break;\r
 }\r
 \r
 \r
 \r
-upgrade_end("Upgrade Completed");\r
+upgrade_end("アップグレード成功");\r
 \r
-?>
\ No newline at end of file
+?>\r