Skip to content

Commit

Permalink
Change french translation of devices and maps
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Jul 22, 2018
1 parent c019b25 commit 4d4ec04
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
21 changes: 12 additions & 9 deletions config/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@
"Room": "Pièce",
"Define user's sleep room":"Associez les utilisateurs à leur chambre",
"My lamp" : "Mes lampes",
"My devices" : "Mes appareils",
"Device":"Appareil",
"My devices" : "Mes périphériques",
"Devices": "Périphériques",
"Device":"Périphériques",
"devices-see-more": "Voir plus",
"Manage your scenarios":"Gérez vos scénarios",
"Triggers" :"Déclencheurs",
"Trigger" : "Déclencheur",
Expand Down Expand Up @@ -185,10 +187,10 @@
"pagename-sensor":"Capteurs",
"pagename-alarm":"Alarmes",
"pagename-me":"Moi",
"pagename-maps":"Maps",
"pagename-maps":"Plan",
"pagename-music":"Musique",
"pagename-module": "Modules",
"pagename-device": "Device",
"pagename-device": "Périphériques",
"pagename-sentence": "Cerveau",
"dashboard-default-box-title": "Bienvenue dans Gladys !",
"dashboard-default-box-text": "Vous êtes sur le dashboard principal de Gladys, c'est ici que sont regroupées les informations importantes. Pour ajouter des boxs sur ce dashboard, vous pouvez aller dans \"Paramètres\" puis \"Boxs\".",
Expand All @@ -204,9 +206,10 @@
"script-modal-title": "Nouveau script",
"script-modal-name": "Nom du script",
"script-modal-create": "Créer",
"devices-list": "Mes devices",
"devices-list": "Mes périphériques",
"devices-data": "Courbes",
"devices-select-device-type": "Sélectionnez un device",
"devices-select-device-type": "Sélectionnez un périphérique",
"devices-devicetype-modal-title": "Fonctionnalités",
"devices-skip-previous": "Précédents",
"devices-skip-next": "Suivant",
"devices-types-ID": "ID",
Expand All @@ -224,7 +227,7 @@
"devices-sensor-false": "Non",
"devices-types-on": "On",
"devices-types-off": "Off",
"devices-control": "Contrôler mes devices",
"devices-control": "Contrôler mes périphériques",
"device-name": "Nom",
"device-action": "Action",
"devices-types-changevalue": "Modifier",
Expand Down Expand Up @@ -530,7 +533,7 @@
"box-who-is-at-home-nobody": "Personne.",
"box-chart-title": "Courbes",
"box-chart-empty-state": "Sélectionnez un périphérique !",
"box-device-value-title": "Device",
"box-device-value-title": "Périphérique",
"Edit": "Editer",
"Create-event": "Créer un événement",
"New-event": "Nouvel événement",
Expand All @@ -544,7 +547,7 @@
"box-device-room-default-title": "Choisissez une pièce",
"box-devices-select-room": "Sélectionnez la pièce que vous souhaitez surveiller sur cette box :",
"box-devices-room-validate": "Valider",
"box-device-room-title": "Device par pièce",
"box-device-room-title": "Périphériques par pièce",
"module-config-view-configuration": "Configuration",
"module-config-view-back": "Retour",
"module-config-view-main-tab-title": "Configuration",
Expand Down
6 changes: 3 additions & 3 deletions views/device/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<th><%= __('Service') %></th>
<th><%= __('Room') %></th>
<th><%= __('User') %></th>
<th><%= __('Device') %></th>
<th><%= __('devices-see-more') %></th>
<th><%= __('Action') %></th>
</tr>
</thead>
Expand All @@ -134,7 +134,7 @@
ng-model="device.user" ng-change="vm.updateDevice(device);">
</select>
</td>
<td><button class="btn btn-flat btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg" ng-click="vm.selectDevice(device);" ><%= __('Device') %></button></td>
<td><button class="btn btn-flat btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg" ng-click="vm.selectDevice(device);" ><%= __('devices-see-more') %></button></td>
<td><button class="btn btn-flat btn-danger" ng-click="vm.deleteDevice($index, device.id);" ><%= __('Delete') %></button></td>
</tr>
<tr>
Expand Down Expand Up @@ -223,7 +223,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myLargeModalLabel"><%= __('Device') %></h4>
<h4 class="modal-title" id="myLargeModalLabel"><%= __('devices-devicetype-modal-title') %></h4>
</div>
<div class="modal-body">
<div class="box-body table-responsive">
Expand Down
2 changes: 1 addition & 1 deletion views/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
</li>
<li id="mapsLi" class="treeview">
<a href="/dashboard/maps">
<i class="fa fa-map-marker"></i> <span><%= __('Maps') %></span>
<i class="fa fa-map-marker"></i> <span><%= __('pagename-maps') %></span>
</a>
</li>
<li id="brainLi" class="treeview">
Expand Down
4 changes: 2 additions & 2 deletions views/maps/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<%= __('Maps') %>
<%= __('pagename-maps') %>
<small><%= __('Control Panel') %></small>
</h1>
<ol class="breadcrumb">
<li><p><i class="fa fa-dashboard"></i> <%= __('Home') %></p></li>
<li class="active"><%= __('Maps') %></li>
<li class="active"><%= __('pagename-maps') %></li>
</ol>
</section>

Expand Down

0 comments on commit 4d4ec04

Please sign in to comment.