en.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. return array(
  3. // menu
  4. 'admin:develop_tools' => 'Tools',
  5. 'admin:develop_tools:sandbox' => 'Theme Sandbox',
  6. 'admin:develop_tools:inspect' => 'Inspect',
  7. 'admin:inspect' => 'Inspect',
  8. 'admin:develop_tools:unit_tests' => 'Unit Tests',
  9. 'admin:developers' => 'Developers',
  10. 'admin:developers:settings' => 'Settings',
  11. // settings
  12. 'elgg_dev_tools:settings:explanation' => 'Control your development and debugging settings below. Some of these settings are also available on other admin pages.',
  13. 'developers:label:simple_cache' => 'Use simple cache',
  14. 'developers:help:simple_cache' => 'Turn off this cache when developing. Otherwise, changes to your CSS and JavaScript will be ignored.',
  15. 'developers:label:system_cache' => 'Use system cache',
  16. 'developers:help:system_cache' => 'Turn this off when developing. Otherwise, changes in your plugins will not be registered.',
  17. 'developers:label:debug_level' => "Trace level",
  18. 'developers:help:debug_level' => "This controls the amount of information logged. See elgg_log() for more information.",
  19. 'developers:label:display_errors' => 'Display fatal PHP errors',
  20. 'developers:help:display_errors' => "By default, Elgg's .htaccess file supresses the display of fatal errors.",
  21. 'developers:label:screen_log' => "Log to the screen",
  22. 'developers:help:screen_log' => "This displays elgg_log() and elgg_dump() output and a DB query count.",
  23. 'developers:label:show_strings' => "Show raw translation strings",
  24. 'developers:help:show_strings' => "This displays the translation strings used by elgg_echo().",
  25. 'developers:label:show_modules' => "Show AMD modules loaded in console",
  26. 'developers:help:show_modules' => "Streams loaded modules and values to your JavaScript console.",
  27. 'developers:label:wrap_views' => "Wrap views",
  28. 'developers:help:wrap_views' => "This wraps almost every view with HTML comments. Useful for finding the view creating particular HTML.
  29. This can break non-HTML views in the default viewtype. See developers_wrap_views() for details.",
  30. 'developers:label:log_events' => "Log events and plugin hooks",
  31. 'developers:help:log_events' => "Write events and plugin hooks to the log. Warning: there are many of these per page.",
  32. 'developers:label:show_gear' => "Use %s outside admin area",
  33. 'developers:help:show_gear' => "An icon on the bottom right of the viewport that gives admins access to developer settings and links.",
  34. 'developers:label:submit' => "Save and flush caches",
  35. 'developers:debug:off' => 'Off',
  36. 'developers:debug:error' => 'Error',
  37. 'developers:debug:warning' => 'Warning',
  38. 'developers:debug:notice' => 'Notice',
  39. 'developers:debug:info' => 'Info',
  40. // inspection
  41. 'developers:inspect:help' => 'Inspect configuration of the Elgg framework.',
  42. 'developers:inspect:actions' => 'Actions',
  43. 'developers:inspect:events' => 'Events',
  44. 'developers:inspect:menus' => 'Menus',
  45. 'developers:inspect:pluginhooks' => 'Plugin Hooks',
  46. 'developers:inspect:priority' => 'Priority',
  47. 'developers:inspect:simplecache' => 'Simple Cache',
  48. 'developers:inspect:views' => 'Views',
  49. 'developers:inspect:views:all_filtered' => "<b>Note!</b> All view output is filtered through these Plugin Hooks:",
  50. 'developers:inspect:views:filtered' => "(filtered by plugin hook: %s)",
  51. 'developers:inspect:widgets' => 'Widgets',
  52. 'developers:inspect:webservices' => 'Webservices',
  53. 'developers:inspect:widgets:context' => 'Context',
  54. 'developers:inspect:functions' => 'Functions',
  55. 'developers:inspect:file_location' => 'File path from Elgg root',
  56. // event logging
  57. 'developers:event_log_msg' => "%s: '%s, %s' in %s",
  58. 'developers:log_queries' => "%s DB queries (does not include the shutdown event)",
  59. // theme sandbox
  60. 'theme_sandbox:intro' => 'Introduction',
  61. 'theme_sandbox:breakout' => 'Break out of iframe',
  62. 'theme_sandbox:buttons' => 'Buttons',
  63. 'theme_sandbox:components' => 'Components',
  64. 'theme_sandbox:forms' => 'Forms',
  65. 'theme_sandbox:grid' => 'Grid',
  66. 'theme_sandbox:icons' => 'Icons',
  67. 'theme_sandbox:javascript' => 'JavaScript',
  68. 'theme_sandbox:layouts' => 'Layouts',
  69. 'theme_sandbox:modules' => 'Modules',
  70. 'theme_sandbox:navigation' => 'Navigation',
  71. 'theme_sandbox:typography' => 'Typography',
  72. 'theme_sandbox:icons:blurb' => 'Use <em>elgg_view_icon($name)</em> or the class elgg-icon-$name to display icons.',
  73. // unit tests
  74. 'developers:unit_tests:description' => 'Elgg has unit and integration tests for detecting bugs in its core classes and functions.',
  75. 'developers:unit_tests:warning' => 'Warning: Do Not Run These Tests on a Production Site. They can corrupt your database.',
  76. 'developers:unit_tests:run' => 'Run',
  77. // status messages
  78. 'developers:settings:success' => 'Settings saved and caches flushed',
  79. 'developers:amd' => 'AMD',
  80. );