aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/languages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/developers/languages')
-rw-r--r--mod/developers/languages/en.php69
-rw-r--r--mod/developers/languages/es.php60
2 files changed, 69 insertions, 60 deletions
diff --git a/mod/developers/languages/en.php b/mod/developers/languages/en.php
new file mode 100644
index 000000000..266b5406e
--- /dev/null
+++ b/mod/developers/languages/en.php
@@ -0,0 +1,69 @@
+<?php
+/**
+ * Elgg developer tools English language file.
+ *
+ */
+
+$english = array(
+ // menu
+ 'admin:develop_tools' => 'Tools',
+ 'admin:develop_tools:preview' => 'Theming Sandbox',
+ 'admin:develop_tools:inspect' => 'Inspect',
+ 'admin:develop_tools:unit_tests' => 'Unit Tests',
+ 'admin:developers' => 'Developers',
+ 'admin:developers:settings' => 'Settings',
+
+ // settings
+ 'elgg_dev_tools:settings:explanation' => 'Control your development and debugging settings below. Some of these settings are also available on other admin pages.',
+ 'developers:label:simple_cache' => 'Use simple cache',
+ 'developers:help:simple_cache' => 'Turn off this cache when developing. Otherwise, changes to your CSS and JavaScript will be ignored.',
+ 'developers:label:system_cache' => 'Use system cache',
+ 'developers:help:system_cache' => 'Turn this off when developing. Otherwise, changes in your plugins will not be registered.',
+ 'developers:label:debug_level' => "Trace level",
+ 'developers:help:debug_level' => "This controls the amount of information logged. See elgg_log() for more information.",
+ 'developers:label:display_errors' => 'Display fatal PHP errors',
+ 'developers:help:display_errors' => "By default, Elgg's .htaccess file supresses the display of fatal errors.",
+ 'developers:label:screen_log' => "Log to the screen",
+ 'developers:help:screen_log' => "This displays elgg_log() and elgg_dump() output on the web page.",
+ 'developers:label:show_strings' => "Show raw translation strings",
+ 'developers:help:show_strings' => "This displays the translation strings used by elgg_echo().",
+ 'developers:label:wrap_views' => "Wrap views",
+ 'developers:help:wrap_views' => "This wraps almost every view with HTML comments. Useful for finding the view creating particular HTML.
+ This can break non-HTML views in the default viewtype. See developers_wrap_views() for details.",
+ 'developers:label:log_events' => "Log events and plugin hooks",
+ 'developers:help:log_events' => "Write events and plugin hooks to the log. Warning: there are many of these per page.",
+
+ 'developers:debug:off' => 'Off',
+ 'developers:debug:error' => 'Error',
+ 'developers:debug:warning' => 'Warning',
+ 'developers:debug:notice' => 'Notice',
+
+ // inspection
+ 'developers:inspect:help' => 'Inspect configuration of the Elgg framework.',
+
+ // event logging
+ 'developers:event_log_msg' => "%s: '%s, %s' in %s",
+
+ // theme preview
+ 'theme_preview:general' => 'Introduction',
+ 'theme_preview:breakout' => 'Break out of iframe',
+ 'theme_preview:buttons' => 'Buttons',
+ 'theme_preview:components' => 'Components',
+ 'theme_preview:forms' => 'Forms',
+ 'theme_preview:grid' => 'Grid',
+ 'theme_preview:icons' => 'Icons',
+ 'theme_preview:modules' => 'Modules',
+ 'theme_preview:navigation' => 'Navigation',
+ 'theme_preview:typography' => 'Typography',
+ 'theme_preview:miscellaneous' => 'Miscellaneous',
+
+ // unit tests
+ 'developers:unit_tests:description' => 'Elgg has unit and integration tests for detecting bugs in its core classes and functions.',
+ 'developers:unit_tests:warning' => 'Warning: Do Not Run These Tests on a Production Site. They can corrupt your database.',
+ 'developers:unit_tests:run' => 'Run',
+
+ // status messages
+ 'developers:settings:success' => 'Settings saved',
+);
+
+add_translation('en', $english);
diff --git a/mod/developers/languages/es.php b/mod/developers/languages/es.php
deleted file mode 100644
index 7a5f20cc7..000000000
--- a/mod/developers/languages/es.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-/**
- * Elgg developer tools English language file.
- *
- */
-
-$spanish = array(
- // menu
- 'admin:developers' => 'Desarrolladores',
- 'admin:developers:settings' => 'Configuraci&oacute;n de Desarrolladores',
- 'admin:developers:preview' => 'Previsualizaci&oacute;n de Temas',
- 'admin:developers:inspect' => 'Inspecci&oacute;n',
-
- // settings
- 'elgg_dev_tools:settings:explanation' => 'Controle su configuraci&oacute;n de desarrollo y depuraci&oacute;n. Algunas de estas opciones tambi&eacute;n se encuentran disponibles en otras secciones de la administraci&oacute;n.',
- 'developers:label:simple_cache' => 'Utilizar cache simple',
- 'developers:help:simple_cache' => 'Deshabilitar la cache mientras se desarrolla. De otro modo, las modificaciones a las views (incluyendo los css) ser&aacute;n ignoradas.',
- 'developers:label:view_path_cache' => 'Utilizar cache de paths de views',
- 'developers:help:view_path_cache' => 'Deshabilitar mientras se desarrolla. De otro modo, las nuevas vistas en sus plugins no se registrar&aacute;n.',
- 'developers:label:debug_level' => "Nivel de monitoreo",
- 'developers:help:debug_level' => "Esto controla la cantidad de informaci&oacute;n que se registra. Vea elgg_log() para m&aacute;s informaci&oacute;n.",
- 'developers:label:display_errors' => 'Mostrar errores fatales de PHP',
- 'developers:help:display_errors' => "Por defecto, el archivo .htaccess de Elgg deshabilita la visualizaci&oacute;n de errores fatales.",
- 'developers:label:screen_log' => "Registrar en pantalla",
- 'developers:help:screen_log' => "Esto muestra las salidas de elgg_log() y elgg_dump() en la p&aacute;gina.",
- 'developers:label:show_strings' => "Mostrar strings de traducciones extra&ntilde;as",
- 'developers:help:show_strings' => "Esto muestra las traducciones utilizadas por elgg_echo().",
- 'developers:label:wrap_views' => "Wrap de vistas",
- 'developers:help:wrap_views' => "Esto atrapa casi toda la vista con comentarios HTML. Util para encontrar la vista en particular que genera un HTML.",
- 'developers:label:log_events' => "Eventos de Logs y Hooks de plugins",
- 'developers:help:log_events' => "Escribir eventos y hooks de plugins en el log. Precauci&oacute;n: hay varios de estos por p&aacute;gina.",
-
- 'developers:debug:off' => 'Apagado',
- 'developers:debug:error' => 'Error',
- 'developers:debug:warning' => 'Precauci&oacute;n',
- 'developers:debug:notice' => 'Informaci&oacute;n',
-
- // inspection
- 'developers:inspect:help' => 'Inspecci&oacute;n de configuration del framework Elgg.',
-
- // event logging
- 'developers:event_log_msg' => "%s: '%s, %s' en %s",
-
- // theme preview
- 'theme_preview:general' => 'Introducci&oacute;n',
- 'theme_preview:breakout' => 'Fuera de iframe',
- 'theme_preview:buttons' => 'Botones',
- 'theme_preview:components' => 'Componentes',
- 'theme_preview:forms' => 'Formularios',
- 'theme_preview:grid' => 'Grilla',
- 'theme_preview:icons' => 'Iconos',
- 'theme_preview:modules' => 'M&oacute;dulos',
- 'theme_preview:navigation' => 'Navegaci&oacute;n',
- 'theme_preview:typography' => 'Tipograf&iacute;as',
-
- // status messages
- 'developers:settings:success' => 'Configuraciones almacenadas',
-);
-
-add_translation('es', $spanish);