[Mapbender-commits] r3009 - branches/2.5/http/print
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Sep 26 03:10:59 EDT 2008
Author: astrid_emde
Date: 2008-09-26 03:10:59 -0400 (Fri, 26 Sep 2008)
New Revision: 3009
Modified:
branches/2.5/http/print/mod_printPDF.php
Log:
changes converning i18n
Modified: branches/2.5/http/print/mod_printPDF.php
===================================================================
--- branches/2.5/http/print/mod_printPDF.php 2008-09-26 06:55:30 UTC (rev 3008)
+++ branches/2.5/http/print/mod_printPDF.php 2008-09-26 07:10:59 UTC (rev 3009)
@@ -304,7 +304,7 @@
document.form1.submit();
}
else{
- alert("<?php echo _("No format selected!")?>");
+ alert("<?php echo _mb("No format selected")."!"?>");
}
}
@@ -355,7 +355,7 @@
ini_set("display_errors","on");
for($i = 1; $i <= 2; $i++) {
$max_comment_length = ${"comment".$i."_length"};
- $label_hint = ($max_comment_length > -1) ? sprintf(" <em>(max. %s)</em>",$max_comment_length) : NULL;
+ $label_hint = ($max_comment_length > -1) ? sprintf(" <em>"._mb("max.")." %s)</em>",$max_comment_length) : NULL;
$javascript = ($max_comment_length > -1) ? sprintf(" onblur=\"checkCommentLength(this,%s)\"",$max_comment_length) : NULL;
$html = sprintf("<p id=\"container_comment%s\">",$i);
@@ -397,4 +397,4 @@
</form>
</body>
-</html>
\ No newline at end of file
+</html>
More information about the Mapbender_commits
mailing list