Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added language support

  • Loading branch information...
commit 902142c0793c090d682d20c3e7d1dd224ecb4db5 1 parent a8c0abb
authored July 28, 2003
2  mod/assignment/restorelib.php
@@ -54,7 +54,7 @@ function assignment_restore_mods($mod,$restore) {
54 54
             $newid = insert_record ("assignment",$assignment);
55 55
 
56 56
             //Do some output     
57  
-            echo "<ul><li>Assignment \"".$assignment->name."\"<br>";
  57
+            echo "<ul><li>".get_string("modulename","assignment")." \"".$assignment->name."\"<br>";
58 58
             backup_flush(300);
59 59
 
60 60
             if ($newid) {
2  mod/choice/restorelib.php
@@ -56,7 +56,7 @@ function choice_restore_mods($mod,$restore) {
56 56
             $newid = insert_record ("choice",$choice);
57 57
 
58 58
             //Do some output     
59  
-            echo "<ul><li>Choice \"".$choice->name."\"<br>";
  59
+            echo "<ul><li>".get_string("modulename","choice")." \"".$choice->name."\"<br>";
60 60
             backup_flush(300);
61 61
 
62 62
             if ($newid) {
2  mod/forum/restorelib.php
@@ -61,7 +61,7 @@ function forum_restore_mods($mod,$restore) {
61 61
             $newid = insert_record ("forum",$forum);
62 62
 
63 63
             //Do some output
64  
-            echo "<ul><li>Forum \"".$forum->name."\"<br>";
  64
+            echo "<ul><li>".get_string("modulename","forum")." \"".$forum->name."\"<br>";
65 65
             backup_flush(300);
66 66
 
67 67
             if ($newid) {
2  mod/journal/restorelib.php
@@ -50,7 +50,7 @@ function journal_restore_mods($mod,$restore) {
50 50
             $newid = insert_record ("journal",$journal);
51 51
 
52 52
             //Do some output
53  
-            echo "<ul><li>Journal \"".$journal->name."\"<br>";
  53
+            echo "<ul><li>".get_string("modulename","journal")." \"".$journal->name."\"<br>";
54 54
             backup_flush(300);
55 55
 
56 56
             if ($newid) {
2  mod/quiz/restorelib.php
@@ -685,7 +685,7 @@ function quiz_restore_mods($mod,$restore) {
685 685
             $newid = insert_record ("quiz",$quiz);
686 686
 
687 687
             //Do some output
688  
-            echo "<ul><li>Quiz \"".$quiz->name."\"<br>";
  688
+            echo "<ul><li>".get_string("modulename","quiz")." \"".$quiz->name."\"<br>";
689 689
             backup_flush(300);
690 690
 
691 691
             if ($newid) {
2  mod/resource/restorelib.php
@@ -46,7 +46,7 @@ function resource_restore_mods($mod,$restore) {
46 46
             $newid = insert_record ("resource",$resource);
47 47
 
48 48
             //Do some output     
49  
-            echo "<ul><li>Resource \"".$resource->name."\"<br>";
  49
+            echo "<ul><li>".get_string("modulename","resource")." \"".$resource->name."\"<br>";
50 50
             backup_flush(300);
51 51
 
52 52
             if ($newid) {
2  mod/survey/restorelib.php
@@ -53,7 +53,7 @@ function survey_restore_mods($mod,$restore) {
53 53
             $newid = insert_record ("survey",$survey);
54 54
 
55 55
             //Do some output
56  
-            echo "<ul><li>Survey \"".$survey->name."\"<br>";
  56
+            echo "<ul><li>".get_string("modulename","survey")." \"".$survey->name."\"<br>";
57 57
             backup_flush(300);
58 58
 
59 59
             if ($newid) {

0 notes on commit 902142c

Please sign in to comment.
Something went wrong with that request. Please try again.