Added new translation and fix an error.

This commit is contained in:
Arturo Gonzalez 2017-03-14 16:28:30 +01:00
parent 00ffbb6fcb
commit aa157b575d
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ if (is_ajax ()) {
else {
if (file_exists($dir) && is_dir($dir)) {
if (is_readable($dir)) {
if ($number >= $config['MR'] + 1) {
if ($number > $config['MR'] + 1) {
$message = "bad_mr_filename";
echo $message;

View File

@ -343,7 +343,7 @@ function update_manager_check_online_free_packages ($is_ajax=true) {
echo "<p><b>There is a new version:</b> " . $result[0]['version'] . "</p>";
echo "<a href='javascript: update_last_package(\"" . base64_encode($result[0]["file_name"]) .
"\", \"" . $result[0]['version'] ."\");'>" .
__("Update to the last version") . "</a>";
__("Update to the next version") . "</a>";
}
else {
echo __("There is no update available.");