diff --git a/admin/admin_template/default/function.php b/admin/admin_template/default/function.php
index 1e7c140d..ca88784e 100644
--- a/admin/admin_template/default/function.php
+++ b/admin/admin_template/default/function.php
@@ -74,7 +74,7 @@ function main_menu()
}
}
}
- $_menu .= '
';
+ $_menu .= '';
$_menu .= '';
echo $_menu;
}
diff --git a/admin/index.php b/admin/index.php
index 47d87c77..f1a1fcad 100755
--- a/admin/index.php
+++ b/admin/index.php
@@ -41,7 +41,7 @@
}
// page title
-$page_title = $sysconf['library_name'].' :: Library Automation System';
+$page_title = $sysconf['library_name'].' :: '.__('Library Automation System');
// main menu
$module = new module();
$module->setModulesDir(MDLBS);
diff --git a/admin/modules/bibliography/z3950.php b/admin/modules/bibliography/z3950.php
index c66c1b13..636a7c80 100755
--- a/admin/modules/bibliography/z3950.php
+++ b/admin/modules/bibliography/z3950.php
@@ -47,10 +47,10 @@
}
if (!extension_loaded('yaz')) {
- die('YAZ extension library is not loaded/installed yet. '
+ die('
'.__('YAZ extension library is not loaded/installed yet. '
.'YAZ library is needed to use z3950 enabled service. '
.'Please refer to official
YAZ PHP Manual'
- .' on how to setup/install YAZ extension library in PHP.
');
+ .' on how to setup/install YAZ extension library in PHP.').'
');
}
if (isset($_GET['z3950_source'])) {
@@ -167,7 +167,7 @@
}
// destroy result Z3950 session
unset($_SESSION['z3950result']);
- utility::jsAlert($r.' records inserted to database.');
+ utility::jsAlert(str_replace('{recordCount}', $r, __('{recordCount} records inserted into the database.')));
echo '';
exit();
}
@@ -227,7 +227,7 @@
// echo htmlentities($xml_result_string);
if ($hits > 0) {
- echo 'Found '.$hits.' records from Z3950 Server, '.$sysconf['z3950_max_result'].' listed.
';
+ echo '' . str_replace(array('{hits}', '{maxHits}'),array($hits, $sysconf['z3950_max_result']),__('Found {hits} records from Z3950 Server, {maxHits} listed.')) . '
';
// parse XML
$xmlrec = marcXMLsenayan($xml_result_string);
// save it to session vars for retrieving later
@@ -236,7 +236,7 @@
echo '