Skip to content

Commit 1900696

Browse files
committed
docs
* translate the main controller
1 parent 91f2067 commit 1900696

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

system/Controller.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* Todos los controladores creados deben heredar
4-
* de este controlador para el funcionamiento de los mismos ya que
5-
* contiene el asignamiento de los datos y el renderizado de la pantilla y vistas
3+
* All created drivers must inherit
4+
* of this controller for the operation of the same since
5+
* contains the data mapping and rendering of the caliper and views
66
**/
77
use Ligne\ErrorHandler;
88

@@ -104,16 +104,16 @@ function redirect($redirecTo,$param = null) :void {
104104
*/
105105
private function viewNonexists(string $filename):void{
106106
$errorHandler = new ErrorHandler(ENVIROMENT);
107-
$errorHandler->showDevMessages("Error archivo vista",
108-
"La vista <span class='special_name_element'>' $filename '</span> no fue encontrada");
107+
$errorHandler->showDevMessages("View not found",
108+
"<span class='special_name_element'>' $filename '</span> view not found");
109109
}
110110
/**
111111
* Is the default layout no exits
112112
**/
113113
private function defaultLayoutNotFound():void {
114114
$errorHandler = new ErrorHandler(ENVIROMENT);
115-
$errorHandler->showDevMessages("Problema al cargar el default Layout",
116-
"No se ha podido cargar el layout por defecto, probablemente no este con el nombre que se ha configurado o no exista.",
115+
$errorHandler->showDevMessages("Problem loading the default layout",
116+
"The default layout could not be loaded, probably it is not with the name that has been configured or does not exist.",
117117
__ROOT__DIR__ . "views/template/" . $this->layout . '.php');
118118
}
119119

0 commit comments

Comments
 (0)