@@ -9,6 +9,7 @@
|
||||
* @version $Id: en.php 5119 2013-07-12 08:06:42Z wyd621@gmail.com $
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
global $config;
|
||||
$lang->upgrade->common = 'Upgrade';
|
||||
$lang->upgrade->start = 'Start';
|
||||
$lang->upgrade->result = 'Ergebnis';
|
||||
@@ -32,6 +33,22 @@ $lang->upgrade->warnningContent = <<<EOT
|
||||
</pre>
|
||||
EOT;
|
||||
|
||||
if($config->db->driver == 'dm')
|
||||
{
|
||||
$lang->upgrade->warnningContent = <<<EOT
|
||||
<p>The upgrade requires high database privileges, please use the root user.<br>
|
||||
Please backup your database before updating ZenTao!</p>
|
||||
<pre>
|
||||
1. It can be backed up by graphical client tools.
|
||||
2. Use DIsql tool to back up data.
|
||||
$> BACKUP DATABASE BACKUPSET <span class='text-danger'>'filename'</span>;
|
||||
After the statement is executed, a backup set directory named "filename" is generated in the default backup path.
|
||||
The default backup path is the path configured with BAK_PATH in dm.ini. If BAK_PATH is not configured, bak in SYSTEM_PATH is used by default.
|
||||
This is the simplest database backup statement,To set additional backup options, you need to understand the syntax of the online backup database.
|
||||
</pre>
|
||||
EOT;
|
||||
}
|
||||
|
||||
$lang->upgrade->createFileWinCMD = 'Öffnen Sie ein Konsolenfenster und rufen Sie <strong style="color:#ed980f">echo > %s</strong> auf';
|
||||
$lang->upgrade->createFileLinuxCMD = 'Ausführen in der Shell: <strong style="color:#ed980f">touch %s</strong>';
|
||||
$lang->upgrade->setStatusFile = '<h4>Please complete the following actions</h4>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
* @version $Id: en.php 5119 2013-07-12 08:06:42Z wyd621@gmail.com $
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
global $config;
|
||||
$lang->upgrade->common = 'Update';
|
||||
$lang->upgrade->start = 'Start';
|
||||
$lang->upgrade->result = 'Result';
|
||||
@@ -32,6 +33,22 @@ $lang->upgrade->warnningContent = <<<EOT
|
||||
</pre>
|
||||
EOT;
|
||||
|
||||
if($config->db->driver == 'dm')
|
||||
{
|
||||
$lang->upgrade->warnningContent = <<<EOT
|
||||
<p>The upgrade requires high database privileges, please use the root user.<br>
|
||||
Please backup your database before updating ZenTao!</p>
|
||||
<pre>
|
||||
1. It can be backed up by graphical client tools.
|
||||
2. Use DIsql tool to back up data.
|
||||
$> BACKUP DATABASE BACKUPSET <span class='text-danger'>'filename'</span>;
|
||||
After the statement is executed, a backup set directory named "filename" is generated in the default backup path.
|
||||
The default backup path is the path configured with BAK_PATH in dm.ini. If BAK_PATH is not configured, bak in SYSTEM_PATH is used by default.
|
||||
This is the simplest database backup statement,To set additional backup options, you need to understand the syntax of the online backup database.
|
||||
</pre>
|
||||
EOT;
|
||||
}
|
||||
|
||||
$lang->upgrade->createFileWinCMD = 'Open command line and execute <strong style="color:#ed980f">echo > %s</strong>';
|
||||
$lang->upgrade->createFileLinuxCMD = 'Execute command line: <strong style="color:#ed980f">touch %s</strong>';
|
||||
$lang->upgrade->setStatusFile = '<h4>Please complete the following actions</h4>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
* @version $Id: en.php 5119 2013-07-12 08:06:42Z wyd621@gmail.com $
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
global $config;
|
||||
$lang->upgrade->common = 'Mise à jour';
|
||||
$lang->upgrade->start = 'Start';
|
||||
$lang->upgrade->result = 'Résultat';
|
||||
@@ -32,6 +33,22 @@ $lang->upgrade->warnningContent = <<<EOT
|
||||
</pre>
|
||||
EOT;
|
||||
|
||||
if($config->db->driver == 'dm')
|
||||
{
|
||||
$lang->upgrade->warnningContent = <<<EOT
|
||||
<p>The upgrade requires high database privileges, please use the root user.<br>
|
||||
Please backup your database before updating ZenTao!</p>
|
||||
<pre>
|
||||
1. It can be backed up by graphical client tools.
|
||||
2. Use DIsql tool to back up data.
|
||||
$> BACKUP DATABASE BACKUPSET <span class='text-danger'>'filename'</span>;
|
||||
After the statement is executed, a backup set directory named "filename" is generated in the default backup path.
|
||||
The default backup path is the path configured with BAK_PATH in dm.ini. If BAK_PATH is not configured, bak in SYSTEM_PATH is used by default.
|
||||
This is the simplest database backup statement,To set additional backup options, you need to understand the syntax of the online backup database.
|
||||
</pre>
|
||||
EOT;
|
||||
}
|
||||
|
||||
$lang->upgrade->createFileWinCMD = 'Ouvrez la fenêtre Ligne de commandes de windows et exécutez <strong style="color:#ed980f">echo > %s</strong>';
|
||||
$lang->upgrade->createFileLinuxCMD = 'Executez la ligne de commande suivante: <strong style="color:#ed980f">touch %s</strong>';
|
||||
$lang->upgrade->setStatusFile = '<h4>Please complete the following actions</h4>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
* @version $Id: zh-cn.php 5119 2013-07-12 08:06:42Z wyd621@gmail.com $
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
global $config;
|
||||
$lang->upgrade->common = '升级';
|
||||
$lang->upgrade->start = '开始';
|
||||
$lang->upgrade->result = '升级结果';
|
||||
@@ -32,6 +33,22 @@ $lang->upgrade->warnningContent = <<<EOT
|
||||
</pre>
|
||||
EOT;
|
||||
|
||||
if($config->db->driver == 'dm')
|
||||
{
|
||||
$lang->upgrade->warnningContent = <<<EOT
|
||||
<p>升级对数据库权限要求较高,请使用管理员用户。<br>
|
||||
升级有危险,请先备份数据库,以防万一。</p>
|
||||
<pre>
|
||||
1. 可以通过图形化客户端工具进行备份。
|
||||
2. 使用DIsql工具进行备份。
|
||||
$> BACKUP DATABASE BACKUPSET <span class='text-danger'>'filename'</span>;
|
||||
语句执行完后会在默认的备份路径下生成名为“filename”的备份集目录。
|
||||
默认的备份路径为 dm.ini 中 BAK_PATH 配置的路径,若未配置 BAK_PATH,则默认使用 SYSTEM_PATH 下的 bak 目录。
|
||||
这是最简单的数据库备份语句,如果要设置其他的备份选项需了解联机备份数据库的语法。
|
||||
</pre>
|
||||
EOT;
|
||||
}
|
||||
|
||||
$lang->upgrade->createFileWinCMD = '打开命令行,执行<strong style="color:#ed980f">echo > %s</strong>';
|
||||
$lang->upgrade->createFileLinuxCMD = '在命令行执行: <strong style="color:#ed980f">touch %s</strong>';
|
||||
$lang->upgrade->setStatusFile = '<h4>升级之前请先完成下面的操作:</h4>
|
||||
|
||||
Reference in New Issue
Block a user