Allow to enter total cost or cost per KWh used

Closes #457
This commit is contained in:
Adrian Kumpf
2020-03-11 15:11:13 +01:00
parent 9994d77111
commit 14a5acf7cb
12 changed files with 195 additions and 42 deletions
+15 -5
View File
@@ -125,7 +125,7 @@ msgid "Units"
msgstr "Einheiten"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:108
#: lib/teslamate_web/templates/charge/cost.html.leex:114
#: lib/teslamate_web/templates/geo_fence/form.html.leex:137
msgid "Back"
msgstr "Zurück"
@@ -169,13 +169,13 @@ msgid "Radius"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:111
#: lib/teslamate_web/templates/charge/cost.html.leex:117
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140
msgid "Save"
msgstr "Speichern"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:112
#: lib/teslamate_web/templates/charge/cost.html.leex:118
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140 lib/teslamate_web/templates/signin/index.html.leex:33
msgid "Saving..."
msgstr "Speichere..."
@@ -440,12 +440,12 @@ msgid "Cost"
msgstr "Kosten"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:95
#: lib/teslamate_web/templates/charge/cost.html.leex:101
msgid "Enter charge cost"
msgstr "Ladekosten eingeben"
#, elixir-format
#: lib/teslamate_web/live/charge_live/cost.ex:48
#: lib/teslamate_web/live/charge_live/cost.ex:64
msgid "Saved!"
msgstr "Gespeichert!"
@@ -540,3 +540,13 @@ msgstr "Sessionpreis"
#: lib/teslamate_web/templates/car/summary.html.leex:53
msgid "Doors open"
msgstr "Türen geöffnet"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Per kWh"
msgstr "Pro kWh"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Total"
msgstr "Gesamt"
+15 -5
View File
@@ -124,7 +124,7 @@ msgid "Units"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:108
#: lib/teslamate_web/templates/charge/cost.html.leex:114
#: lib/teslamate_web/templates/geo_fence/form.html.leex:137
msgid "Back"
msgstr ""
@@ -168,13 +168,13 @@ msgid "Radius"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:111
#: lib/teslamate_web/templates/charge/cost.html.leex:117
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140
msgid "Save"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:112
#: lib/teslamate_web/templates/charge/cost.html.leex:118
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140 lib/teslamate_web/templates/signin/index.html.leex:33
msgid "Saving..."
msgstr ""
@@ -439,12 +439,12 @@ msgid "Cost"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:95
#: lib/teslamate_web/templates/charge/cost.html.leex:101
msgid "Enter charge cost"
msgstr ""
#, elixir-format
#: lib/teslamate_web/live/charge_live/cost.ex:48
#: lib/teslamate_web/live/charge_live/cost.ex:64
msgid "Saved!"
msgstr ""
@@ -539,3 +539,13 @@ msgstr ""
#: lib/teslamate_web/templates/car/summary.html.leex:53
msgid "Doors open"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Per kWh"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Total"
msgstr ""
+15 -5
View File
@@ -125,7 +125,7 @@ msgid "Units"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:108
#: lib/teslamate_web/templates/charge/cost.html.leex:114
#: lib/teslamate_web/templates/geo_fence/form.html.leex:137
msgid "Back"
msgstr ""
@@ -169,13 +169,13 @@ msgid "Radius"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:111
#: lib/teslamate_web/templates/charge/cost.html.leex:117
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140
msgid "Save"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:112
#: lib/teslamate_web/templates/charge/cost.html.leex:118
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140 lib/teslamate_web/templates/signin/index.html.leex:33
msgid "Saving..."
msgstr ""
@@ -440,12 +440,12 @@ msgid "Cost"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:95
#: lib/teslamate_web/templates/charge/cost.html.leex:101
msgid "Enter charge cost"
msgstr ""
#, elixir-format
#: lib/teslamate_web/live/charge_live/cost.ex:48
#: lib/teslamate_web/live/charge_live/cost.ex:64
msgid "Saved!"
msgstr ""
@@ -540,3 +540,13 @@ msgstr ""
#: lib/teslamate_web/templates/car/summary.html.leex:53
msgid "Doors open"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Per kWh"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Total"
msgstr ""
+15 -5
View File
@@ -124,7 +124,7 @@ msgid "Units"
msgstr "Unités"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:108
#: lib/teslamate_web/templates/charge/cost.html.leex:114
#: lib/teslamate_web/templates/geo_fence/form.html.leex:137
msgid "Back"
msgstr "Retour"
@@ -168,13 +168,13 @@ msgid "Radius"
msgstr "Rayon"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:111
#: lib/teslamate_web/templates/charge/cost.html.leex:117
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140
msgid "Save"
msgstr "Enregistrer"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:112
#: lib/teslamate_web/templates/charge/cost.html.leex:118
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140 lib/teslamate_web/templates/signin/index.html.leex:33
msgid "Saving..."
msgstr "Enregistrement..."
@@ -439,12 +439,12 @@ msgid "Cost"
msgstr "Coût"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:95
#: lib/teslamate_web/templates/charge/cost.html.leex:101
msgid "Enter charge cost"
msgstr "Entrez le coût de charge"
#, elixir-format
#: lib/teslamate_web/live/charge_live/cost.ex:48
#: lib/teslamate_web/live/charge_live/cost.ex:64
msgid "Saved!"
msgstr "Enregistré!"
@@ -539,3 +539,13 @@ msgstr "Prix fixe"
#: lib/teslamate_web/templates/car/summary.html.leex:53
msgid "Doors open"
msgstr "Porte ouverte"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Per kWh"
msgstr "Par kWh"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Total"
msgstr "Total"
+15 -5
View File
@@ -125,7 +125,7 @@ msgid "Units"
msgstr "Enheter"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:108
#: lib/teslamate_web/templates/charge/cost.html.leex:114
#: lib/teslamate_web/templates/geo_fence/form.html.leex:137
msgid "Back"
msgstr "Tilbake"
@@ -169,13 +169,13 @@ msgid "Radius"
msgstr "Radius"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:111
#: lib/teslamate_web/templates/charge/cost.html.leex:117
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140
msgid "Save"
msgstr "Lagre"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:112
#: lib/teslamate_web/templates/charge/cost.html.leex:118
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140 lib/teslamate_web/templates/signin/index.html.leex:33
msgid "Saving..."
msgstr "Lagrer..."
@@ -440,12 +440,12 @@ msgid "Cost"
msgstr "Kost"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:95
#: lib/teslamate_web/templates/charge/cost.html.leex:101
msgid "Enter charge cost"
msgstr "Angi ladekost"
#, elixir-format
#: lib/teslamate_web/live/charge_live/cost.ex:48
#: lib/teslamate_web/live/charge_live/cost.ex:64
msgid "Saved!"
msgstr "Lagret!"
@@ -540,3 +540,13 @@ msgstr ""
#: lib/teslamate_web/templates/car/summary.html.leex:53
msgid "Doors open"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Per kWh"
msgstr "Per kWh"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Total"
msgstr "Totale"
+15 -5
View File
@@ -125,7 +125,7 @@ msgid "Units"
msgstr "Enheter"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:108
#: lib/teslamate_web/templates/charge/cost.html.leex:114
#: lib/teslamate_web/templates/geo_fence/form.html.leex:137
msgid "Back"
msgstr "Tillbaka"
@@ -169,13 +169,13 @@ msgid "Radius"
msgstr "Radie"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:111
#: lib/teslamate_web/templates/charge/cost.html.leex:117
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140
msgid "Save"
msgstr "Spara"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:112
#: lib/teslamate_web/templates/charge/cost.html.leex:118
#: lib/teslamate_web/templates/geo_fence/form.html.leex:140 lib/teslamate_web/templates/signin/index.html.leex:33
msgid "Saving..."
msgstr "Sparar..."
@@ -440,12 +440,12 @@ msgid "Cost"
msgstr "Kostnad"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:95
#: lib/teslamate_web/templates/charge/cost.html.leex:101
msgid "Enter charge cost"
msgstr "Ange laddningskostnad"
#, elixir-format
#: lib/teslamate_web/live/charge_live/cost.ex:48
#: lib/teslamate_web/live/charge_live/cost.ex:64
msgid "Saved!"
msgstr "Sparat!"
@@ -540,3 +540,13 @@ msgstr ""
#: lib/teslamate_web/templates/car/summary.html.leex:53
msgid "Doors open"
msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Per kWh"
msgstr "Per kWh"
#, elixir-format
#: lib/teslamate_web/templates/charge/cost.html.leex:94
msgid "Total"
msgstr "Total"