[Mapbender-commits] r4393 - branches/2.6/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 20 08:50:22 EDT 2009


Author: vschulze
Date: 2009-07-20 08:50:22 -0400 (Mon, 20 Jul 2009)
New Revision: 4393

Modified:
   branches/2.6/http/print/mod_printPDF.php
   branches/2.6/http/print/printPDF.conf
   branches/2.6/http/print/printPDF_b.conf
Log:
I18n: Bei date, notes und comment das ":" weg

Modified: branches/2.6/http/print/mod_printPDF.php
===================================================================
--- branches/2.6/http/print/mod_printPDF.php	2009-07-20 12:33:08 UTC (rev 4392)
+++ branches/2.6/http/print/mod_printPDF.php	2009-07-20 12:50:22 UTC (rev 4393)
@@ -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>"._mb("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);

Modified: branches/2.6/http/print/printPDF.conf
===================================================================
--- branches/2.6/http/print/printPDF.conf	2009-07-20 12:33:08 UTC (rev 4392)
+++ branches/2.6/http/print/printPDF.conf	2009-07-20 12:50:22 UTC (rev 4393)
@@ -48,9 +48,9 @@
 $text2 = "- Mapbender -";
 $text3 = "";
 $text4 = $admin->char_decode(_mb("Scale 1:")). " ".$_REQUEST["map_scale"];
-$text5 = $admin->char_decode(_mb("Date:")) . " ".date("d.m.Y",strtotime("now"));
+$text5 = $admin->char_decode(_mb("Date")) . ": ".date("d.m.Y",strtotime("now"));
 
-$text6 = $admin->char_decode(_mb("Notes:"));
+$text6 = $admin->char_decode(_mb("Notes")).":";
 $text7 = "";
 $text8 = $new_comment1;
 $text9 = $new_comment2;
@@ -85,8 +85,8 @@
 $label_72dpi = "72 dpi";
 $label_288dpi = "288 dpi";
 
-$label_comment1 = _mb("Comment 1:");
-$label_comment2 = _mb("Comment 2:");
+$label_comment1 = _mb("Comment")." 1";
+$label_comment2 = _mb("Comment")." 2";
 $comment1_length = 30;
 $comment2_length = 30;
 

Modified: branches/2.6/http/print/printPDF_b.conf
===================================================================
--- branches/2.6/http/print/printPDF_b.conf	2009-07-20 12:33:08 UTC (rev 4392)
+++ branches/2.6/http/print/printPDF_b.conf	2009-07-20 12:50:22 UTC (rev 4393)
@@ -48,9 +48,9 @@
 $text2 = "- Mapbender -";
 $text3 = "";
 $text4 = $admin->char_decode(_mb("Scale 1:")). " ".$_REQUEST["map_scale"];
-$text5 = $admin->char_decode(_mb("Date:")) . " ".date("d.m.Y",strtotime("now"));
+$text5 = $admin->char_decode(_mb("Date")) . ": ".date("d.m.Y",strtotime("now"));
 
-$text6 = $admin->char_decode(_mb("Notes:"));
+$text6 = $admin->char_decode(_mb("Notes")).":";
 $text7 = "";
 $text8 = $new_comment1;
 $text9 = $new_comment2;
@@ -84,8 +84,8 @@
 $label_72dpi = sprintf(_mb("Quality: %d dpi"), 72);
 $label_288dpi = sprintf(_mb("Quality: %d dpi"), 288);
 
-$label_comment1 = "Comment 1";
-$label_comment2 = "Comment 2";
+$label_comment1 = _mb("Comment")." 1";
+$label_comment2 = _mb("Comment")." 2";
 $comment1_length = 30;
 $comment2_length = 30;
 



More information about the Mapbender_commits mailing list