From d071d3d14eea644296ce98ee753b3f2fa5c5c4ec Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 30 Jan 2013 15:21:01 +0100 Subject: Translate all frontend texts to german --- sqlbox/lang/de/sqlbox.php | 47 +++++++++++++++++++++++++++++++++++++++++++++++ sqlbox/lang/en/sqlbox.php | 3 ++- sqlbox/report.php | 2 +- sqlbox/view.php | 4 ++-- 4 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 sqlbox/lang/de/sqlbox.php 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 @@ +. + + +/** + * 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 ''; 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(); -- cgit