Skip to content

Commit

Permalink
add house description in parameters to help user
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed May 16, 2017
1 parent 5aea695 commit a6d0394
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"area-new": "New",
"area-delete": "Delete",
"house-box-title": "Houses",
"house-box-description": "You can define here your houses in Gladys. Latitude and longitude can be found on Google Maps, and must be entered with the format (example): Latitude = 42.1, Longitude = 40.1. Remember, all this is saved on your machine and do not leave your Gladys installation.",
"room-box-title": "Rooms",
"mode-box-title": "Modes",
"mode-box-description": "Modes are states the house can take. A house can be in one and only one mode at the same time.",
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@
"area-new": "Nouveau",
"area-delete": "Supprimer",
"house-box-title": "Maisons",
"house-box-description": "Vous pouvez définir ici votre maison dans Gladys. Pour la latitude et la longitude, vous pouvez utiliser Google Maps pour trouver la latitude et la longitude votre maison, et la rentrer au format (par exemple) : latitude = 42.1, longitude = 43.2. Rappel: Toutes ces données restent en locale sur votre machine, et ne sont jamais envoyées nulle part.",
"room-box-title": "Pièces",
"mode-box-title": "Modes",
"mode-box-description": "Les modes sont des états que la maison peut prendre. Une maison peut être dans un et un seul mode à la fois.",
Expand Down
4 changes: 4 additions & 0 deletions views/partials/houses.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

<div class="box-body table-responsive">

<p>
<%= __('house-box-description') %>
</p>

<table id="example2" class="table table-bordered table-hover">
<thead>
<tr>
Expand Down

0 comments on commit a6d0394

Please sign in to comment.