aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/languages
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 18:35:03 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 18:35:03 +0000
commit116ff3ae92e54c1de9b30344e0417fb87d08175d (patch)
tree789c86df03046eda119fffcc967656721a6a3162 /mod/diagnostics/languages
parentc71cfb0a82b4e2d0a1395ba9d3d96b4f9d6a1ebd (diff)
downloadelgg-116ff3ae92e54c1de9b30344e0417fb87d08175d.tar.gz
elgg-116ff3ae92e54c1de9b30344e0417fb87d08175d.tar.bz2
Closes #232: Produces a basic report plus checksums of all files in md5sum format.
To add extra information to this report add a plugin hook listening to: 'diagnostics:report' And append to $returnvalue which is a simple text buffer. git-svn-id: https://code.elgg.org/elgg/trunk@1863 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics/languages')
-rw-r--r--mod/diagnostics/languages/en.php44
1 files changed, 44 insertions, 0 deletions
diff --git a/mod/diagnostics/languages/en.php b/mod/diagnostics/languages/en.php
new file mode 100644
index 000000000..485a1bab0
--- /dev/null
+++ b/mod/diagnostics/languages/en.php
@@ -0,0 +1,44 @@
+<?php
+ /**
+ * Elgg diagnostics language pack.
+ *
+ * @package ElggDiagnostics
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ $english = array(
+
+ 'diagnostics' => 'System diagnostics',
+
+ '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:download' => 'Download .txt',
+
+
+ 'diagnostics:header' => '========================================================================
+Elgg Diagnostic Report
+Generated %s by %s
+========================================================================
+
+',
+ 'diagnostics:report:basic' => '
+Elgg Release %s, version %s
+
+------------------------------------------------------------------------',
+ 'diagnostics:report:plugins' => '
+Installed plugins and details:
+
+%s
+------------------------------------------------------------------------',
+ 'diagnostics:report:md5' => '
+Installed files and checksums:
+
+%s
+------------------------------------------------------------------------',
+ );
+
+ add_translation("en",$english);
+?> \ No newline at end of file