* rename the clear data feature to reset.

This commit is contained in:
wwccss
2014-06-01 20:58:00 +08:00
parent a7f3f9019c
commit 9d32265c5a
4 changed files with 18 additions and 24 deletions
+9 -12
View File
@@ -19,27 +19,24 @@ $lang->admin->welcome = 'Welcome to ZenTaoPMS.';
$lang->admin->browseCompany = 'Browse Company';
$lang->admin->clearData = 'Clear Data';
$lang->admin->pleaseInputYes = "Input 'yes' to clear data:";
$lang->admin->confirmClearData = 'Are you sure to clear data?';
$lang->admin->clearDataFailed = 'Failed to clear data!';
$lang->admin->clearDataSuccessfully = 'Succeed in clearing data!';
$lang->admin->clearData = 'Reset';
$lang->admin->pleaseInputYes = "Input 'yes' to reset zentao:";
$lang->admin->confirmClearData = 'Are you sure to reset zentao?';
$lang->admin->clearDataFailed = 'Failed to reset zentao!';
$lang->admin->clearDataSuccessfully = 'Successfully reset zentao';
$lang->admin->clearDataDesc = <<<EOT
<strong><font color='red'>Clear data is dangerous. Be sure to backup your database and other data files and sure nobody is using pms when importing.</font></strong>\n
The impact of clearing data:
1、Clearing data will have no effect on table company,table group,and table groupPriv.
2、If you have choosed import demo data when installing,then clearing data will delete the item where key equals showDemoUsers on config table, and delete all demo users on user table.
3、For others tables:clear all data.
When you finish testing zentao, you can reset data inf zentao by using the reset feature. All data in database will be cleared except the data of company, department, user, group and priviledge. <br />
<strong class='text-danger'>This action is very dangerous, think over before you do it!</strong>
EOT;
$lang->admin->info = new stdclass();
$lang->admin->info->caption = 'ZentaoPMS information';
$lang->admin->info->caption = 'zentao information';
$lang->admin->info->version = 'The current version of the system is %s,';
$lang->admin->info->links = 'You can visit the following link:';
$lang->admin->info->account = 'Your account in zentao community is %s. ';
$lang->admin->notice = new stdclass();
$lang->admin->notice->register = "Tips: You have not registered in Zentao community (www.zentao.net), %s to register and get the latest information about ZentaoPMS.";
$lang->admin->notice->register = "Tips: You have not registered in zentao community (www.zentao.net), %s to register and get the latest information about ZentaoPMS.";
$lang->admin->notice->ignore = "ignore";
$lang->admin->register = new stdclass();