[Mapbender-commits] r2594 - branches/2.5/http/print
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jul 7 09:57:02 EDT 2008
Author: astrid_emde
Date: 2008-07-07 09:57:02 -0400 (Mon, 07 Jul 2008)
New Revision: 2594
Modified:
branches/2.5/http/print/printPDF_b.conf
Log:
i18nized - copied from printPDF.conf
Modified: branches/2.5/http/print/printPDF_b.conf
===================================================================
--- branches/2.5/http/print/printPDF_b.conf 2008-07-07 13:11:27 UTC (rev 2593)
+++ branches/2.5/http/print/printPDF_b.conf 2008-07-07 13:57:02 UTC (rev 2594)
@@ -9,7 +9,7 @@
*/
$download = true;
$downloadFile = TMPDIR."/map_".substr(md5(uniqid(rand())),0,7).".pdf";
-$downloadText = "Download: Karte als PDF...";
+$downloadText = _("Download: Map as PDF...");
/*
*run print as iframe or window
@@ -22,11 +22,11 @@
* Legend
*/
$legend=true;
-$label_legend = 'print legend';
+$label_legend = _('print legend');
$legendFilename = TMPDIR."/legend_".substr(md5(uniqid(rand())),0,7).".png";
$legendFilenameUserPolygon = TMPDIR."/legend_".substr(md5(uniqid(rand())),0,7).".png";
-$legendText = "Legende";
-$legendFooter = "powered by Mapbender";
+$legendText = _("Legend");
+$legendFooter = _("powered by Mapbender");
$legendImage = "./img/mapbender_logo.png";
$legendImage_width = 90;
$legendImage_height = 13;
@@ -48,50 +48,50 @@
$new_comment2 = $_REQUEST["comment2"];
}
-$text1 = "Druckansicht";
+$text1 = _("Print preview");
$text2 = "- Mapbender -";
$text3 = "";
-$text4 = "Maßstab 1 : " . $_REQUEST["map_scale"];
-$text5 = "Datum: " . date("d.m.Y",strtotime("now"));;
+$text4 = _("Scale 1:"). " ".$_REQUEST["map_scale"];
+$text5 = _("Date:") . " ".date("d.m.Y",strtotime("now"));
-$text6 = "Notizen:";
+$text6 = _("Notes:");
$text7 = "";
$text8 = $new_comment1;
$text9 = $new_comment2;
$text10 = "";
-$text11 = "Der Auszug ist maschinell erzeugt, er ist ohne Unterschrift gültig.";
-$text12 = "Dieser Auszug ist gesetzlich geschützt (§ 3 Abs. 1 VermKatG NW). Vervielfältigungen, Umarbeitungen, Veröffentlichungen oder die Weitergabe an Dritte nur mit Zustimmung des";
-$text13 = "Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen zur innerdienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch.";
+$text11 = _("This copy has been automatically generated and is thus not valid without signature.");
+$text12 = _("This copy is protected by law (Par. 3 Abs. 1 VermKatG NW). It can be duplicaedted, modified, published or be passed to third parties only in agreement with");
+$text13 = _("the publisher, except duplicates and modifications aimed at internal use of government agencies or private use.");
-$text14 = "Dieser Auszug ist gesetzlich geschützt (§ 3 Abs. 1 VermKatG NW). Vervielfältigungen,";
-$text15 = "Umarbeitungen, Veröffentlichungen oder die Weitergabe an Dritte nur mit Zustimmung";
-$text16 = "des Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen zur inner-";
-$text17 = "dienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch.";
+$text14 = _("This copy is protected,");
+$text15 = _("ask me!!!!");
+$text16 = _("or the publisher");
+$text17 = _("or use is internally.");
/*
* Labeling for buttons, textfields ...
*/
-$label_format = "Format:";
+$label_format = _("Format:");
$label_format_a4 = "A4";
$label_format_a3 = "A3";
$label_format_a2 = "A2";
$label_format_a1 = "A1";
$label_format_a0 = "A0";
-$label_orientation = "Orientation: ";
-$label_portrait = "portrait";
-$label_landscape = "landscape";
+$label_orientation = _("Orientation:");
+$label_portrait = _("portrait");
+$label_landscape = _("landscape");
-$label_72dpi = "Quality: 72 dpi";
-$label_288dpi = "Quality: 288 dpi";
+$label_72dpi = sprintf(_("Quality: %d dpi"), 72);
+$label_288dpi = sprintf(_("Quality: %d dpi"), 288);
-$label_comment = "Comment (max. 30)";
+$label_comment = _("Comment (max. 30)");
$comment_length = 30;
-$label_button = 'print';
+$label_button = _('print');
/*
* default
@@ -122,8 +122,8 @@
$a4 = true;
$a3 = true;
$a2 = true;
-$a1 = true;
-$a0 = true;
+$a1 = false;
+$a0 = false;
# dimensions of the map:
More information about the Mapbender_commits
mailing list