mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-03-01 08:23:45 +01:00
First commit. Check if all is uploaded well.
This commit is contained in:
39
assets/translations/en.php
Executable file
39
assets/translations/en.php
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
//English (Use as a reference) - Maybe grammar can be fixed
|
||||
define('T_ENGVERSION',1);
|
||||
|
||||
//(indexpage.twig) In index, title
|
||||
$T_['statdif1'] = 'Status of different checks';
|
||||
$T_['name'] = 'Name';
|
||||
$T_['status'] = 'Status';
|
||||
$T_['failed'] = 'Failed';
|
||||
$T_['last_check'] = 'Last check';
|
||||
$T_['last_err'] = 'Last error';
|
||||
$T_['last_news'] = 'Lastest news';
|
||||
//(indexpage.twig)[NEXT 6] Marking as good, problems or other in status.
|
||||
$T_['status_right'] = 'Well';
|
||||
$T_['status_lproblems'] = 'Maybe some light fails';
|
||||
$T_['status_problems'] = 'Some outages';
|
||||
$T_['status_outofserv'] = 'Out of service';
|
||||
$T_['status_maintenance'] = 'In maintenance';
|
||||
$T_['status_empty'] = 'No checks yet';
|
||||
$T_['no_errs'] = 'No errors';
|
||||
$T_['add'] = 'Add';
|
||||
$T_['edit'] = 'Edit';
|
||||
$T_['delete'] = 'Delete';
|
||||
$T_['more_opts'] = 'More options';
|
||||
$T_['check_type'] = 'Type of check';
|
||||
//(admin panel)[NEXT 6] Left menu of panel
|
||||
$T_['home'] = 'Home';
|
||||
$T_['checks'] = 'Checks';
|
||||
$T_['groups'] = 'Groups';
|
||||
$T_['news'] = 'News';
|
||||
$T_['settings'] = 'Settings';
|
||||
$T_['users'] = 'Users';
|
||||
//[NEXT 4]Check texts
|
||||
$T_['PING_IP'] = 'Ping to IP:Port';
|
||||
$T_['HTTP_CODE'] = 'Http code';
|
||||
$T_['VISIT_COUNT'] = 'Visit counter';
|
||||
$T_['DATABASE'] = 'Database check';
|
||||
$T_['add_grp_to_add_chk'] = 'Add a group for start adding checks';
|
||||
?>
|
||||
39
assets/translations/es.php
Executable file
39
assets/translations/es.php
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
//Español (Oficial)
|
||||
define('T_VERSION',1);
|
||||
|
||||
//(indexpage.twig) In index, title
|
||||
$T_['statdif1'] = 'Estado de los diferentes servicios';
|
||||
$T_['name'] = 'Nombre';
|
||||
$T_['status'] = 'Estado';
|
||||
$T_['failed'] = 'Erróneo';
|
||||
$T_['last_check'] = 'Última comprobación';
|
||||
$T_['last_err'] = 'Último error';
|
||||
$T_['last_news'] = 'Últimas noticias';
|
||||
//(indexpage.twig) [NEXT 6] Marking as good, problems or other in status.
|
||||
$T_['status_right'] = 'Todo correcto';
|
||||
$T_['status_lproblems'] = 'Problemas de rendimiento';
|
||||
$T_['status_problems'] = 'Problemas';
|
||||
$T_['status_outofserv'] = 'Fuera de servicio';
|
||||
$T_['status_maintenance'] = 'En mantenimiento';
|
||||
$T_['status_empty'] = 'Sin registros';
|
||||
$T_['no_errs'] = 'Sin errores';
|
||||
$T_['add'] = 'Añadir';
|
||||
$T_['edit'] = 'Editar';
|
||||
$T_['delete'] = 'Borrar';
|
||||
$T_['more_opts'] = 'Más opciones';
|
||||
$T_['check_type'] = 'Tipo de check';
|
||||
//(admin panel)[NEXT 6] Left menu of panel
|
||||
$T_['home'] = 'Inicio';
|
||||
$T_['checks'] = 'Checks';
|
||||
$T_['groups'] = 'Grupos';
|
||||
$T_['news'] = 'Noticias';
|
||||
$T_['settings'] = 'Opciones';
|
||||
$T_['users'] = 'Usuarios';
|
||||
//[NEXT 4]Check texts
|
||||
$T_['PING_IP'] = 'Ping a IP:Puerto';
|
||||
$T_['HTTP_CODE'] = 'Código HTTP';
|
||||
$T_['VISIT_COUNT'] = 'Contador de visitas';
|
||||
$T_['DATABASE'] = 'Conexión a base de datos';
|
||||
$T_['add_grp_to_add_chk'] = 'Añade un grupo para empezar a añadir checks';
|
||||
?>
|
||||
12
assets/translations/help.md
Executable file
12
assets/translations/help.md
Executable file
@@ -0,0 +1,12 @@
|
||||
# ¿How it works?
|
||||
|
||||
It's based in a array ($T_[]), because it pass to Twig as T_.TEXT, for "fast" translating it.
|
||||
In the english.php there are annotations for all, and its the reference for new versions.
|
||||
There is a T_VERSION as define, for knowing version of this translate, changed when new sentences are.
|
||||
|
||||
When help, its only for next line (Unless specified), and is provided with a starting comment like that:
|
||||
'''
|
||||
//(Example twig page with it) Description
|
||||
$T_['internal_name'] = 'Translation';
|
||||
'''
|
||||
Lines before that are not of that help.
|
||||
Reference in New Issue
Block a user