issue #0001781: improve translation logic, 'Home' page translated

This commit is contained in:
Michael RICOIS 2013-11-15 13:36:39 +00:00
parent 9e3545391f
commit 82b21d631d
11 changed files with 286 additions and 131 deletions

Binary file not shown.

View File

@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Extranet2.4\n"
"POT-Creation-Date: 2013-11-13 16:07+0400\n"
"PO-Revision-Date: 2013-11-13 16:08+0400\n"
"POT-Creation-Date: 2013-11-15 17:22+0400\n"
"PO-Revision-Date: 2013-11-15 17:25+0400\n"
"Last-Translator: \n"
"Language-Team: SND-A\n"
"Language: en\n"
@ -14,8 +14,10 @@ msgstr ""
"X-Poedit-Basepath: C:/wamp/www/sdciblage_1.3/\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: application\n"
#: application/languages/totranslate.php:3
#: application/views/default/scripts/menu.phtml:25
msgid "Accueil"
msgstr "Home"
@ -23,7 +25,218 @@ msgstr "Home"
msgid "Préambule"
msgstr "Preamble"
#~ msgid "Scores & Decisions"
#: application/languages/totranslate.php:5
msgid "Ajouter un profil"
msgstr "Add a Profile"
#: application/languages/totranslate.php:6
msgid "Désactiver"
msgstr "Disable"
#: application/languages/totranslate.php:7
msgid "Ajouter un login avec le profil du client"
msgstr "Add a login with the client profile"
#: application/languages/totranslate.php:8
msgid "Type d'établissement"
msgstr "Establishment costs"
#: application/languages/totranslate.php:9
msgid "Sièges"
msgstr "Headquarters"
#: application/languages/totranslate.php:10
msgid "Oui"
msgstr "Yes"
#: application/languages/totranslate.php:11
msgid "Non"
msgstr "No"
#: application/languages/totranslate.php:12
#: application/views/default/helpers/Field.php:281
msgid "au"
msgstr "to"
#: application/languages/totranslate.php:13
msgid "Appartient à un groupe"
msgstr "Belongs to a group"
#: application/languages/totranslate.php:14
msgid "Téléphone renseigné"
msgstr "Telephone information"
#: application/languages/totranslate.php:15
msgid "Télécopie renseignée"
msgstr "Fax information"
#: application/languages/totranslate.php:16
msgid "Site Web renseigné"
msgstr "Website information"
#: application/languages/totranslate.php:17
msgid "Email de contact renseigné"
msgstr "Email contact information"
#: application/languages/totranslate.php:18
msgid "Etablissement présent au RNCS"
msgstr "Establishment in this SNCR"
#: application/languages/totranslate.php:19
msgid "Adresse de domiciliation"
msgstr "Registered address"
#: application/languages/totranslate.php:20
msgid "Nom du principal dirigeant présent"
msgstr "Name of principal officer present"
#: application/languages/totranslate.php:21
msgid "Date de création de l'établissement"
msgstr "Creation date of the establishment"
#: application/languages/totranslate.php:22
msgid "Présence de participations"
msgstr "Presence investments"
#: application/languages/totranslate.php:23
msgid "Valider"
msgstr "Validate"
#: application/languages/totranslate.php:24
msgid "Réinitialiser les critères entreprises"
msgstr "Reset search firms"
#: application/languages/totranslate.php:25
#: application/views/default/helpers/Field.php:172
msgid "à"
msgstr "to"
#: application/views/default/scripts/menu.phtml:6
msgid "Sélection"
msgstr "Selection"
#: application/views/default/scripts/menu.phtml:12
msgid "Aucune sélection"
msgstr "No selection"
#: application/views/default/scripts/menu.phtml:26
#: application/views/default/scripts/dashboard/index.phtml:5
msgid "Tableau de bord"
msgstr "Dashboard"
#: application/views/default/scripts/menu.phtml:27
msgid "Aide"
msgstr "Help"
#: application/views/default/scripts/menu.phtml:28
msgid "A propos de"
msgstr "About"
#: application/views/default/scripts/menu.phtml:30
msgid "Gestion"
msgstr "Management"
#: application/views/default/scripts/menu.phtml:32
msgid "Déconnexion"
msgstr "Logout"
#: application/views/default/scripts/dashboard/index.phtml:16
msgid "Liste de vos ciblages"
msgstr "List of targets"
#: application/views/default/scripts/dashboard/index.phtml:17
msgid "Liste de vos enrichissements"
msgstr "List of your enrichments"
#: application/views/default/scripts/dashboard/index.phtml:18
msgid "Préférences de l'application"
msgstr "Application Preferences"
#: application/views/default/scripts/dashboard/index.phtml:19
msgid "Enrichissement de fichier"
msgstr "Enrichment file"
#: application/views/default/scripts/dashboard/index.phtml:23
msgid "Rechercher dans vos ciblages"
msgstr "Search your targets"
#: application/views/default/scripts/dashboard/index.phtml:25
msgid "Rechercher"
msgstr "Search"
#: application/views/default/scripts/dashboard/index.phtml:29
msgid "Vos derniers ciblages"
msgstr "Your lastest target"
#: application/views/default/scripts/dashboard/index.phtml:34
msgid "Référence"
msgstr "Reference"
#: application/views/default/scripts/dashboard/index.phtml:35
msgid "Nombre d'entité"
msgstr "Number of entities"
#: application/views/default/scripts/dashboard/index.phtml:36
msgid "Unité Insee"
msgstr "Unit Insee"
#: application/views/default/scripts/dashboard/index.phtml:49
msgid "Charger les critères de ciblage dans l'interface"
msgstr "Load targeting criteria in the interface"
#: application/views/default/scripts/dashboard/index.phtml:55
msgid "Aucun ciblage"
msgstr "No targeting"
#: application/views/default/scripts/dashboard/index.phtml:61
msgid "Vos derniers enrichissements"
msgstr "List of your enrichments"
#: application/views/default/scripts/dashboard/index.phtml:93
msgid "Aucun enrichissement"
msgstr "No enrichment"
#: application/views/default/scripts/fields/index.phtml:2
msgid "Critères Entreprise"
msgstr "Company criteria"
#: application/views/default/scripts/fields/index.phtml:3
msgid "Situation économique"
msgstr "Economic situation"
#: application/views/default/scripts/fields/index.phtml:4
msgid "Secteur géographique"
msgstr "Geographical location"
#: application/views/default/scripts/fields/index.phtml:5
msgid "Situation juridique"
msgstr "Legal situation"
#: application/views/default/scripts/fields/index.phtml:6
msgid "Situation financière"
msgstr "Financial situation"
#: application/views/default/scripts/index/criteres.phtml:17
msgid "Résumé de vos critères"
msgstr "Summary of your criteria"
#: application/views/default/scripts/index/criteres.phtml:49
msgid "Initialiser les critères"
msgstr "Initialize the criterias"
#: application/views/default/scripts/index/criteres.phtml:52
msgid "Prévisualisation"
msgstr "Preview"
#: application/views/default/scripts/index/criteres.phtml:55
msgid "Extraire"
msgstr "Extract"
#: application/views/default/scripts/index/index.phtml:4
msgid "Erreur ! Le moteur de ciblage n'est pas disponible !"
msgstr "Error! Engine targeting is not available!"
#~ msgid "Scores & Décisions SAS"
#~ msgstr "Scores & Decisions"
#~ msgid "Page"
@ -32,12 +245,6 @@ msgstr "Preamble"
#~ msgid "Dernière mise à jour le"
#~ msgstr "Last update on"
#~ msgid "Oui"
#~ msgstr "Yes"
#~ msgid "Non"
#~ msgstr "No"
#~ msgid "Edition"
#~ msgstr "Edit"
@ -53,12 +260,6 @@ msgstr "Preamble"
#~ msgid "Mois"
#~ msgstr "Month"
#~ msgid "Erreur ! Le moteur de ciblage n'est pas disponible !"
#~ msgstr "Error! Engine targeting is not available!"
#~ msgid "Recherche"
#~ msgstr "Search"
#~ msgid "Effacer"
#~ msgstr "Delete"
@ -74,9 +275,6 @@ msgstr "Preamble"
#~ msgid "Modifier le client"
#~ msgstr "Modify a cutomer"
#~ msgid "Valider"
#~ msgstr "Validate"
#~ msgid "Mentions légales"
#~ msgstr "Legal Notices"
@ -119,9 +317,6 @@ msgstr "Preamble"
#~ msgid "Fiche Procédure Collective"
#~ msgstr "Procedure Data Collective"
#~ msgid "Liste des établissements"
#~ msgstr "List of istitutions"
#~ msgid "Liens inter-entreprises"
#~ msgstr "Links between companies"
@ -269,9 +464,6 @@ msgstr "Preamble"
#~ msgid "GESTION S&D"
#~ msgstr "S&D MANAGEMENT"
#~ msgid "Gestion"
#~ msgstr "Management"
#~ msgid "Saisie / Edition"
#~ msgstr "Enter / Edit"
@ -367,9 +559,6 @@ msgstr "Preamble"
#~ msgid "BODACC / BORC"
#~ msgstr "BODACC / BORC"
#~ msgid "Désélection"
#~ msgstr "Unselect"
#~ msgid "RECHERCHE PAR ACTIONNAIRE"
#~ msgstr "SEARCH BY SHAREHOLDER"
@ -385,9 +574,6 @@ msgstr "Preamble"
#~ msgid "A"
#~ msgstr "TO"
#~ msgid "réponses avec les critères"
#~ msgstr "answers with the criterias"
#~ msgid "résultats affichés."
#~ msgstr "shown results"
@ -430,9 +616,6 @@ msgstr "Preamble"
#~ msgid "Numéro R.C."
#~ msgstr "R.C. number"
#~ msgid "Etablissement actif"
#~ msgstr "Active establishment"
#~ msgid "Raison sociale & Coordonnées"
#~ msgstr "Company name & Contacts"
@ -448,15 +631,9 @@ msgstr "Preamble"
#~ msgid "Création de l'entreprise"
#~ msgstr "Creation of the company"
#~ msgid "Création de l'établissement"
#~ msgstr "Creation of the establishment"
#~ msgid "Adresse"
#~ msgstr "Address"
#~ msgid "Téléphone"
#~ msgstr "Telephone"
#~ msgid "Fax"
#~ msgstr "FAX"
@ -490,12 +667,6 @@ msgstr "Preamble"
#~ msgid "Chiffre d'affaires estimé"
#~ msgstr "Estimated turnover"
#~ msgid "Principaux Dirigeants"
#~ msgstr "Key Managers"
#~ msgid "Localisation géographique"
#~ msgstr "Geographical location"
#~ msgid "Information géographique :"
#~ msgstr "Geograohic information :"
@ -526,9 +697,6 @@ msgstr "Preamble"
#~ msgid "Code ISIN"
#~ msgstr "ISIN code"
#~ msgid "Capitalisation"
#~ msgstr "Capitalisation"
#~ msgid "Information à vérifier dans les derniers statuts"
#~ msgstr "Information to be verified in the last status"
@ -592,9 +760,6 @@ msgstr "Preamble"
#~ msgid "Documents"
#~ msgstr "Documents"
#~ msgid "Aucun document"
#~ msgstr "No document"
#~ msgid "Lier un document"
#~ msgstr "Link a document"
@ -763,9 +928,6 @@ msgstr "Preamble"
#~ msgid "Valeurs exprimées en K€"
#~ msgstr "Values expressed in K€"
#~ msgid "Frais d'établissement"
#~ msgstr "Establishment costs"
#~ msgid "Fond commercial"
#~ msgstr "Business background"
@ -907,9 +1069,6 @@ msgstr "Preamble"
#~ msgid "Procédures collectives"
#~ msgstr "Collective procedures"
#~ msgid "Situation juridique"
#~ msgstr "Legal situation"
#~ msgid "Scores et encours"
#~ msgstr "Scores and outstandings"
@ -934,9 +1093,6 @@ msgstr "Preamble"
#~ msgid "BILAN"
#~ msgstr "BALANCE"
#~ msgid "Situation financière"
#~ msgstr "Financial situation"
#~ msgid "Compte de Résultat"
#~ msgstr "Balances, Income statement"
@ -973,12 +1129,6 @@ msgstr "Preamble"
#~ msgid "Demandeur"
#~ msgstr "Applicant"
#~ msgid "Votre profil"
#~ msgstr "Your profile"
#~ msgid "Votre Identité"
#~ msgstr "Your Identity"
#~ msgid "Votre Téléphone"
#~ msgstr "Your telephone"
@ -1135,9 +1285,6 @@ msgstr "Preamble"
#~ msgid "Identité (NOM/Prénom)"
#~ msgstr "Identity (LAST NAME/First name)"
#~ msgid "Adresse e-mail"
#~ msgstr "E-mail address"
#~ msgid "Numéros de téléphone (Fixe, Fax, Mobile)"
#~ msgstr "Telephone numbers (Fixed, Fax, Mobile)"
@ -1198,9 +1345,6 @@ msgstr "Preamble"
#~ msgid "Droits d'accès"
#~ msgstr "Permissions"
#~ msgid "Préférences"
#~ msgstr "Preferences"
#~ msgid "les associations"
#~ msgstr "associations"
@ -1279,9 +1423,6 @@ msgstr "Preamble"
#~ msgid "par"
#~ msgstr "by"
#~ msgid "Référence"
#~ msgstr "Reference"
#~ msgid "Date d'ajoute"
#~ msgstr "Adding date"
@ -1421,9 +1562,6 @@ msgstr "Preamble"
#~ msgid "Créer un client"
#~ msgstr "Create a client"
#~ msgid "Liste des clients"
#~ msgstr "List of customers"
#~ msgid "Nom"
#~ msgstr "Last name"
@ -1745,9 +1883,6 @@ msgstr "Preamble"
#~ msgid "pays"
#~ msgstr "Country"
#~ msgid "entreprise"
#~ msgstr "Company"
#~ msgid "Browser"
#~ msgstr "Browser"

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Extranet2.4\n"
"POT-Creation-Date: 2013-11-13 12:44+0400\n"
"PO-Revision-Date: 2013-11-13 12:44+0400\n"
"PO-Revision-Date: 2013-11-15 09:35+0400\n"
"Last-Translator: \n"
"Language-Team: SND-A\n"
"Language: fr\n"
@ -17,7 +17,7 @@ msgstr ""
#: application/languages/totranslate.php:3
msgid "Accueil"
msgstr "Accueil"
msgstr ""
#~ msgid "Scores & Decisions"
#~ msgstr "Scores & Decisions"

View File

@ -1,5 +1,26 @@
<?php
//General
//Home
$this->translate('Accueil');
$this->translate('Préambule');
$this->translate('Ajouter un profil');
$this->translate('Désactiver');
$this->translate('Ajouter un login avec le profil du client');
$this->translate('Type d\'établissement');
$this->translate('Sièges');
$this->translate('Oui');
$this->translate('Non');
$this->translate('au');
$this->translate('Appartient à un groupe');
$this->translate('Téléphone renseigné');
$this->translate('Télécopie renseignée');
$this->translate('Site Web renseigné');
$this->translate('Email de contact renseigné');
$this->translate('Etablissement présent au RNCS');
$this->translate('Adresse de domiciliation');
$this->translate('Nom du principal dirigeant présent');
$this->translate('Date de création de l\'établissement');
$this->translate('Présence de participations');
$this->translate('Valider');
$this->translate('Réinitialiser les critères entreprises');
$this->translate('à');
?>

View File

@ -18,7 +18,7 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
$title = '';
if ( array_key_exists('title', $params) && !empty($params['title']) ) {
$title = $params['title'];
$title = $this->view->translate($params['title']);
}
//How many type of fields is defined
@ -124,7 +124,7 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
}
$out.= '<div id="field_'.$type.'_'.$this->name.'" '.$class.''.$style.''.$title.'>';
$out.= $this->structureLabel($label);
$out.= $this->structureLabel($this->view->translate($label));
$out.= '<div class="field">'.$html.'</div>';
$out.= '</div>';
@ -169,7 +169,7 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
$return .= '<option '.(($sessionValeur[0] == $elements[0])?'selected':'').' value="'. $elements[0].'">'.number_format($elements[0], 0,'', ' ').'</option>';
}
$return .= '</select> à ';
$return .= '</select> '.$this->view->translate('à').' ';
$return .= '<select class="intervalSelect" name="'.$name.'2" id="'.$name.'" number="2">';
foreach($options['value'] as $elements) {
if($elements[1] == 0)
@ -179,7 +179,7 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
}
$return .= '</select>';
$return .= ' <span id="'.$name.'"><a href="" class="intervalSelect" id="'.$name.'">Valider</a></span>';
$return .= ' <span id="'.$name.'"><a href="" class="intervalSelect" id="'.$name.'">'.$this->view->translate('Valider').'</a></span>';
return ($return);
}
@ -248,7 +248,7 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
$selected = "";
if( $sessionValeur!==null && $sessionValeur != "-" && $sessionValeur==$value )
$selected = " selected";
$return .= '<option'.$selected.' value="'.$value.'">'.$label.'</option>';
$return .= '<option'.$selected.' value="'.$value.'">'.$this->view->translate($label).'</option>';
}
$return .= '</select>';
@ -278,7 +278,7 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
}
$return.= '</select>';
$return.= ' au ';
$return.= ' '.$this->view->translate('au').' ';
$return.= '<select name="'.$name.'2_j" style="width:45px;">';
for ($i=1;$i<=31;$i++) {
@ -308,7 +308,7 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
$return.= '<option'.$select.'>'.$i.'</option>';
}
$return.= '</select>';
$return .= '<br/><a href="#" id="'.$name.'" class="intervalDate">Valider</a>';
$return .= '<br/><a href="#" id="'.$name.'" class="intervalDate">'.$this->view->translate('Valider').'</a>';
return $return;
}
@ -321,9 +321,9 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
$valeur = $session->getCritere($name);
$return = '<div class="interval" >';
$return .= '<input class="'.$field['class'].'" type="text" name="'.$name.'1" value="'.$valeur[0].'" /> à ';
$return .= '<input class="'.$field['class'].'" type="text" name="'.$name.'1" value="'.$valeur[0].'" /> '.$this->view->translate('à').' ';
$return .= '<input class="'.$field['class'].'" type="text" name="'.$name.'2" value="'.$valeur[1].'" />';
$return .= ' <a href="" class="interval" id="'.$name.'">Valider</a>';
$return .= ' <a href="" class="interval" id="'.$name.'">'.$this->view->translate('Valider').'</a>';
$return .= '</div>';
return $return;

View File

@ -1,5 +1,4 @@
<div id="help">
<h2>Préambule</h2>
<p>
L'application se décompose en deux parties : <br/>

View File

@ -2,7 +2,7 @@
<li class="e0"><a class="lir" href="/">Accueil</a></li>
<li>
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'index'))?>">
<span>Tableau de bord</span>
<span><?=$this->translate('Tableau de bord')?></span>
</a>
</li>
<li class="last">
@ -13,27 +13,27 @@
<div id="dashboard">
<div id="menu">
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'ciblages'))?>">Liste de vos ciblages</a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'enrichissements'))?>">Liste de vos enrichissements</a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'configuration'))?>">Préférences de l'application</a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>''))?>">Enrichissement de fichier</a>
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'ciblages'))?>"><?=$this->translate('Liste de vos ciblages')?></a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'enrichissements'))?>"><?=$this->translate('Liste de vos enrichissements')?></a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'configuration'))?>"><?=$this->translate('Préférences de l\'application')?></a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>''))?>"><?=$this->translate('Enrichissement de fichier')?></a>
</div>
<div id="rechercheCiblage">
<h2>Rechercher dans vos ciblages</h2>
<h2><?=$this->translate('Rechercher dans vos ciblages')?></h2>
<input type="text" name="searchCiblage" class="searchCiblage" />
<input type="submit" value="Rechercher" class="submit"/>
<input type="submit" value="<?=$this->translate('Rechercher')?>" class="submit"/>
</div>
<div id="lastCiblage">
<h2>Vos derniers ciblages</h2>
<h2><?=$this->translate('Vos derniers ciblages')?></h2>
<?php if(count($this->comptages) > 0):?>
<table>
<thead>
<tr>
<th>Référence</th>
<th>Nombre d'entité</th>
<th>Unité Insee</th>
<th><?=$this->translate('Référence')?></th>
<th><?=$this->translate('Nombre d\'entité')?></th>
<th><?=$this->translate('Unité Insee')?></th>
<th>Date</th>
<th colspan="4"></th>
</tr>
@ -46,19 +46,19 @@
<td class="update insee"><?=number_format($item['uniteInsee'], 0, ',', ' ')?></td>
<td class="update date"><?=$item['dateComptage']?></td>
<td><a href="<?=$this->url(array('controller'=> 'dashboard','action'=>'ciblage', 'id'=>$item['id']))?>">Detail</a></td>
<td><a href="<?=$this->url(array('controller'=> 'index','action'=>'index', 'id'=>$item['id']))?>">Charger les critères de ciblage dans l'interface</a></td>
<td><a href="<?=$this->url(array('controller'=> 'index','action'=>'index', 'id'=>$item['id']))?>"><?=$this->translate('Charger les critères de ciblage dans l\'interface')?></a></td>
</tr>
<?php endforeach;?>
</tbody>
</table>
<?php else:?>
<p>Aucun ciblage.<p>
<p><?=$this->translate('Aucun ciblage')?>.<p>
<?php endif;?>
</div>
<div id="lastEnrichissement">
<h2>Vos derniers enrichissements</h2>
<h2><?=$this->translate('Vos derniers enrichissements')?></h2>
<?php if(count($this->enrichissements) > 0):?>
<table>
<thead>
@ -90,7 +90,7 @@
</tbody>
</table>
<?php else:?>
<p>Aucun enrichissement.<p>
<p><?=$this->translate('Aucun enrichissement')?>.<p>
<?php endif;?>
</div>

View File

@ -1,9 +1,9 @@
<ul>
<li><a href="#tabs-1">Critères Entreprise</a></li>
<li><a href="#tabs-2">Situation économique</a></li>
<li><a href="#tabs-3">Secteur géographique</a></li>
<li><a href="#tabs-4">Situation juridique</a></li>
<li><a href="#tabs-5">Situation financière</a></li>
<li><a href="#tabs-1"><?=$this->translate('Critères Entreprise')?></a></li>
<li><a href="#tabs-2"><?=$this->translate('Situation économique')?></a></li>
<li><a href="#tabs-3"><?=$this->translate('Secteur géographique')?></a></li>
<li><a href="#tabs-4"><?=$this->translate('Situation juridique')?></a></li>
<li><a href="#tabs-5"><?=$this->translate('Situation financière')?></a></li>
</ul>
<div id="tabs-1">
<div id="entreprise">

View File

@ -14,7 +14,7 @@
padding-left:5px;
}
</style>
<h2 style="text-align:center; background-color:#182838; padding:5px; color:white;">Résumé de vos critères</h2>
<h2 style="text-align:center; background-color:#182838; padding:5px; color:white;"><?=$this->translate('Résumé de vos critères')?></h2>
<div id="criteres">
@ -25,9 +25,9 @@
<div style="width:100%;" class="clearfix<?php echo ((($color%2) == 0) ? ' color' : ''); $color++; ?>">
<div style="float:left; margin:2px 0;">
<?=$item['label']?>
<?=$this->translate($item['label'])?>
<?php if ( is_string($item['in']) && !empty($item['in']) ) { ?>
<br/>&nbsp;&nbsp;<?=$item['in']?>
<br/>&nbsp;&nbsp;<?=$this->translate($item['in'])?>
<?php } elseif ( is_array($item['in']) || is_array($item['ex']) ) {?>
<br/>&nbsp;&nbsp;<a class="criterelist" title="<?=$item['label']?>" href="<?=$this->url(array('controller'=>'index', 'action'=>'criterelist', 'key'=>$critere), null, true)?>">Liste</a>
<?php }?>
@ -46,11 +46,11 @@
</div>
<div style="text-align:center; border:1px solid #ffffff; background-color:#182838; padding:5px;">
<a style="color:white; text-decoration:none;" href="/comptage/reset">Initialiser les critères</a>
<a style="color:white; text-decoration:none;" href="/comptage/reset"><?=$this->translate('Initialiser les critères')?></a>
</div>
<div style="text-align:center; border:1px solid #ffffff; background-color:#182838; padding:5px;">
<a style="color:white; text-decoration:none;" class="previsualisation" href="/comptage/previsualisation">Prévisualisation</a>
<a style="color:white; text-decoration:none;" class="previsualisation" href="/comptage/previsualisation"><?=$this->translate('Prévisualisation')?></a>
</div>
<div style="text-align:center; border:1px solid #ffffff; background-color:#182838; padding:5px;">
<a style="color:white; text-decoration:none;" class="saveciblage" href="/comptage/savedialog">Extraire</a>
<a style="color:white; text-decoration:none;" class="saveciblage" href="/comptage/savedialog"><?=$this->translate('Extraire')?></a>
</div>

View File

@ -1,7 +1,7 @@
<?php if ($this->CiblageError) { ?>
<div id="CiblageError">
Erreur ! Le moteur de ciblage n'est pas disponible !
<?=$this->translate('Erreur ! Le moteur de ciblage n\'est pas disponible !')?>
</div>
<?php } else {?>

View File

@ -3,14 +3,14 @@
<?php if ($this->msgComptage){?>
<div id="comptage" >
<?php if ( $this->total!==null ) {?>
Sélection :
<?=$this->translate('Sélection')?> :
<span class="valeur"><?=number_format($this->total, 0, '', ' ')?></span>
<?php if ( $this->insee!==null ) {?>
(dont <span class="valeur"><?=number_format($this->insee, 0, '', ' ')?></span> unité(s) insee)
<?php }?>
<?php } else {?>
Aucune sélection.
<?php }?>
<?php } else {
echo $this->translate('Aucune sélection');
}?>
</div>
<div id="attente" style="display:none;">
<img src="/themes/default/images/ajax.gif" />
@ -22,13 +22,13 @@
<?php }?>
</div>
<ul>
<li><a href="<?=$this->url(array('controller'=>'index', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='accueil') echo ' class="active"';?>>Accueil</a></li>
<li><a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='dashboard') echo ' class="active"';?>>Tableau de bord</a></li>
<li><a href="<?=$this->url(array('controller'=>'aide', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='aide') echo ' active';?>>Aide</a></li>
<li><a href="<?=$this->url(array('controller'=>'aide', 'action'=>'aproposde'), null, true)?>"<?php if ($this->menuActive=='aproposde') echo ' class="active"';?>>A propos de</a></li>
<li><a href="<?=$this->url(array('controller'=>'index', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='accueil') echo ' class="active"';?>><?=$this->translate('Accueil')?></a></li>
<li><a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='dashboard') echo ' class="active"';?>><?=$this->translate('Tableau de bord')?></a></li>
<li><a href="<?=$this->url(array('controller'=>'aide', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='aide') echo ' active';?>><?=$this->translate('Aide')?></a></li>
<li><a href="<?=$this->url(array('controller'=>'aide', 'action'=>'aproposde'), null, true)?>"<?php if ($this->menuActive=='aproposde') echo ' class="active"';?>><?=$this->translate('A propos de')?></a></li>
<?php if ( $this->admin ) {?>
<li><a href="<?=$this->url(array('controller'=>'gestion', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='gestion') echo ' class="active"';?>>Gestion</a></li>
<li><a href="<?=$this->url(array('controller'=>'gestion', 'action'=>'index'), null, true)?>"<?php if ($this->menuActive=='gestion') echo ' class="active"';?>><?=$this->translate('Gestion')?></a></li>
<?php }?>
<li><a href="<?=$this->url(array('controller'=>'user', 'action'=>'logout'), null, true)?>">Déconnexion</a></li>
<li><a href="<?=$this->url(array('controller'=>'user', 'action'=>'logout'), null, true)?>"><?=$this->translate('Déconnexion')?></a></li>
</ul>
</div>