Skip to content

Commit

Permalink
chore: update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
janwo committed Sep 23, 2023
1 parent 778b694 commit b2b46c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion smartblueberry/backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import optionsPlugin from './plugins/homeassistant/options.js'
export const env = {
HTTP_PORT: process.env.HTTP_PORT || 8099,
BUILD: process.env.BUILD || 'production',
CONFIG_DIR: process.env.CONFIG_DIR || `data/`,
CONFIG_DIR: process.env.CONFIG_DIR || `/data/`,
JWT_SECRET: process.env.JWT_SECRET || randomUUID(),
HOMEASSISTANT_URL: process.env.HOMEASSISTANT_URL || 'http://localhost:8123',
SUPERVISOR_REST_URL:
Expand Down
2 changes: 1 addition & 1 deletion smartblueberry/frontend/src/app/setup/setup.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h2 i18n>Long-Lived Connection to Home Assistant</h2>
i18n
type="submit"
(click)="unsetGlobalConnection()"
class="button is-light is-primary"
class="button is-light"
>
Disconnect
</button>
Expand Down
2 changes: 1 addition & 1 deletion smartblueberry/frontend/src/locale/messages.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
</trans-unit>
<trans-unit id="6794539510797219055" datatype="html">
<source> Assuming no rain and an evaporation of <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/>1mm<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> / <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/>1in<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> a day, your plants need <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION" equiv-text="{{ form.value().evaporationFactor }}"/>mm<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> / <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION" equiv-text="{{ form.value().evaporationFactor }}"/>in<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> of water per day. Your valve irrigates <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_1" equiv-text="{{ form.value().irrigationVolumePerMinute }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> per minute. Consequently the valve will irrigate for <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_2" equiv-text="{{&#10; calculatedMinutes(form.value())&#10; | i18nPlural&#10; : {&#10; '=0': '0 minutes',&#10; '=1': '1 minute',&#10; other: '# minutes'&#10; }&#10; }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/>, if there was no rain for <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_3" equiv-text="{{&#10; form.value().observedDays | i18nPlural : this.i18nPluralMapping&#10; }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> and will be no rain in <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_4" equiv-text="{{&#10; form.value().overshootDays | i18nPlural : this.i18nPluralMapping&#10; }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/>. </source>
<target state="translated"> Unter der Annahme von keinem Regen und einer Verdunstung von <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/>1mm</target>
<target state="translated"> Basierend auf der Annahme von Bedingungen ohne Regen und einer Verdunstung von <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/>1mm<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> / <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/>1in<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> pro Tag, benötigen deine Pflanzen <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION" equiv-text="{{ form.value().evaporationFactor }}"/>mm<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> / <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION" equiv-text="{{ form.value().evaporationFactor }}"/>in<x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> Wasser am Tag. Das Ventil bewässert <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_1" equiv-text="{{ form.value().irrigationVolumePerMinute }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> pro Minute. Somit wird das Ventil für <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_2" equiv-text="{{&#10; calculatedMinutes(form.value())&#10; | i18nPlural&#10; : {&#10; '=0': '0 Minuten',&#10; '=1': '1 Minute',&#10; other: '# Minuten'&#10; }&#10; }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> bewässern, wenn seit <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_3" equiv-text="{{&#10; form.value().observedDays | i18nPlural : this.i18nPluralMapping&#10; }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> kein Regen gefallen ist und es auch in <x id="START_TAG_CODE" ctype="x-code" equiv-text="&lt;code>"/><x id="INTERPOLATION_4" equiv-text="{{&#10; form.value().overshootDays | i18nPlural : this.i18nPluralMapping&#10; }}"/><x id="CLOSE_TAG_CODE" ctype="x-code" equiv-text="&lt;/code&#10; >"/> kein Regen gibt. </target>
<context-group purpose="location">
<context context-type="sourcefile">frontend/src/app/irrigation/irrigation.component.html</context>
<context context-type="linenumber">102,128</context>
Expand Down

0 comments on commit b2b46c1

Please sign in to comment.