From 70a666f1a95e1e4c3bbaaa85cee38af18cdaa31e Mon Sep 17 00:00:00 2001 From: C4rlit0 Date: Mon, 19 Feb 2018 23:22:51 +0100 Subject: [PATCH] Add missing btn-flat class & few translate correction --- config/locales/en.json | 3 +++ config/locales/fr.json | 3 ++- views/boxs/camera.ejs | 2 +- views/boxs/event.ejs | 2 +- views/boxs/mode.ejs | 2 +- views/boxs/music.ejs | 10 +++++----- views/boxs/who-is-at-home.ejs | 2 +- views/layout.ejs | 2 +- views/module/index.ejs | 2 +- views/parametres/index.ejs | 4 ++-- views/partials/areas.ejs | 2 +- views/partials/boxconfig.ejs | 2 +- views/partials/houses.ejs | 2 +- views/partials/modes.ejs | 2 +- views/partials/notifications.ejs | 2 +- 15 files changed, 23 insertions(+), 19 deletions(-) diff --git a/config/locales/en.json b/config/locales/en.json index 5539098728..d36c96d47a 100755 --- a/config/locales/en.json +++ b/config/locales/en.json @@ -114,6 +114,7 @@ "installation-role-habitant": "Habitant", "installation-role-guest": "Guest", "search-placeholder": "What can I do for you ?", + "Parameters":"Parameters", "parameters-general": "General", "parameters-house": "Houses", "parameters-areas": "Areas", @@ -186,6 +187,7 @@ "mode-description": "Description", "mode-action": "Action", "mode-delete": "Delete", + "mode-new": "New", "token-description": "Token are keys allowing you to contact Gladys HTTP API remotely. For example, to get houses : GET http://GLADYS_URL/house?token=YOUR_TOKEN", "parameters-param": "Parameters", "param-box-title": "Parameters", @@ -334,6 +336,7 @@ "box-calendar-title": "Calendar", "box-weather-title": "Weather", "box-event-title": "Event", + "box-event-create": "Create", "box-camera-title": "Camera", "box-camera-explanation": "Enter here the URL of the image/video flux :", "box-camera-tutorial": "Tutorial example :", diff --git a/config/locales/fr.json b/config/locales/fr.json index d65c036652..e0e96eb5ff 100755 --- a/config/locales/fr.json +++ b/config/locales/fr.json @@ -42,7 +42,7 @@ "Scenarios":"Scénarios", "Sensors":"Capteurs", "Calendar":"Calendrier", - "Parametres":"Paramètres", + "Parameters":"Paramètres", "Search":"Faire une recherche", "View All":"Voir toutes", "You have":"Vous avez", @@ -495,6 +495,7 @@ "box-calendar-title": "Calendrier", "box-weather-title": "Météo", "box-event-title": "Event", + "box-event-create": "Créer", "box-camera-title": "Camera", "box-camera-explanation": "Entrez ici l'URL de votre image ou de votre flux vidéo :", "box-camera-tutorial": "Exemple de tutoriel :", diff --git a/views/boxs/camera.ejs b/views/boxs/camera.ejs index e7c98701b9..fad011c0cd 100644 --- a/views/boxs/camera.ejs +++ b/views/boxs/camera.ejs @@ -14,7 +14,7 @@
- +
diff --git a/views/boxs/event.ejs b/views/boxs/event.ejs index b56cb33e64..0bb84fd659 100644 --- a/views/boxs/event.ejs +++ b/views/boxs/event.ejs @@ -18,7 +18,7 @@
-
+
diff --git a/views/boxs/mode.ejs b/views/boxs/mode.ejs index a12b807d55..1288fd7e2d 100644 --- a/views/boxs/mode.ejs +++ b/views/boxs/mode.ejs @@ -21,7 +21,7 @@
-
diff --git a/views/boxs/music.ejs b/views/boxs/music.ejs index 3fbaf01fc9..9022cb6a53 100644 --- a/views/boxs/music.ejs +++ b/views/boxs/music.ejs @@ -13,10 +13,10 @@
{{vm.currentTrack.title}} - {{vm.currentTrack.artist}}
-
-
-
-
+
+
+
+
@@ -43,7 +43,7 @@ -
+
diff --git a/views/boxs/who-is-at-home.ejs b/views/boxs/who-is-at-home.ejs index 87d9b4fba5..c5de68a0a1 100644 --- a/views/boxs/who-is-at-home.ejs +++ b/views/boxs/who-is-at-home.ejs @@ -11,7 +11,7 @@
- +
diff --git a/views/layout.ejs b/views/layout.ejs index 9e150d805d..c357b075c5 100755 --- a/views/layout.ejs +++ b/views/layout.ejs @@ -160,7 +160,7 @@
  • - <%= __('Parametres') %> + <%= __('Parameters') %>
  • diff --git a/views/module/index.ejs b/views/module/index.ejs index 52b35a8abd..8c5722b381 100644 --- a/views/module/index.ejs +++ b/views/module/index.ejs @@ -166,7 +166,7 @@ diff --git a/views/parametres/index.ejs b/views/parametres/index.ejs index 6d67889d96..35db7ab7c9 100644 --- a/views/parametres/index.ejs +++ b/views/parametres/index.ejs @@ -3,12 +3,12 @@

    - <%= __('Parametres') %> + <%= __('Parameters') %> <%= __('Control Panel') %>

    diff --git a/views/partials/areas.ejs b/views/partials/areas.ejs index c60bc0d867..c3db5c5010 100644 --- a/views/partials/areas.ejs +++ b/views/partials/areas.ejs @@ -31,7 +31,7 @@ - +
    diff --git a/views/partials/boxconfig.ejs b/views/partials/boxconfig.ejs index 48843be9f0..d5f5526383 100644 --- a/views/partials/boxconfig.ejs +++ b/views/partials/boxconfig.ejs @@ -43,7 +43,7 @@ - + diff --git a/views/partials/houses.ejs b/views/partials/houses.ejs index 628bd2ab9c..8a8b10fedb 100644 --- a/views/partials/houses.ejs +++ b/views/partials/houses.ejs @@ -47,7 +47,7 @@ - + diff --git a/views/partials/modes.ejs b/views/partials/modes.ejs index 2614285d01..4deab3efa5 100644 --- a/views/partials/modes.ejs +++ b/views/partials/modes.ejs @@ -27,7 +27,7 @@ - + diff --git a/views/partials/notifications.ejs b/views/partials/notifications.ejs index b940ca6916..a38aa8a5d9 100644 --- a/views/partials/notifications.ejs +++ b/views/partials/notifications.ejs @@ -29,7 +29,7 @@ - +