|
1 | 1 | <?php
|
2 | 2 | /**
|
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 |
6 | 6 | **/
|
7 | 7 | use Ligne\ErrorHandler;
|
8 | 8 |
|
@@ -104,16 +104,16 @@ function redirect($redirecTo,$param = null) :void {
|
104 | 104 | */
|
105 | 105 | private function viewNonexists(string $filename):void{
|
106 | 106 | $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"); |
109 | 109 | }
|
110 | 110 | /**
|
111 | 111 | * Is the default layout no exits
|
112 | 112 | **/
|
113 | 113 | private function defaultLayoutNotFound():void {
|
114 | 114 | $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.", |
117 | 117 | __ROOT__DIR__ . "views/template/" . $this->layout . '.php');
|
118 | 118 | }
|
119 | 119 |
|
|
0 commit comments