diff --git a/admin/schools.php b/admin/schools.php
index bde56df..3259cdf 100644
--- a/admin/schools.php
+++ b/admin/schools.php
@@ -217,24 +217,24 @@
}
echo "
";
- echo "Add New School\n";
+ echo "".i18n("Add new school")."\n";
echo "
";
- echo "Import Schools from CSV\n";
+ echo "".i18n("Import schools from CSV")."\n";
echo "
";
- echo "Create Access Code for any school without one\n";
+ echo "".i18n("Create Access Code for any school without one")."\n";
echo "
";
- echo "Remove Access Codes from all schools\n";
+ echo "".i18n("Remove Access Codes from all schools")."\n";
echo "
";
echo "
School | "; - echo "Address | "; - echo "Phone | "; - echo "Contact | "; + echo "".i18n("School")." | "; + echo "".i18n("Address")." | "; + echo "".i18n("Phone")." | "; + echo "".i18n("Contact")." | "; if($config['participant_registration_type']=="schoolpassword") - echo "Reg Pass | "; - echo "Access Code | "; - echo "Action | "; + echo "".i18n("Reg Pass")." | "; + echo "".i18n("Access Code")." | "; + echo "".i18n("Action")." | "; echo "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
"; if($r->cat==$category) - echo "$r->cat"; + echo "".i18n($r->cat).""; else - echo "cat)."\">$r->cat"; + echo "cat)."\">".i18n($r->cat).""; echo " | "; echo "|||||||||||||
{$var[$k]['desc']} | "); + print("".i18n($var[$k]['desc'])." | "); print("");
$val = htmlspecialchars($var[$k]['val']);
@@ -233,9 +233,9 @@ function config_editor($category, $year, $array_name, $self)
case "yesno":
print("");
break;
case "enum":
@@ -273,7 +273,7 @@ function config_editor($category, $year, $array_name, $self)
if($e_val == "") $e_val = $e_key;
$sel = in_array($e_key, $val) ? 'selected=selected' : '';
- print("");
+ print("");
}
print("");
break;
@@ -302,7 +302,7 @@ function config_editor($category, $year, $array_name, $self)
$ch = (in_array($e_key, $val)) ? 'checked="checked"' : '';
print("");
- print("$e_val "); + print(i18n($e_val)." "); } if($c > 5) print(" |