[Mapbender-commits] r7898 - in trunk/mapbender: http/geoportal resources/locale/de_DE/LC_MESSAGES

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 4 03:26:18 EDT 2011


Author: armin11
Date: 2011-07-04 00:26:18 -0700 (Mon, 04 Jul 2011)
New Revision: 7898

Modified:
   trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php
   trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
Log:
Some translations for the metadata view module and add of the preview - if available.

Modified: trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php
===================================================================
--- trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php	2011-07-02 19:25:23 UTC (rev 7897)
+++ trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php	2011-07-04 07:26:18 UTC (rev 7898)
@@ -557,6 +557,7 @@
 		category => "metadata",
 		description => _mb("This is the language in which the metadata elements are expressed. The value domain of this metadata element is limited to the official languages of the Community expressed in conformity with ISO 639-2.")
 	),
+
 //Additional Metadata Elements from the Data Specs
 //Metadata required for interoperability
 //TODO!!
@@ -678,11 +679,26 @@
 		inspire => "character Encoding",
 		inspiremandatory => "true",
 		iso_name => "character Encoding",
-		html => _mb("Character Encoding"),
+		html => _mb("Character encoding"),
 		value => "",
 		category => "dataspec",
 		description => _mb("The character encoding used in the data set. This element is mandatory only if an encoding is used that is not based on UTF-8.")
+	),
+
+
+//Preview (36)
+	array(	ibus => "t01_object.obj_id",
+		iso19139 => "/gmd:MD_Metadata/gmd:identificationInfo/*/gmd:graphicOverview/gmd:MD_BrowseGraphic/gmd:fileName/gco:CharacterString",
+		iso19139explode => "false" ,
+		inspire => "preview",
+		inspiremandatory => "false",
+		iso_name => "graphicOverview",
+		html => _mb("Graphic overview"),
+		value => "",
+		category => "metadata",
+		description => _mb("Graphical overview of the resource.")
 	)
+
 );
 
 #***get the information out of the mapbender-db
@@ -887,6 +903,9 @@
 		$html .= $t_a."<b>".$md_ident[1]['html']."</b>: ".$t_b.$md_ident[1]['value'].$t_c;
 		$html .= $t_a."<b>".$md_ident[2]['html']."</b>: ".$t_b.$md_ident[2]['value'].$t_c;
 		$html .= $t_a."<b>".$md_ident[3]['html']."</b>: ".$t_b.$md_ident[3]['value'].$t_c;
+		if ($md_ident[36]['value'] != "") {
+			$html .= $t_a."<b>".$md_ident[36]['html']."</b>: ".$t_b."<img width=120 height=120 src = '".$md_ident[36]['value']."'>".$t_c;//preview
+		}
 		$html .= $t_a."<b>".$md_ident[5]['html']."</b>: ".$t_b.$md_ident[5]['value'].$t_c;
 		$html .= $t_a."<b>".$md_ident[6]['html']."</b>: ".$t_b.$md_ident[6]['value'].$t_c;
 		$html .= $t_a."<b>".$md_ident[26]['html']."</b>: ".$t_b.$md_ident[26]['value'].$t_c;
@@ -1018,7 +1037,7 @@
 		$html .= $t_a."<b>".$md_ident[23]['html']."</b>: ".$t_b.$md_ident[23]['value'].$t_c;
 		$html .= $tableEnd;
 		$html .= '</fieldset>';
-		$html .= '<fieldset><legend>'._mb("Access Constraints").'</legend>';
+		$html .= '<fieldset><legend>'._mb("Access constraints").'</legend>';
 		$html .= $tableBegin;
 		$html .= $t_a."<b>".$md_ident[24]['html']."</b>: ".$t_b.$md_ident[24]['value'].$t_c;
 		$html .= $t_a."<b>".$md_ident[25]['html']."</b>: ".$t_b.$md_ident[25]['value'].$t_c;
@@ -1080,7 +1099,7 @@
 		$html .= '<p>';
 		$html .= '<fieldset><legend>'._mb("Metadata").'</legend>';
 		$html .= $tableBegin;
-		$html .= $t_a."<b>"._mb("ISO19139")."</b>: <a href='".$url."'>"._mb("metadata")."</a>".$t_c;
+		$html .= $t_a."<b>"._mb("ISO19139")."</b>: <a href='".$url."'>"._mb("Metadata")."</a>".$t_c;
 		$html .= $tableEnd;
 		$html .= '</fieldset>';
 		

Modified: trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
===================================================================
--- trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po	2011-07-02 19:25:23 UTC (rev 7897)
+++ trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po	2011-07-04 07:26:18 UTC (rev 7898)
@@ -2416,7 +2416,7 @@
 msgstr "Beschreibung des Koordinatenreferenzsystems bzw. der Koordinatenreferenzsysteme, die im Datensatz verwendet werden."
 
 msgid "Encoding"
-msgstr "Kodierung"
+msgstr "Datenablageformat"
 
 msgid "Description of the computer language construct(s) specifying the representation of data objects in a record, file, message, storage device or transmission channel."
 msgstr "Beschreibung des Programmiersprachenkonstrukts, das die Darstellung eines Datenobjekts in einem Datensatz, in einer Datei, einer Nachricht, einem Speichermedium oder einem Übertragungskanal bestimmt."
@@ -2581,9 +2581,67 @@
 msgid "Responsible party role"
 msgstr "Rolle der verantwortlichen Stelle"
 
+msgid "Overview"
+msgstr "Übersicht"
 
+msgid "Properties"
+msgstr "Eigenschaften"
 
+msgid "Contact"
+msgstr "Kontakt"
 
+msgid "Terms of use"
+msgstr "Nutzungsbedingungen"
 
+msgid "Quality"
+msgstr "Qualität"
 
+msgid "Interfaces"
+msgstr "Schnittstellen"
 
+msgid "Common"
+msgstr "Allgemein"
+
+msgid "Geographic extent"
+msgstr "Geographische Ausdehnung"
+
+msgid "Service information"
+msgstr "Informationen zum Dienst"
+
+msgid "Data/Service provider"
+msgstr "Daten-/Dienstanbieter"
+
+msgid "Metadata provider"
+msgstr "Anbieter der Metadaten"
+
+msgid "Conditions"
+msgstr "Bedingungen"
+
+msgid "Access constraints"
+msgstr "Zugangsbeschränkungen"
+
+msgid "Quality"
+msgstr "Qualität"
+
+msgid "Validity"
+msgstr "Gültigkeit"
+
+msgid "Resolution"
+msgstr "Auflösung"
+
+msgid "Metadata point of contact email"
+msgstr "Metadatenkontakt E-Mail"
+
+msgid "Metadata date"
+msgstr "Datum der Metadaten"
+
+msgid "Metadata language"
+msgstr "Sprache der Metadaten"
+
+msgid "Coordinate reference system"
+msgstr "Koordinatenreferenzsystem"
+
+msgid "Character encoding"
+msgstr "Zeichensatz"
+
+



More information about the Mapbender_commits mailing list