[Suiviobsmer-commits] r1296 - in trunk/wao-ui/src/main: resources/fr/ifremer/wao/ui/pages resources/i18n webapp
Author: bleny Date: 2011-05-25 08:53:52 +0000 (Wed, 25 May 2011) New Revision: 1296 Log: misc details/labels in UI Modified: trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties trunk/wao-ui/src/main/webapp/Boats.tml trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml Modified: trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties =================================================================== --- trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties 2011-05-24 17:10:03 UTC (rev 1295) +++ trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties 2011-05-25 08:53:52 UTC (rev 1296) @@ -29,7 +29,6 @@ boatDistrict-label: Quartier boatLength-label: Long. buildYear-label: Ann\u00e9e -portOfRegistry-label: Port fleet-label: Flotille # BOAT INFOS Modified: trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties =================================================================== --- trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties 2011-05-24 17:10:03 UTC (rev 1295) +++ trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties 2011-05-25 08:53:52 UTC (rev 1296) @@ -52,6 +52,9 @@ wao.ui.boatinfo.title=Infos about %s wao.ui.boats.associatedLine=Sample row(s) associated with this boat wao.ui.boats.nbObservations=%s observation(s), %s with your company (all programs considered) +wao.ui.boats.portOfRegistry.description=It's the main operating port of the boat +wao.ui.boats.portOfRegistry.header=Port +wao.ui.boats.selecting=You are currently selecting a boat for the row %s wao.ui.boats.substitutes=Substitutes for this boat wao.ui.cartography.help=Click on the graphs to get the details. wao.ui.cartography.title=Dispatching of the contacts among boat districts @@ -278,9 +281,13 @@ wao.ui.samplingPlan.estimated=estimated wao.ui.samplingPlan.expected=expected wao.ui.samplingPlan.export=Export the sampling plan from %s to %s +wao.ui.samplingPlan.fieldWork.see=View the field work sampling plan +wao.ui.samplingPlan.fieldWork.title=Field work sampling plan wao.ui.samplingPlan.fishingZoneInfo=Fishing Zone others infos wao.ui.samplingPlan.months=Months wao.ui.samplingPlan.nbObservants=Nb. observers +wao.ui.samplingPlan.phoneCall.see=View the phone call sampling plan +wao.ui.samplingPlan.phoneCall.title=Phone call sampling plan wao.ui.samplingPlan.program=program wao.ui.samplingPlan.sampledProfessions=Sampled professions wao.ui.samplingPlan.showActual=Show realisez observations efforfor validated contacts only Modified: trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties =================================================================== --- trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties 2011-05-24 17:10:03 UTC (rev 1295) +++ trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties 2011-05-25 08:53:52 UTC (rev 1296) @@ -52,6 +52,9 @@ wao.ui.boatinfo.title=Informations sur %s wao.ui.boats.associatedLine=Ligne(s) du plan associée(s) à ce navire wao.ui.boats.nbObservations=%s observation(s) dont %s avec votre société +wao.ui.boats.portOfRegistry.description=Il s'agit du port d'exploitation principal du navire +wao.ui.boats.portOfRegistry.header=Port +wao.ui.boats.selecting=Vous êtes en cours de sélection d'un navire pour la ligne du plan %s wao.ui.boats.substitutes=Substituts du navire wao.ui.cartography.help=Cliquez sur les graphiques pour avoir le détail. wao.ui.cartography.title=Répartition des contacts par quartier des navires @@ -277,9 +280,13 @@ wao.ui.samplingPlan.estimated=estimé wao.ui.samplingPlan.expected=planifié wao.ui.samplingPlan.export=Exporter le plan d'échantillonnage du %s au %s +wao.ui.samplingPlan.fieldWork.see=Voir le plan d'échantillonnage de terrain +wao.ui.samplingPlan.fieldWork.title=Plan d'échantillonnage de terrain wao.ui.samplingPlan.fishingZoneInfo=Zone autre(s) info(s) wao.ui.samplingPlan.months=Mois wao.ui.samplingPlan.nbObservants=Nb. d'observateurs +wao.ui.samplingPlan.phoneCall.see=Voir le plan d'échantillonnage téléphonique +wao.ui.samplingPlan.phoneCall.title=Plan d'échantillonnage téléphonique wao.ui.samplingPlan.program=Programme ou règlement rattachement wao.ui.samplingPlan.sampledProfessions=Métiers échantillonnés wao.ui.samplingPlan.showActual=Afficher l'effort d'observations réalisé pour les contacts validés seulement Modified: trunk/wao-ui/src/main/webapp/Boats.tml =================================================================== --- trunk/wao-ui/src/main/webapp/Boats.tml 2011-05-24 17:10:03 UTC (rev 1295) +++ trunk/wao-ui/src/main/webapp/Boats.tml 2011-05-25 08:53:52 UTC (rev 1296) @@ -51,7 +51,7 @@ <t:if test="sampleRowContext"> <div style="text-align: center;"> - Vous êtes en cours de sélection d'un navire pour la ligne du plan ${sampleRowContext.code} + ${format:wao.ui.boats.selecting=sampleRowContext.code} </div> </t:if> @@ -141,6 +141,11 @@ <p:boatLengthCell> ${boat.boatLength} m </p:boatLengthCell> + <p:portOfRegistryHeader> + <span t:type="ck/Tooltip" t:value="${message:wao.ui.boats.portOfRegistry.description}" t:effect="appear"> + ${message:wao.ui.boats.portOfRegistry.header} + </span> + </p:portOfRegistryHeader> <p:portOfRegistryCell> <t:if test="boat.portOfRegistry"> ${boat.portOfRegistry.code} Modified: trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml =================================================================== --- trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml 2011-05-24 17:10:03 UTC (rev 1295) +++ trunk/wao-ui/src/main/webapp/ObsDebSamplingPlan.tml 2011-05-25 08:53:52 UTC (rev 1296) @@ -24,15 +24,20 @@ <t:layout t:pageTitle="${message:wao.ui.page.SamplingPlan.title}" t:contentId="wao-obsdebsamplingplan" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter"> - <h1 class="fleft">${message:wao.ui.samplingPlan.title}</h1> + <t:if t:test="showFieldWorkSamplingPlan()"> + <h1 class="fleft">${message:wao.ui.samplingPlan.fieldWork.title}</h1> + <p:else> + <h1 class="fleft">${message:wao.ui.samplingPlan.phoneCall.title}</h1> + </p:else> + </t:if> <ul id="so-submenu" style="clear: left;"> <li> <t:actionlink t:id="switchObservationType"> <t:if t:test="showFieldWorkSamplingPlan()"> - Voir le plan d'échantillonnage téléphonique + ${message:wao.ui.samplingPlan.phoneCall.see} <p:else> - Voir le plan d'échantillonnage de terrain + ${message:wao.ui.samplingPlan.fieldWork.see} </p:else> </t:if> </t:actionlink>
participants (1)
-
bleny@users.labs.libre-entreprise.org