Changeset 6341
- Timestamp:
- 08/11/08 08:38:46 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/page.modules.php
r6284 r6341 419 419 if (is_array($errors = module_checkdepends($modules_online[$module]))) { 420 420 $skipaction = true; 421 $errorstext[] = sprintf(_("%s cannot be upgraded: %s Please correct this error first."),421 $errorstext[] = sprintf(_("%s cannot be upgraded: %s Please try again after the dependencies have been installed."), 422 422 $modules[$module]['name'], 423 423 '<ul><li>'.implode('</li><li>',$errors).'</li></ul>'); … … 431 431 if (is_array($errors = module_checkdepends($modules_online[$module]))) { 432 432 $skipaction = true; 433 $errorstext[] = sprintf(_("%s cannot be installed: %s Please correct this error first."),433 $errorstext[] = sprintf(_("%s cannot be installed: %s Please try again after the dependencies have been installed."), 434 434 $modules[$module]['name'], 435 435 '<ul><li>'.implode('</li><li>',$errors).'</li></ul>'); … … 443 443 if (is_array($errors = module_checkdepends($modules[$module]))) { 444 444 $skipaction = true; 445 $errorstext[] = sprintf((($modules[$module]['status'] == MODULE_STATUS_NEEDUPGRADE) ? _("%s cannot be upgraded: %s Please correct this error first.") : _("%s cannot be installed: %s Please correct this error first.") ),445 $errorstext[] = sprintf((($modules[$module]['status'] == MODULE_STATUS_NEEDUPGRADE) ? _("%s cannot be upgraded: %s Please try again after the dependencies have been installed.") : _("%s cannot be installed: %s Please try again after the dependencies have been installed.") ), 446 446 $modules[$module]['name'], 447 447 '<ul><li>'.implode('</li><li>',$errors).'</li></ul>'); … … 458 458 if (is_array($errors = module_checkdepends($modules[$module]))) { 459 459 $skipaction = true; 460 $errorstext[] = sprintf(_("%s cannot be enabled: %s Please correct this error first."),460 $errorstext[] = sprintf(_("%s cannot be enabled: %s Please try again after the dependencies have been installed."), 461 461 $modules[$module]['name'], 462 462 '<ul><li>'.implode('</li><li>',$errors).'</li></ul>'); … … 468 468 if (is_array($errors = module_reversedepends($modules[$module]))) { 469 469 $skipaction = true; 470 $errorstext[] = sprintf(_("%s cannot be disabled because the following modules depend on it: %s Please correct this error first."),470 $errorstext[] = sprintf(_("%s cannot be disabled because the following modules depend on it: %s Please disable those modules first then try again."), 471 471 $modules[$module]['name'], 472 472 '<ul><li>'.implode('</li><li>',$errors).'</li></ul>'); … … 479 479 if (is_array($errors = module_reversedepends($modules[$module]))) { 480 480 $skipaction = true; 481 $errorstext[] = sprintf(_("%s cannot be uninstalled because the following modules depend on it: %s Please correct this error first."),481 $errorstext[] = sprintf(_("%s cannot be uninstalled because the following modules depend on it: %s Please disable those modules first then try again."), 482 482 $modules[$module]['name'], 483 483 '<ul><li>'.implode('</li><li>',$errors).'</li></ul>'); … … 509 509 if (count($actionstext) > 0) { 510 510 if (count($errorstext) > 0) { 511 echo "<h4>"._("You may confirm the remaining selection (errors will be skipped):")."</h4>\n";511 echo "<h4>"._("You may confirm the remaining selection and then try the again for the listed issues once the required dependencies have been met:")."</h4>\n"; 512 512 } else { 513 513 echo "<h4>"._("Please confirm the following actions:")."</h4>\n";
