[Mapbender-commits] r5585 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Feb 20 15:20:06 EST 2010
Author: astrid_emde
Date: 2010-02-20 15:20:06 -0500 (Sat, 20 Feb 2010)
New Revision: 5585
Modified:
trunk/mapbender/http/javascripts/mod_searchCSW_ajax.php
Log:
i18n improvements
Modified: trunk/mapbender/http/javascripts/mod_searchCSW_ajax.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_searchCSW_ajax.php 2010-02-20 20:19:01 UTC (rev 5584)
+++ trunk/mapbender/http/javascripts/mod_searchCSW_ajax.php 2010-02-20 20:20:06 UTC (rev 5585)
@@ -28,7 +28,7 @@
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<?php printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=%s\" />",CHARSET); ?>
- <title>Search Catalog</title>
+ <title><?php echo _mb("Search Catalog"); ?></title>
<style type="text/css">
<!--
div.form-container form { padding: 5px; background-color: #FFF; border: #EEE 1px solid; background-color: #FbFbFb; }
@@ -99,10 +99,10 @@
global_is_advanced = true;
var html = '';
html = html + "<fieldset>";
- html = html + "<input type='button' value='--Advanced' onclick=hide_advanced_form() />";
+ html = html + "<input type='button' value='<?php echo _mb("- Advanced"); ?>' onclick=hide_advanced_form() />";
html = html + "</fieldset>";
html = html + "<fieldset>";
- html = html + "<legend>Advanced Search</legend>";
+ html = html + "<legend><?php echo _mb("Advanced Search"); ?></legend>";
html = html + "<fieldset id='cont_adv_summary'>";
html = html + "<label for='adv_title'><?php echo _mb('Title '); ?>:</label>";
html = html + "<input type='text' id='adv_title' name='adv_title' /> <br /><br />";
@@ -151,12 +151,12 @@
function show_options_form(){
var html = '';
html = html + "<fieldset>";
- html = html + "<input type='button' value='- Options' onclick=hide_options_form() />";
+ html = html + "<input type='button' value='<?php echo _mb("- Options"); ?>' onclick=hide_options_form() />";
html = html + "</fieldset>";
html = html + "<fieldset>";
html = html + "<legend>Search Options</legend>";
html = html + "<fieldset id='cont_options'>";
- html = html + "<label for='opt_result_cont'><?php echo _mb('No. of Hits'); ?>:</label>";
+ html = html + "<label for='opt_result_cont'><?php echo _mb('Number of Hits'); ?>:</label>";
html = html + "<input type='text' id='opt_result_cont' name='opt_result_cont' /> <br /><br />";
html = html + "<label for='opt_getrecords_media'><?php echo _mb('Getrecords Medium'); ?>:</label>";
html = html + "<select id='opt_getrecords_media' name='opt_getrecords_media'>";
@@ -168,8 +168,8 @@
html = html + "<label for='opt_getrecords_query'><?php echo _mb('Query Language'); ?>:</label>";
html = html + "<select id='opt_getrecords_query' name='opt_getrecords_query'>";
- html = html + "<option value='cql'>CQL</option>";
- html = html + "<option value='filter'>Filter</option>";
+ html = html + "<option value='cql'><?php echo _mb("CQL"); ?></option>";
+ html = html + "<option value='filter'><?php echo _mb("Filter"); ?></option>";
html = html + "</select>";
html = html + "<br /><br />";
@@ -467,7 +467,7 @@
</head>
<body onLoad="imageOff();">
-<h1><?php echo _mb("Catalog Service for Web Client"); ?></h1>
+<h1><?php echo _mb("Catalog Search"); ?></h1>
<div class='note'>
<?php echo _mb("Do a Basic or Advanced Search of Catalogs in the system. Please visit the Catalog Admin to add a Catalog"); ?>
</div>
@@ -475,7 +475,7 @@
<div class="form-container">
<form id="capabilitiesForm" name="addURLForm" method="post" action="">
<fieldset id="container_capabilities">
- <legend>Capabilities</legend>
+ <legend><?php echo _mb("Capabilities"); ?></legend>
<p>
<label for="basic_search"><?php echo _mb("Search for "); ?>:</label>
<input type="text" id="basic_search" name="basic_search" />
@@ -523,4 +523,4 @@
</table>
</body>
-</html>
\ No newline at end of file
+</html>
More information about the Mapbender_commits
mailing list