diff options
Diffstat (limited to 'mod/developers')
-rw-r--r-- | mod/developers/languages/en.php | 60 | ||||
-rw-r--r-- | mod/developers/languages/es.php | 60 |
2 files changed, 120 insertions, 0 deletions
diff --git a/mod/developers/languages/en.php b/mod/developers/languages/en.php new file mode 100644 index 000000000..42df52134 --- /dev/null +++ b/mod/developers/languages/en.php @@ -0,0 +1,60 @@ +<?php +/** + * Elgg developer tools English language file. + * + */ + +$english = array( + // menu + 'admin:developers' => 'Developers', + 'admin:developers:settings' => 'Developer Settings', + 'admin:developers:preview' => 'Theming Preview', + 'admin:developers:inspect' => 'Inspect', + + // 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 the file cache when developing. Otherwise, changes to your views (including css) will be ignored.', + 'developers:label:view_path_cache' => 'Use view path cache', + 'developers:help:view_path_cache' => 'Turn this off when developing. Otherwise, new views 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.", + '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', + + // 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 new file mode 100644 index 000000000..7a5f20cc7 --- /dev/null +++ b/mod/developers/languages/es.php @@ -0,0 +1,60 @@ +<?php +/** + * Elgg developer tools English language file. + * + */ + +$spanish = array( + // menu + 'admin:developers' => 'Desarrolladores', + 'admin:developers:settings' => 'Configuración de Desarrolladores', + 'admin:developers:preview' => 'Previsualización de Temas', + 'admin:developers:inspect' => 'Inspección', + + // settings + 'elgg_dev_tools:settings:explanation' => 'Controle su configuración de desarrollo y depuración. Algunas de estas opciones también se encuentran disponibles en otras secciones de la administració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á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án.', + 'developers:label:debug_level' => "Nivel de monitoreo", + 'developers:help:debug_level' => "Esto controla la cantidad de información que se registra. Vea elgg_log() para más información.", + 'developers:label:display_errors' => 'Mostrar errores fatales de PHP', + 'developers:help:display_errors' => "Por defecto, el archivo .htaccess de Elgg deshabilita la visualizació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ágina.", + 'developers:label:show_strings' => "Mostrar strings de traducciones extrañ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ón: hay varios de estos por página.", + + 'developers:debug:off' => 'Apagado', + 'developers:debug:error' => 'Error', + 'developers:debug:warning' => 'Precaución', + 'developers:debug:notice' => 'Información', + + // inspection + 'developers:inspect:help' => 'Inspección de configuration del framework Elgg.', + + // event logging + 'developers:event_log_msg' => "%s: '%s, %s' en %s", + + // theme preview + 'theme_preview:general' => 'Introducció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ódulos', + 'theme_preview:navigation' => 'Navegación', + 'theme_preview:typography' => 'Tipografías', + + // status messages + 'developers:settings:success' => 'Configuraciones almacenadas', +); + +add_translation('es', $spanish); |