Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Labels to Title Case #578

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/teslamate_web/templates/car/summary.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</span>
<% end %>
<%= if @summary.plugged_in do %>
<span class="icon has-text-grey-dark has-tooltip-top has-tooltip-left-mobile" data-tooltip='<%= gettext "Plugged in" %>'>
<span class="icon has-text-grey-dark has-tooltip-top has-tooltip-left-mobile" data-tooltip='<%= gettext "Plugged In" %>'>
<span class="mdi mdi-power-plug"></span>
</span>
<% end %>
Expand Down Expand Up @@ -166,7 +166,7 @@
<%= if @summary.plugged_in do %>
<%= if not is_nil(@summary.scheduled_charging_start_time) do %>
<tr>
<td class="has-text-weight-medium"><%= gettext "Scheduled charging" %></td>
<td class="has-text-weight-medium"><%= gettext "Scheduled Charging" %></td>
<td><%=
tag :span, data: [date: @summary.scheduled_charging_start_time |> DateTime.to_iso8601()],
phx_hook: "LocalTime"
Expand All @@ -175,7 +175,7 @@
<% end %>
<%= if not is_nil(@summary.charge_limit_soc) do %>
<tr>
<td class="has-text-weight-medium"><%= gettext "Charge limit" %></td>
<td class="has-text-weight-medium"><%= gettext "Charge Limit" %></td>
<td><%= @summary.charge_limit_soc %>%</td>
</tr>
<% end %>
Expand Down Expand Up @@ -235,7 +235,7 @@
<%= if @summary.state not in [:asleep, :offline, :suspended] or DateTime.diff(DateTime.utc_now(), @summary.since) < 30*60 do %>
<%= unless is_nil(@summary.outside_temp) do %>
<tr>
<td class="has-text-weight-medium"><%= gettext "Outside temperature" %></td>
<td class="has-text-weight-medium"><%= gettext "Outside Temperature" %></td>
<td><%=
if @settings.unit_of_temperature == :F do
"#{Convert.celsius_to_fahrenheit(@summary.outside_temp, 1)} °F"
Expand All @@ -247,7 +247,7 @@
<% end %>
<%= unless is_nil(@summary.inside_temp) do %>
<tr>
<td class="has-text-weight-medium"><%= gettext "Inside temperature" %></td>
<td class="has-text-weight-medium"><%= gettext "Inside Temperature" %></td>
<td><%=
if @settings.unit_of_temperature == :F do
"#{Convert.celsius_to_fahrenheit(@summary.inside_temp, 1)} °F"
Expand Down
2 changes: 1 addition & 1 deletion lib/teslamate_web/templates/geo_fence/form.html.leex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="breadcrumb" aria-label="breadcrumbs">
<ul>
<li><%= link gettext("Home"), to: "/" %></li>
<li><%= link gettext("Geo-fences"), to: "/geo-fences" %></li>
<li><%= link gettext("Geo-Fences"), to: "/geo-fences" %></li>
<li class="is-active"><a href="#"><%=
case @action do
:new -> Ecto.Changeset.get_field(@changeset, :name) || "…"
Expand Down
2 changes: 1 addition & 1 deletion lib/teslamate_web/templates/geo_fence/index.html.leex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="breadcrumb" aria-label="breadcrumbs">
<ul>
<li><%= link gettext("Home"), to: "/" %></li>
<li class="is-active"><%= link gettext("Geo-fences"), to: "/geo-fences" %></li>
<li class="is-active"><%= link gettext("Geo-Fences"), to: "/geo-fences" %></li>
</ul>
</nav>

Expand Down
2 changes: 1 addition & 1 deletion lib/teslamate_web/templates/settings/index.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ end %>
<div class="field is-horizontal center-vertically">
<div class="field-label is-normal">
<%= label f, :preferred_range, class: "label has-tooltip-multiline", data_tooltip: gettext("The car's estimate of remaining range is based on a fixed energy consumption in Wh/km. The Wh/km factor is determined by Tesla and is not country specific whereas the rated range is based on regulatory tests in the different markets for that vehicle.") do %>
<%= gettext("Preferred range") %> <span class="icon is-small" >
<%= gettext("Preferred Range") %> <span class="icon is-small" >
<span class="mdi mdi-information"></span>
</span>
<% end %>
Expand Down
20 changes: 8 additions & 12 deletions priv/gettext/de/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ msgstr "Einstellungen"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:165
msgid "Scheduled charging"
msgid "Scheduled Charging"
msgstr "Ladezeitpunkt"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:43
msgid "Plugged in"
msgid "Plugged In"
msgstr "Eingesteckt"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:174
msgid "Charge limit"
msgid "Charge Limit"
msgstr "Ladelimit"

#, elixir-format
Expand Down Expand Up @@ -130,11 +130,6 @@ msgstr "Einheiten"
msgid "Back"
msgstr "Zurück"

#, elixir-format
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr ""

#, elixir-format
#: lib/teslamate_web/live/geofence_live/form.ex:202
msgid "Geo-fence \"%{name}\" created"
Expand All @@ -143,7 +138,8 @@ msgstr "Geo-Fence \"%{name}\" erstellt"
#, elixir-format
#: lib/teslamate_web/templates/geo_fence/form.html.leex:4
#: lib/teslamate_web/templates/geo_fence/index.html.leex:4
msgid "Geo-fences"
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr "Geo-Fences"

#, elixir-format
Expand Down Expand Up @@ -265,7 +261,7 @@ msgstr "Ladeleistung"

#, elixir-format
#: lib/teslamate_web/templates/settings/index.html.leex:141
msgid "Preferred range"
msgid "Preferred Range"
msgstr "Bevorzugte Reichweite"

#, elixir-format
Expand Down Expand Up @@ -310,12 +306,12 @@ msgstr "'%{geo_fence}' löschen?"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:246
msgid "Inside temperature"
msgid "Inside Temperature"
msgstr "Innentemperatur"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:234
msgid "Outside temperature"
msgid "Outside Temperature"
msgstr "Außentemperatur"

#, elixir-format
Expand Down
20 changes: 8 additions & 12 deletions priv/gettext/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,17 @@ msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:165
msgid "Scheduled charging"
msgid "Scheduled Charging"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:43
msgid "Plugged in"
msgid "Plugged In"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:174
msgid "Charge limit"
msgid "Charge Limit"
msgstr ""

#, elixir-format
Expand Down Expand Up @@ -129,11 +129,6 @@ msgstr ""
msgid "Back"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr ""

#, elixir-format
#: lib/teslamate_web/live/geofence_live/form.ex:202
msgid "Geo-fence \"%{name}\" created"
Expand All @@ -142,7 +137,8 @@ msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/geo_fence/form.html.leex:4
#: lib/teslamate_web/templates/geo_fence/index.html.leex:4
msgid "Geo-fences"
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr ""

#, elixir-format
Expand Down Expand Up @@ -264,7 +260,7 @@ msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/settings/index.html.leex:141
msgid "Preferred range"
msgid "Preferred Range"
msgstr ""

#, elixir-format
Expand Down Expand Up @@ -309,12 +305,12 @@ msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:246
msgid "Inside temperature"
msgid "Inside Temperature"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:234
msgid "Outside temperature"
msgid "Outside Temperature"
msgstr ""

#, elixir-format
Expand Down
20 changes: 8 additions & 12 deletions priv/gettext/en/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:165
msgid "Scheduled charging"
msgid "Scheduled Charging"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:43
msgid "Plugged in"
msgid "Plugged In"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:174
msgid "Charge limit"
msgid "Charge Limit"
msgstr ""

#, elixir-format
Expand Down Expand Up @@ -130,11 +130,6 @@ msgstr ""
msgid "Back"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr ""

#, elixir-format
#: lib/teslamate_web/live/geofence_live/form.ex:202
msgid "Geo-fence \"%{name}\" created"
Expand All @@ -143,7 +138,8 @@ msgstr ""
#, elixir-format
#: lib/teslamate_web/templates/geo_fence/form.html.leex:4
#: lib/teslamate_web/templates/geo_fence/index.html.leex:4
msgid "Geo-fences"
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr ""

#, elixir-format
Expand Down Expand Up @@ -265,7 +261,7 @@ msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/settings/index.html.leex:141
msgid "Preferred range"
msgid "Preferred Range"
msgstr ""

#, elixir-format
Expand Down Expand Up @@ -310,12 +306,12 @@ msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:246
msgid "Inside temperature"
msgid "Inside Temperature"
msgstr ""

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:234
msgid "Outside temperature"
msgid "Outside Temperature"
msgstr ""

#, elixir-format
Expand Down
20 changes: 8 additions & 12 deletions priv/gettext/es/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ msgstr "Ajustes"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:165
msgid "Scheduled charging"
msgid "Scheduled Charging"
msgstr "Carga programada"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:43
msgid "Plugged in"
msgid "Plugged In"
msgstr "Enchufado"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:174
msgid "Charge limit"
msgid "Charge Limit"
msgstr "Límite de carga"

#, elixir-format
Expand Down Expand Up @@ -130,11 +130,6 @@ msgstr "Unidades"
msgid "Back"
msgstr "Atrás"

#, elixir-format
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr "Geovalla"

#, elixir-format
#: lib/teslamate_web/live/geofence_live/form.ex:202
msgid "Geo-fence \"%{name}\" created"
Expand All @@ -143,7 +138,8 @@ msgstr "Geovalla \"%{name}\" creada"
#, elixir-format
#: lib/teslamate_web/templates/geo_fence/form.html.leex:4
#: lib/teslamate_web/templates/geo_fence/index.html.leex:4
msgid "Geo-fences"
#: lib/teslamate_web/templates/layout/root.html.eex:56
msgid "Geo-Fences"
msgstr "Geovalla"

#, elixir-format
Expand Down Expand Up @@ -265,7 +261,7 @@ msgstr "Potencia del cargador"

#, elixir-format
#: lib/teslamate_web/templates/settings/index.html.leex:141
msgid "Preferred range"
msgid "Preferred Range"
msgstr "Autonomía preferida"

#, elixir-format
Expand Down Expand Up @@ -310,12 +306,12 @@ msgstr "¿Borrar '%{geo_fence}'?"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:246
msgid "Inside temperature"
msgid "Inside Temperature"
msgstr "Temperatura en el interior"

#, elixir-format
#: lib/teslamate_web/templates/car/summary.html.leex:234
msgid "Outside temperature"
msgid "Outside Temperature"
msgstr "Temperatura en el exterior"

#, elixir-format
Expand Down
Loading