summaryrefslogtreecommitdiff
path: root/sqlbox
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-30 15:21:01 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-30 15:31:19 +0100
commitd071d3d14eea644296ce98ee753b3f2fa5c5c4ec (patch)
tree694a5d8cca481f6d02b50832f1c324693046d521 /sqlbox
parent010306fccd068e34187da3f575b958e1d5542dc4 (diff)
downloadsqltutor-plugin-d071d3d14eea644296ce98ee753b3f2fa5c5c4ec.tar.gz
sqltutor-plugin-d071d3d14eea644296ce98ee753b3f2fa5c5c4ec.tar.bz2
sqltutor-plugin-d071d3d14eea644296ce98ee753b3f2fa5c5c4ec.zip
Translate all frontend texts to german
Diffstat (limited to 'sqlbox')
-rw-r--r--sqlbox/lang/de/sqlbox.php47
-rw-r--r--sqlbox/lang/en/sqlbox.php3
-rw-r--r--sqlbox/report.php2
-rw-r--r--sqlbox/view.php4
4 files changed, 52 insertions, 4 deletions
diff --git a/sqlbox/lang/de/sqlbox.php b/sqlbox/lang/de/sqlbox.php
new file mode 100644
index 0000000..bf10aea
--- /dev/null
+++ b/sqlbox/lang/de/sqlbox.php
@@ -0,0 +1,47 @@
+<?php
+
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+
+/**
+ * English strings for sqlbox
+ *
+ * You can have a rather longer description of the file as well,
+ * if you like, and it can span multiple lines.
+ *
+ * @package mod
+ * @subpackage sqlbox
+ * @copyright 2012 Jan Klemkow, Benjamin Franzke
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die();
+
+$string['modulename'] = 'sqlbox';
+$string['modulenameplural'] = 'sqlboxes';
+$string['modulename_help'] = 'SQLBox ermöglicht das einbinden einer SQL Testbox mit gegebener Fragestellung';
+$string['sqlboxfieldset'] = 'Custom example fieldset';
+$string['sqlboxname'] = 'sqlbox name';
+$string['sqlboxname_help'] = 'This is the content of the help tooltip associated with the sqlboxname field. Markdown syntax is supported.';
+$string['sqlbox'] = 'sqlbox';
+$string['sqlbox:addinstance'] = 'Add a new sqlbox';
+$string['sqlbox:readqueries'] = 'Nutzeranfragen lesen';
+$string['pluginadministration'] = 'sqlbox Administration';
+$string['pluginname'] = 'sqlbox';
+$string['viewresults'] = 'Zeige Resultate';
+$string['viewallresults'] = 'Zeige Resultate aller Benutzer';
+$string['queryfailed'] = 'Anfrage fehlgeschlagen: {$a}';
+$string['dbconnectionfailed'] = 'Fehler: Datenbankverbindung fehlgeschlagen';
diff --git a/sqlbox/lang/en/sqlbox.php b/sqlbox/lang/en/sqlbox.php
index f1b4d9e..09897b2 100644
--- a/sqlbox/lang/en/sqlbox.php
+++ b/sqlbox/lang/en/sqlbox.php
@@ -32,7 +32,7 @@ defined('MOODLE_INTERNAL') || die();
$string['modulename'] = 'sqlbox';
$string['modulenameplural'] = 'sqlboxes';
-$string['modulename_help'] = 'Use the sqlbox module for... | The sqlbox module allows...';
+$string['modulename_help'] = 'The sqlbox module allows to add a SQL test box.';
$string['sqlboxfieldset'] = 'Custom example fieldset';
$string['sqlboxname'] = 'sqlbox name';
$string['sqlboxname_help'] = 'This is the content of the help tooltip associated with the sqlboxname field. Markdown syntax is supported.';
@@ -42,5 +42,6 @@ $string['sqlbox:readqueries'] = 'Read queries done by users';
$string['pluginadministration'] = 'sqlbox administration';
$string['pluginname'] = 'sqlbox';
$string['viewresults'] = 'View Results';
+$string['viewallresults'] = 'View Results from all Users';
$string['queryfailed'] = 'Query failed: {$a}';
$string['dbconnectionfailed'] = 'Error: Database connection failed';
diff --git a/sqlbox/report.php b/sqlbox/report.php
index d67a6a0..02dabef 100644
--- a/sqlbox/report.php
+++ b/sqlbox/report.php
@@ -28,7 +28,7 @@ $PAGE->set_context($context);
echo $OUTPUT->header();
echo '<div class="reportlink">';
-echo "<a href=\"reportall.php?id=$cm->id\">View all results</a>";
+echo "<a href=\"reportall.php?id=$cm->id\">".get_string('viewallresults', 'sqlbox')."</a>";
echo '</div>';
diff --git a/sqlbox/view.php b/sqlbox/view.php
index 47a9de4..3b2b07f 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -116,9 +116,9 @@ if (isset($data->sqlbox_query)) {
if (isset($data->sqlbox_query) || $current) {
if ($correct)
- echo $OUTPUT->heading("Correct!");
+ echo $OUTPUT->heading("Die Anfrage ist korrekt!");
else
- echo $OUTPUT->heading("Incorrect!");
+ echo $OUTPUT->heading("Die Ergebnismenge der Anfrage ist fehlerhaft!");
}
echo $OUTPUT->footer();