Permalink
Browse files

Added language support

  • Loading branch information...
1 parent a8c0abb commit 902142c0793c090d682d20c3e7d1dd224ecb4db5 stronk7 committed Jul 28, 2003
@@ -54,7 +54,7 @@ function assignment_restore_mods($mod,$restore) {
$newid = insert_record ("assignment",$assignment);
//Do some output
- echo "<ul><li>Assignment \"".$assignment->name."\"<br>";
+ echo "<ul><li>".get_string("modulename","assignment")." \"".$assignment->name."\"<br>";
backup_flush(300);
if ($newid) {
@@ -56,7 +56,7 @@ function choice_restore_mods($mod,$restore) {
$newid = insert_record ("choice",$choice);
//Do some output
- echo "<ul><li>Choice \"".$choice->name."\"<br>";
+ echo "<ul><li>".get_string("modulename","choice")." \"".$choice->name."\"<br>";
backup_flush(300);
if ($newid) {
View
@@ -61,7 +61,7 @@ function forum_restore_mods($mod,$restore) {
$newid = insert_record ("forum",$forum);
//Do some output
- echo "<ul><li>Forum \"".$forum->name."\"<br>";
+ echo "<ul><li>".get_string("modulename","forum")." \"".$forum->name."\"<br>";
backup_flush(300);
if ($newid) {
@@ -50,7 +50,7 @@ function journal_restore_mods($mod,$restore) {
$newid = insert_record ("journal",$journal);
//Do some output
- echo "<ul><li>Journal \"".$journal->name."\"<br>";
+ echo "<ul><li>".get_string("modulename","journal")." \"".$journal->name."\"<br>";
backup_flush(300);
if ($newid) {
View
@@ -685,7 +685,7 @@ function quiz_restore_mods($mod,$restore) {
$newid = insert_record ("quiz",$quiz);
//Do some output
- echo "<ul><li>Quiz \"".$quiz->name."\"<br>";
+ echo "<ul><li>".get_string("modulename","quiz")." \"".$quiz->name."\"<br>";
backup_flush(300);
if ($newid) {
@@ -46,7 +46,7 @@ function resource_restore_mods($mod,$restore) {
$newid = insert_record ("resource",$resource);
//Do some output
- echo "<ul><li>Resource \"".$resource->name."\"<br>";
+ echo "<ul><li>".get_string("modulename","resource")." \"".$resource->name."\"<br>";
backup_flush(300);
if ($newid) {
@@ -53,7 +53,7 @@ function survey_restore_mods($mod,$restore) {
$newid = insert_record ("survey",$survey);
//Do some output
- echo "<ul><li>Survey \"".$survey->name."\"<br>";
+ echo "<ul><li>".get_string("modulename","survey")." \"".$survey->name."\"<br>";
backup_flush(300);
if ($newid) {

0 comments on commit 902142c

Please sign in to comment.