* adjust extension upgrade.

This commit is contained in:
wangyidong
2012-02-22 07:37:26 +00:00
parent 2c2d7d9290
commit be29b20e59
5 changed files with 82 additions and 65 deletions

View File

@@ -22,9 +22,8 @@ $lang->extension->view = 'Info';
$lang->extension->download = 'Download';
$lang->extension->downloadAB = 'Down';
$lang->extension->upload = 'Upload and install';
$lang->extension->uploadUpgrade = 'Upload and upgrade';
$lang->extension->erase = 'Erase';
$lang->extension->upgrade = 'Upgrade';
$lang->extension->upgrade = 'Upgrade Extension';
$lang->extension->agreeLicense = 'I agree the license';
$lang->extension->structure = 'Structure';
@@ -62,8 +61,8 @@ $lang->extension->byUpdatedTime = 'Last updated';
$lang->extension->bySearch = 'Search';
$lang->extension->byCategory = 'By Category';
$lang->extension->installFailed = 'Install failed, the reason is:';
$lang->extension->installFinished = 'Good, the extension has been installed successfully.';
$lang->extension->installFailed = '%s failed, the reason is:';
$lang->extension->installFinished = 'Good, the extension has been %s successfully.';
$lang->extension->refreshPage = 'Refresh';
$lang->extension->uninstallFinished = 'Extension has been successfully uninstalled.';
$lang->extension->deactivateFinished = 'Extension has been successfully deactivated.';
@@ -78,17 +77,21 @@ $lang->extension->viewInstalled = 'View installed extensions.';
$lang->extension->viewAvailable = 'View available extensions';
$lang->extension->viewDeactivated = 'View deactivated extensions';
$lang->extension->upgradeExt = 'Upgrade';
$lang->extension->installExt = 'Install';
$lang->extension->upgradeVersion = '(Upgrade from %s to %s)';
$lang->extension->errorOccurs = 'Error:';
$lang->extension->errorGetModules = "Get extensions' categories data from the www.zentao.net failed. ";
$lang->extension->errorGetExtensions = 'Get extensions from www.zentao.net failed. You can visit <a href="http://www.zentao.net/extension/" target="_blank">www.zentao.net</a> to find your extensions, download it manually and then upload to zentaopms to install it.';
$lang->extension->errorDownloadPathNotFound = 'The save path of package file <strong>%s</strong>does not exists.<br />For linux users, can execute <strong>mkdir -p %s</strong> to fix it.';
$lang->extension->errorDownloadPathNotWritable = 'The save path of package file <strong>%s</strong>is not writable.<br />For linux users, can execute <strong>sudo chmod 777 %s</strong> to fix it.';
$lang->extension->errorPackageFileExists = 'There is already a file with the same name <strong>%s</strong>.<h3> If you want to install again, <a href="%s">please click this link</a>.</h3>';
$lang->extension->errorPackageFileExists = 'There is already a file with the same name <strong>%s</strong>.<h3> If you want to %s again, <a href="%s">please click this link</a>.</h3>';
$lang->extension->errorDownloadFailed = 'Download failed, please try again. Or you can download it manually and upload it to install.';
$lang->extension->errorMd5Checking = 'The downloawd files checking failed, Please download it manually and upload it to install';
$lang->extension->errorExtracted = 'The package file <strong> %s </strong> extracted failed. The error is:<br />%s';
$lang->extension->errorCheckIncompatible = 'This extenion is not compatible with current zentao version. <h3>You can <a href="%s">force install</a> or <a href="#" onclick=parent.location.href="%s">cancel the installation</a></h3>.';
$lang->extension->errorFileConflicted = 'There are some files conflicted: <br />%s <h3>You can <a href="%s">Overide them</a> or <a href="#" onclick=parent.location.href="%s">Cancel the installation</a></h3>.';
$lang->extension->errorCheckIncompatible = 'This extenion is not compatible with current zentao version. <h3>You can <a href="%s">Force %s</a> or <a href="#" onclick=parent.location.href="%s">Cancel</a></h3>.';
$lang->extension->errorFileConflicted = 'There are some files conflicted: <br />%s <h3>You can <a href="%s">Overide them</a> or <a href="#" onclick=parent.location.href="%s">Cancel</a></h3>.';
$lang->extension->errorPackageNotFound = 'The package file <strong>%s </strong> not found, perhaps download failed, try again.';
$lang->extension->errorTargetPathNotWritable = 'Target path <strong>%s </strong>not writable.';
$lang->extension->errorTargetPathNotExists = 'Target path <strong>%s </strong>not exists';