From 85086911c89f456885de4f499d59a434c50fd3f8 Mon Sep 17 00:00:00 2001 From: Sem Date: Sat, 14 Jan 2012 01:14:29 +0100 Subject: Original nnimis' plugin. --- mod/diagnostics/languages/en.php | 71 ++++++++++++++++++++++++++++++++++++++++ mod/diagnostics/languages/es.php | 59 +++++++++++++++++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 mod/diagnostics/languages/en.php create mode 100644 mod/diagnostics/languages/es.php (limited to 'mod/diagnostics') diff --git a/mod/diagnostics/languages/en.php b/mod/diagnostics/languages/en.php new file mode 100644 index 000000000..6d71945e3 --- /dev/null +++ b/mod/diagnostics/languages/en.php @@ -0,0 +1,71 @@ + 'System Diagnostics', + 'diagnostics' => 'System diagnostics', + 'diagnostics:report' => 'Diagnostics Report', + 'diagnostics:unittester' => 'Unit Tests', + + 'diagnostics:description' => 'The following diagnostic report is useful for diagnosing any problems with Elgg, and should be attached to any bug reports you file.', + 'diagnostics:unittester:description' => 'The following are diagnostic tests which are registered by plugins and may be performed in order to debug parts of the Elgg framework.', + + 'diagnostics:unittester:description' => 'Unit tests check Elgg Core for broken or buggy APIs.', + 'diagnostics:unittester:debug' => 'The site must be in debug mode to run unit tests.', + 'diagnostics:unittester:warning' => 'WARNING: These tests can leave behind debugging objects in your database.
DO NOT USE ON A PRODUCTION SITE!', + + 'diagnostics:test:executetest' => 'Execute test', + 'diagnostics:test:executeall' => 'Execute All', + 'diagnostics:unittester:notests' => 'Sorry, there are no unit test modules currently installed.', + 'diagnostics:unittester:testnotfound' => 'Sorry, the report could not be generated because that test was not found', + + 'diagnostics:unittester:testresult:nottestclass' => 'FAIL - Result not a test class', + 'diagnostics:unittester:testresult:fail' => 'FAIL', + 'diagnostics:unittester:testresult:success' => 'SUCCESS', + + 'diagnostics:unittest:example' => 'Example unit test, only available in debug mode.', + + 'diagnostics:unittester:report' => 'Test report for %s', + + 'diagnostics:download' => 'Download', + + + 'diagnostics:header' => '======================================================================== +Elgg Diagnostic Report +Generated %s by %s +======================================================================== + +', + 'diagnostics:report:basic' => ' +Elgg Release %s, version %s + +------------------------------------------------------------------------', + 'diagnostics:report:php' => ' +PHP info: +%s +------------------------------------------------------------------------', + 'diagnostics:report:plugins' => ' +Installed plugins and details: + +%s +------------------------------------------------------------------------', + 'diagnostics:report:md5' => ' +Installed files and checksums: + +%s +------------------------------------------------------------------------', + 'diagnostics:report:globals' => ' +Global variables: + +%s +------------------------------------------------------------------------', + + ); + + add_translation("en",$english); +?> \ No newline at end of file diff --git a/mod/diagnostics/languages/es.php b/mod/diagnostics/languages/es.php new file mode 100644 index 000000000..8b2693931 --- /dev/null +++ b/mod/diagnostics/languages/es.php @@ -0,0 +1,59 @@ + 'Diagnóstico del Sistema', + 'diagnostics' => "Diagnóstico del sistema" , + 'diagnostics:report' => 'Reportes de Diagnósticos', + + 'diagnostics:description' => "El informe de diagnóstico es muy útil para poder resolver cualquier problema de la plataforma. Puedes descargar un log completo y analizarlo. Presiona el botón para obtener un .txt" , + + 'diagnostics:download' => "Descargar .txt" , + 'diagnostics:header' => "======================================================================== +Informe de Diagnóstico de la red social +Generado %s por %s +======================================================================== + +" , + 'diagnostics:report:basic' => " +Distribución de Elgg %s, version %s + +------------------------------------------------------------------------" , + 'diagnostics:report:php' => " +PHP info: +%s +------------------------------------------------------------------------" , + 'diagnostics:report:plugins' => " +Detalles y plugins instalados: + +%s +------------------------------------------------------------------------" , + 'diagnostics:report:md5' => " +Ficheros y checksums instalados: + +%s +------------------------------------------------------------------------" , + 'diagnostics:report:globals' => " +Variables globales: + +%s +------------------------------------------------------------------------" , + 'diagnostics:unittester' => "Test de unidades" , + 'diagnostics:unittester:description' => "Los siguientes tests de diagnostico se utilizan para debuggear determinadas partes del framework de Elgg" , + 'diagnostics:test:executetest' => "Ejecutar test" , + 'diagnostics:test:executeall' => "Ejectuar todo" , + 'diagnostics:unittester:notests' => "Disculpa, no hay modulos para realizar tests instalados" , + 'diagnostics:unittester:testnotfound' => "Disculpa, el informe no puede ser generado porque no ha encontrado ningún test válido." , + 'diagnostics:unittester:testresult:nottestclass' => "FALLO - no se trata de una clase test" , + 'diagnostics:unittester:testresult:fail' => "FALLO" , + 'diagnostics:unittester:testresult:success' => "SUCESO" , + 'diagnostics:unittest:example' => "Ejemplo de unidad test, solo disponible en modo debug" , + 'diagnostics:unittester:report' => "Informe de test para %s" , + 'diagnostics:unittester:debug' => "El sitio debe estar en modo de depuración para ejecutar tests unitarios." , + 'diagnostics:unittester:warning' => "ATENCIÓN: Estos tests pueden dejar tras de sí objetos de depuración en tu base de datos. ¡NO USAR EN UN SITIO EN PRODUCCIÓN!" +); + +add_translation('es', $spanish); + +?> \ No newline at end of file -- cgit v1.2.3