[Mapbender-commits] r8055 - in trunk/mapbender/http: classes geoportal php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Aug 4 05:33:25 EDT 2011


Author: armin11
Date: 2011-08-04 02:33:25 -0700 (Thu, 04 Aug 2011)
New Revision: 8055

Modified:
   trunk/mapbender/http/classes/class_metadata_new.php
   trunk/mapbender/http/geoportal/mod_initialStartWmc.php
   trunk/mapbender/http/php/mod_callMetadata.php
   trunk/mapbender/http/php/mod_showMetadata.php
Log:
Enhance french translation.

Modified: trunk/mapbender/http/classes/class_metadata_new.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata_new.php	2011-08-03 15:05:48 UTC (rev 8054)
+++ trunk/mapbender/http/classes/class_metadata_new.php	2011-08-04 09:33:25 UTC (rev 8055)
@@ -133,7 +133,7 @@
 				$this->resourceClassifications[2]['title'] = "Custom";
 			break;
 			case "fr":
-				$this->resourceClassifications[2]['title'] = "Custom"; 
+				$this->resourceClassifications[2]['title'] = "Personnaliser"; 
 			break;
 			default:
 				$this->resourceClassifications[2]['title'] = "Custom";
@@ -177,9 +177,9 @@
 			$this->keywordTitle = 'Keywordlist';
         		break;
         		case 'fr':
-          	     	$this->resourceCategories[0]['name2show'] = 'Viewingservices';
-			$this->resourceCategories[1]['name2show'] = 'Search- and Downloadservices';
-			$this->resourceCategories[2]['name2show'] = 'Combined Maps';
+          	     	$this->resourceCategories[0]['name2show'] = 'Services de visualisation';
+			$this->resourceCategories[1]['name2show'] = 'Services de recherche et de téléchargement';
+			$this->resourceCategories[2]['name2show'] = 'Cartes composées';
 			$this->resourceCategories[3]['name2show'] = 'KML/Newsfeeds';
 			$this->keywordTitle = 'Keywordlist';
        			break;

Modified: trunk/mapbender/http/geoportal/mod_initialStartWmc.php
===================================================================
--- trunk/mapbender/http/geoportal/mod_initialStartWmc.php	2011-08-03 15:05:48 UTC (rev 8054)
+++ trunk/mapbender/http/geoportal/mod_initialStartWmc.php	2011-08-04 09:33:25 UTC (rev 8055)
@@ -36,7 +36,7 @@
 if (isset($_REQUEST["languageCode"]) & $_REQUEST["languageCode"] != "") {
 	//validate to wms, wfs
 	$testMatch = $_REQUEST["languageCode"];	
- 	if (!($testMatch == 'de' or $testMatch == 'en')){ 
+ 	if (!($testMatch == 'de' or $testMatch == 'en'  or $testMatch == 'fr')){ 
 		echo 'languageCode: <b>'.$testMatch.'</b> is not valid.<br/>'; 
 		die(); 		
  	}
@@ -63,6 +63,10 @@
 if ($languageCode == 'en'){
 	$pathToLoadScript = '/portal/en/maps.html?WMC=';
 }
+if ($languageCode == 'fr'){
+	$pathToLoadScript = '/portal/fr/cartes.html?WMC=';
+}
+
 /*
 //define sql for selecting informations from database:
 $sql = "";

Modified: trunk/mapbender/http/php/mod_callMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_callMetadata.php	2011-08-03 15:05:48 UTC (rev 8054)
+++ trunk/mapbender/http/php/mod_callMetadata.php	2011-08-04 09:33:25 UTC (rev 8055)
@@ -598,27 +598,27 @@
 
         break;
         case 'fr':
-        	$classificationElements[0]['name2show'] = 'Suchbegriff(e):';
-		$classificationElements[1]['name2show'] = 'Anbietende Stelle(n):';
-		$classificationElements[3]['name2show'] = 'INSPIRE Themen:';
-		$classificationElements[2]['name2show'] = 'ISO Kategorien:';
-		$classificationElements[4]['name2show'] = 'RP Kategorien:';
-		$classificationElements[5]['name2show'] = 'Räumliche Einschränkung:';
-		$classificationElements[6]['name2show'] = 'Registrierung/Aktualisierung von:';
-		$classificationElements[7]['name2show'] = 'Registrierung/Aktualisierung bis:';
+        	$classificationElements[0]['name2show'] = 'Mots clés:';
+		$classificationElements[1]['name2show'] = 'Fournisseur de données:';
+		$classificationElements[3]['name2show'] = 'Thèmes INSPIRE:';
+		$classificationElements[2]['name2show'] = 'Catégories ISO:';
+		$classificationElements[4]['name2show'] = 'Catégories GR:';
+		$classificationElements[5]['name2show'] = 'Requête spatiale:';
+		$classificationElements[6]['name2show'] = 'Enregistrement/Mise à jour du :';
+		$classificationElements[7]['name2show'] = 'Enregistrement/Mise à jour au:';
 
-		$resourceCategories['wms'] = 'Viewingservices';
-		$resourceCategories['wfs'] = 'Search- and Downloadservices';
-		$resourceCategories['wmc'] = 'Combined Maps';
+		$resourceCategories['wms'] = 'Services de visualisation';
+		$resourceCategories['wfs'] = 'Services de recherche et de téléchargement';
+		$resourceCategories['wmc'] = 'Cartes composées';
 		$resourceCategories['georss'] = 'KML/Newsfeeds';
 
-		$orderByTitle['header'] = 'Sort by:';
-		$orderByTitle['id'] = 'identification number';
-		$orderByTitle['title'] = 'alphabetically';
-		$orderByTitle['rank'] = 'demand';
-		$orderByTitle['date'] = 'last change';
+		$orderByTitle['header'] = 'classé selon:';
+		$orderByTitle['id'] = 'numéro d\'identification';
+		$orderByTitle['title'] = 'par ordre alphabétique';
+		$orderByTitle['rank'] = 'vue';
+		$orderByTitle['date'] = 'mise à jour';
 
-		$maxResultsTitle['header'] = 'Results per page:';
+		$maxResultsTitle['header'] = 'Résultat par page:';
 
        	break;
      	default:

Modified: trunk/mapbender/http/php/mod_showMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_showMetadata.php	2011-08-03 15:05:48 UTC (rev 8054)
+++ trunk/mapbender/http/php/mod_showMetadata.php	2011-08-04 09:33:25 UTC (rev 8055)
@@ -271,6 +271,80 @@
 		$translation['addLayerToMap'] = "Show map in own viewer";
 		$translation['showMap'] = "Show map";
 		break;
+	case "fr":
+		$translation['overview'] = 'Vue générale';
+		$translation['properties'] = 'Propriétés';
+		$translation['termsOfUse'] = 'Conditions d\'utilisation';
+		$translation['contact'] = 'Contact';
+		$translation['quality'] = 'Qualité';
+		$translation['interfaces'] = 'Interfaces';
+		$translation['metadata'] = 'Metadonnées';
+		$translation['kindOfResource'] = 'Genre de ressource';
+		$translation['wms'] = 'Service des cartes';
+		$translation['wfs'] = 'Service des données';
+		$translation['layer'] = 'Couche de la carte';
+		$translation['featuretype'] = 'Données attributaires';
+		$translation['geomtype'] = 'Type de geometrie';
+		$translation['contentId'] = 'Identifiant de la ressource';
+		$translation['contentName'] = 'Nom de la ressource';
+		$translation['serviceId'] = 'Information a propos du service';
+		$translation['preview'] = 'Extrait';
+		$translation['extent'] = 'Zone géographique';
+		$translation['resourceAbstract'] = 'Résumé';
+		$translation['resourceTitle'] = 'Titre';
+		$translation['metadataProvider'] = 'Responsable du contenu';
+		$translation['serviceProvider'] = 'Responsable du service';
+		$translation['contactPerson'] = 'Personne de contact';
+		$translation['contactOrganization'] = 'Organisation';
+		$translation['contactAddress'] = 'Adresse';
+		$translation['email'] = 'Email';
+		$translation['city'] = 'Ville';
+		$translation['logo'] = 'Logo';
+		$translation['status'] = 'Statut';
+		$translation['availability'] = 'Accessibilité';
+		$translation['statusRed'] = 'Problème avec le dernier suivi!';
+		$translation['statusGreen'] = 'Dernier suivi: OK';
+		$translation['statusYellow'] = 'Description du service changée!';
+		$translation['queryableFalse'] = 'Couche non interrogeable';
+		$translation['queryableTrue'] = 'Couche non interrogeable';
+		$translation['queryable'] = 'Interroger';
+		$translation['restrictedScale'] = 'Visibilité';
+		$translation['minscale'] = 'Echelle minimum';
+		$translation['maxscale'] = 'Echelle maximum';
+		$translation['crs'] = 'Système de référence spatial';
+		$translation['wmccrs'] = 'Système de référence utilisé';
+		$translation['wgs84Bbox'] = 'Coin en coordonnées géographiques';
+		$translation['wgs84BboxGraphic'] = 'Etendue spatiale';
+		$translation['mapbenderCapabilities'] = 'Capabilities du Geoportail';
+		$translation['originalCapabilities'] = 'Capabilities originales';
+		$translation['inspireCapabilities'] = 'Capabilities INSPIRE';
+		$translation['describeFeaturetype'] = 'Schéma des données';
+		$translation['kml'] = 'KML';
+		$translation['inspireMetadata'] = 'Métadonnées INSPIRE ';
+		$translation['showInspireMetadata'] = 'Fichier des métadonnées';
+		$translation['securedCapabilities'] = 'Capabilities sécurisées';
+		$translation['capabilities'] = 'Liens sur les capabilities';
+		$translation['inspireMetadataValidation'] = 'Validation sur le géoportail INSPIRE';
+		$translation['showInspireMetadataValidation'] = 'Démarrer la validation';
+		$translation['statusOK'] = 'stable';
+		$translation['statusChanged'] = 'Description changée - mise à jour nécessaire';
+		$translation['statusProblem'] = 'Problème au dernier contrôle';
+		$translation['contactTelephone'] = 'Téléphone';
+		$translation['wmc'] = 'Web Map Context document';
+		$translation['graphicUnavailable'] = 'Vue générale non active';
+		$translation['notMonitored'] = 'L\'nformation relative à la qualité est consultable si et seuleument si le service de suivi est activé!';
+		$translation['wmcQualityText'] = 'Dans le cas d\'un document Web Map Context il n\'ya pas d\'information sur la qualité!';
+		$translation['noTouInformation'] = 'Aucune information sur les conditions d\'utilisation n\'est disponible!';
+		$translation['loadWmc'] = 'Lien pour débuter l\'application avec un WMC';
+		$translation['validate'] = "valider";
+		$translation['uploaded metadata'] = "métadonnées téléchargées";
+		$translation['linked metadata'] = "métadonnées liées";
+		$translation['metadata from capabilities'] = "metadonnées provenant des capabilities";
+		$translation['added from registry'] = "ajouté à partir de l'enregistrement";
+		$translation['Coupled Metadata'] = "Métadonnées couplées";
+		$translation['addLayerToMap'] = "Ouvrir la carte dans sa propre fenêtre";
+		$translation['showMap'] = "Ouvrir la carte";
+		break;
 	default: #to english
 		$translation['overview'] = 'Overview';
 		$translation['properties'] = 'Properties';



More information about the Mapbender_commits mailing list