Skip to content

Commit

Permalink
Dev: Fixing some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Aestu committed Aug 22, 2015
1 parent ddda9de commit f046c14
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions application/controllers/admin/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function checkLocalErrors()

return $this->controller->renderPartial('update/updater/steps/_check_local_errors', $aData, false, false);
}
return $this->_renderErrorString("unkown_destination_build");
return $this->_renderErrorString("unknown_destination_build");
}

/**
Expand Down Expand Up @@ -154,7 +154,7 @@ public function changeLog()
}
return $this->controller->renderPartial('update/updater/steps/_change_log', $aData, false, false);
}
return $this->_renderErrorString("unkown_destination_build");
return $this->_renderErrorString("unknown_destination_build");
}

/**
Expand Down Expand Up @@ -188,7 +188,7 @@ public function fileSystem()
}
return $this->_renderError($changedFiles);
}
return $this->_renderErrorString("unkown_destination_build");
return $this->_renderErrorString("unknown_destination_build");
}

/**
Expand Down Expand Up @@ -235,7 +235,7 @@ public function backup()
}
else
{
$error = "unkown_destination_build";
$error = "unknown_destination_build";
}
return $this->_renderErrorString($error);
}
Expand Down Expand Up @@ -298,7 +298,7 @@ function step4()
}
else
{
$error = "unkown_destination_build";
$error = "unknown_destination_build";
}
return $this->_renderErrorString($error);
}
Expand Down Expand Up @@ -506,4 +506,4 @@ private function _parseToView($updateinfos)
return base64_encode($data);
}

}
}
10 changes: 5 additions & 5 deletions application/views/admin/update/updater/_error.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

case 'not_found':
$title = gt("Unknown update key!");
$message = gt("Your key is unkown by the update server.");
$message = gt("Your key is unknown by the update server.");
$buttons = 3;
break;

Expand All @@ -66,13 +66,13 @@
break;

case 'unknown_view':
$title = gt("The server tried to call an unkown view!");
$title = gt("The server tried to call an unknown view!");
$message = gt('Is your ComfortUpdate up to date?').' '.gT('Please contact the LimeSurvey team.');
$buttons = 3;
break;

case 'unkown_destination_build':
$title = gt("Unkown destination build!");
case 'unknown_destination_build':
$title = gt("Unknown destination build!");
$message = gt("It seems that the ComfortUpdate doesn't know the version you're trying to update to. Please restart the process.");
$buttons = 0;
break;
Expand Down Expand Up @@ -102,7 +102,7 @@
break;

case 'wrong_token':
$title = gT('Unkown session');
$title = gT('Unknown session');
$message = gT('Your session with the ComfortUpdate server is not valid or expired. Please restart the process.');
$buttons = 0;
break;
Expand Down
6 changes: 3 additions & 3 deletions application/views/admin/update/updater/welcome/_error.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

case 'not_found':
$title = "Unknown update key !";
$message = "Your key is unkown by the update server.";
$message = "Your key is unknown by the update server.";
$buttons = 3;
break;

Expand All @@ -35,8 +35,8 @@
$buttons = 3;
break;

case 'unkown_destination_build':
$title = "Unkown destination build !";
case 'unknown_destination_build':
$title = "Unknown destination build !";
$message = "It seems that the ComfortUpdate doesn't know to which version you're trying to update. Please, restart the process.";
break;

Expand Down

0 comments on commit f046c14

Please sign in to comment.