Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.3
-
Fix Version/s: None
-
Component/s: Block: Mrbs
-
Labels:None
-
Environment:Moodle4Mac
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
Hi Anthony,
I found that there is missing a string in the language files so it cant be translated.
Look into the file blocks/mrbs/web/edit_entry.php and go to line 147 .... sorry if it's not the absolute correct number
- It is a new booking. The data comes from whichever button the user clicked
$edit_type = "series";
$name = getUserName();
$create_by = getUserName();
$description = get_string('description','block_mrbs'); // <---------- Ralf Krause 20081202
$start_day = $day;
$start_month = $month;
$start_year = $year;
I changed this code line because I wanted to change the preloaded static string "Class" in the german language file.
You have to add the $string['description'] also in the other language files.
$string['description'] = 'Usage'; // en_utf8
$string['description'] = 'Nutzung'; // de_utf8
$string['description'] = 'Utilisation '; //fr_utf8
Best regards, Ralf
Perhaps the string must have a different name ... you are using the string 'description' from Moodle inside your code.