Skip to content

Commit

Permalink
fix: margin for icon of install app button (#1192)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleidig authored Apr 9, 2022
1 parent 0c99662 commit e79ad03
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 58 deletions.
6 changes: 3 additions & 3 deletions src/app/pwa-install/pwa-install.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
fxFlex
(click)="pwaInstallButtonClicked()"
>
<fa-icon icon="cloud-download-alt" class="nav-icon"></fa-icon>
<fa-icon icon="cloud-download-alt" class="standard-icon-with-text"></fa-icon>
<span i18n="PWA Install Button Label">Install App</span>
</button>

<ng-template #iOSInstallInstructions>
<ng-container i18n="PWA iOS Install Instractions - Line 1">
<ng-container i18n="PWA iOS Install Instructions - Line 1">
To install the app
</ng-container>
<button
Expand All @@ -23,7 +23,7 @@
</button>
<ol>
<li>
<ng-container i18n="PWA iOS Install Instriuctions - Line 2-1">
<ng-container i18n="PWA iOS Install Instructions - Line 2-1">
tap on
</ng-container>
<!-- TODO: Icon should be "arrow-up-from-square" as soon as FontAweseome v6 is available -->
Expand Down
31 changes: 16 additions & 15 deletions src/locale/messages.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
<note priority="1" from="description">Back to overview button after finishing a roll call</note>
</trans-unit>
<trans-unit id="828a009e2c01bece732333b25efb6b62ed46f6ec" datatype="html">
<source> attended <x id="INTERPOLATION" equiv-text="{{ attendanceDescription }"/> events </source>
<source> attended <x id="INTERPOLATION" equiv-text="{{ attendanceDescription }}"/> events </source>
<target state="translated"> haben an <x id="INTERPOLATION" equiv-text="{{attendanceDescription}}"/> events teilgenommen </target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/child-dev-project/attendance/attendance-block/attendance-block.component.html</context>
Expand All @@ -226,7 +226,7 @@
<note priority="1" from="meaning">Attended Tooltip</note>
</trans-unit>
<trans-unit id="ed036f51e8ff8249699a772878a12268f8764150" datatype="html">
<source> (excluding <x id="INTERPOLATION" equiv-text="{{ logicalCount[LStatus.IGNORE] }"/> events excused or unknown) </source>
<source> (excluding <x id="INTERPOLATION" equiv-text="{{ logicalCount[LStatus.IGNORE] }}"/> events excused or unknown) </source>
<target state="translated"> (ausgenommene Events <x id="INTERPOLATION" equiv-text="{{ logicalCount[LStatus.IGNORE] }}"/>; entschuldigt oder unbekannt) </target>
<note priority="1" from="description">How many events were excluded</note>
<note priority="1" from="meaning">Attended Tooltip</note>
Expand All @@ -247,7 +247,7 @@
</context-group>
</trans-unit>
<trans-unit id="06771f30e83b5987e80630effdd08b8ca509b8c6" datatype="html">
<source> All excused (out of <x id="INTERPOLATION" equiv-text="{{ selectedEvent.children.length }"/> <x id="ICU" equiv-text="{ selectedEvent.children.length, plural, one {participant} other
<source> All excused (out of <x id="INTERPOLATION" equiv-text="{{ selectedEvent.children.length }}"/> <x id="ICU" equiv-text="{ selectedEvent.children.length, plural, one {participant} other
{participants} }"/>) </source>
<target state="translated"> Alle entschuldigt (von <x id="INTERPOLATION" equiv-text="{{selectedEvent.children.length}}"/> <x id="ICU" equiv-text="{ selectedEvent.children.length, plural, one {Teilnehmer:in} other {Teilnehmer:innen} }"/>) </target>
<context-group purpose="location">
Expand All @@ -271,7 +271,7 @@
</context-group>
</trans-unit>
<trans-unit id="0dc97840c4fe5e03dfb822aed93db7b7bcc45b9b" datatype="html">
<source> <x id="INTERPOLATION" equiv-text="{{ selectedEventStats.average | percent: &quot;1.0-0&quot; }"/> attended (of <x id="INTERPOLATION_1" equiv-text="{{ selectedEvent.children.length"/> <x id="ICU" equiv-text="{ selectedEvent.children.length, plural, one {participant} other
<source> <x id="INTERPOLATION" equiv-text="{{ selectedEventStats.average | percent: &quot;1.0-0&quot; }}"/> attended (of <x id="INTERPOLATION_1" equiv-text="{{ selectedEvent.children.length }}"/> <x id="ICU" equiv-text="{ selectedEvent.children.length, plural, one {participant} other
{participants} }"/>) </source>
<target state="translated"> <x id="INTERPOLATION" equiv-text="{{ selectedEventStats.average | percent: &quot;1.0-0&quot; }}"/> haben teilgenommen (von <x id="INTERPOLATION_1" equiv-text="{{ selectedEvent.children.length }}"/> <x id="ICU" equiv-text="{ selectedEvent.children.length, plural, 1= {Teilnehmende/r} other {Teilnehmern} }"/>) </target>
<context-group purpose="location">
Expand All @@ -280,7 +280,7 @@
</context-group>
</trans-unit>
<trans-unit id="fcce2647ba7b1763c285341617aaf63f9edab746" datatype="html">
<source> <x id="INTERPOLATION" equiv-text="{{ selectedEventStats.excludedUnknown }"/> <x id="ICU" equiv-text="{ selectedEventStats.excludedUnknown, plural, one {participant} other
<source> <x id="INTERPOLATION" equiv-text="{{ selectedEventStats.excludedUnknown }}"/> <x id="ICU" equiv-text="{ selectedEventStats.excludedUnknown, plural, one {participant} other
{participants} }"/> without recorded status </source>
<target state="translated"> <x id="INTERPOLATION" equiv-text="{{ selectedEventStats.unknownStatus }}"/> <x id="ICU" equiv-text="{ selectedEventStats.unknownStatus, plural, 1={Teilnehmer:in} other {Teilnehmer:innen} }"/> ohne aufgenommenen Status </target>
<context-group purpose="location">
Expand Down Expand Up @@ -335,7 +335,8 @@
(focusedChild
? entity?.getAttendancePercentage(focusedChild)
: entity?.getAttendancePercentageAverage()
) | percent: &quot;1.0-0&quot;"/> </source>
) | percent: &quot;1.0-0&quot;
}}"/> </source>
<target state="translated"> Anwesenheit: <x id="INTERPOLATION" equiv-text="{{
(focusedChild
? entity?.getAttendancePercentage(focusedChild)
Expand Down Expand Up @@ -712,7 +713,7 @@
<trans-unit id="ef53f00083d0537e89f52ce3fc949182c6bca8e4" datatype="html">
<source><x id="START_TABLE_CELL" ctype="x-td" equiv-text="&lt;td *matCellDef=&quot;let childNoteInfo&quot;>"/><x id="START_TAG_SPAN_1" ctype="x-span_1" equiv-text="&lt;span class=&quot;dashboard-table-additional-info-cell&quot;>"/><x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span
*ngIf=&quot;childNoteInfo.moreThanDaysSince&quot;
>"/> >  <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/> <x id="INTERPOLATION" equiv-text="{{ childNoteInfo.daysSinceLastNote | number: &quot;1.0-0&quot; }"/> days <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="CLOSE_TABLE_CELL" ctype="x-td" equiv-text="&lt;/td>"/></source>
>"/> >  <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/> <x id="INTERPOLATION" equiv-text="{{ childNoteInfo.daysSinceLastNote | number: &quot;1.0-0&quot; }}"/> days <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="CLOSE_TABLE_CELL" ctype="x-td" equiv-text="&lt;/td>"/></source>
<target state="translated"><x id="START_TABLE_CELL" ctype="x-td" equiv-text="&lt;td *matCellDef=&quot;let childNoteInfo&quot;>"/><x id="START_TAG_SPAN_1" ctype="x-span_1" equiv-text="&lt;span class=&quot;dashboard-table-additional-info-cell&quot;>"/><x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span
*ngIf=&quot;childNoteInfo.moreThanDaysSince&quot;
>"/> >  <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/> <x id="INTERPOLATION" equiv-text="{{ childNoteInfo.daysSinceLastNote | number: &quot;1.0-0&quot; }}"/> Tage <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="CLOSE_TABLE_CELL" ctype="x-td" equiv-text="&lt;/td>"/></target>
Expand Down Expand Up @@ -3588,7 +3589,7 @@
<note priority="1" from="description">Label gender</note>
</trans-unit>
<trans-unit id="e64cd56b20854bd619f18d78c372a8ac9f788a8b" datatype="html">
<source> Total: <x id="INTERPOLATION" equiv-text="{{ summary }"/>
<source> Total: <x id="INTERPOLATION" equiv-text="{{ summary }}"/>
</source>
<target state="translated"> Insgesamt: <x id="INTERPOLATION" equiv-text="{{ getSummary() }}"/></target>
<note priority="1" from="description">Total amount of education material including a summary</note>
Expand Down Expand Up @@ -3762,7 +3763,7 @@
</context-group>
</trans-unit>
<trans-unit id="e0dc43b431d171971d708cb150a3fbce5d2530f1" datatype="html">
<source> class <x id="INTERPOLATION" equiv-text="{{ entity?.schoolClass }"/> </source>
<source> class <x id="INTERPOLATION" equiv-text="{{ entity?.schoolClass }}"/> </source>
<target state="translated">Klasse <x id="INTERPOLATION" equiv-text="{{ entity?.schoolClass }}"/></target>
<note priority="1" from="description">e.g. 'class 8'</note>
<note priority="1" from="meaning">The class a child is attending</note>
Expand Down Expand Up @@ -4075,7 +4076,7 @@
</context-group>
</trans-unit>
<trans-unit id="ae2c7190bf68b2ba76dae8802db6b3f5b1e2a8ce" datatype="html">
<source> Adding new <x id="INTERPOLATION" equiv-text="{{ config?.entity }"/> </source>
<source> Adding new <x id="INTERPOLATION" equiv-text="{{ config?.entity }}"/> </source>
<target state="translated"> Neuer Eintrag </target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/core/entity-components/entity-details/entity-details.component.html</context>
Expand Down Expand Up @@ -4456,7 +4457,7 @@
</context-group>
</trans-unit>
<trans-unit id="bff91547325db41ddc532740323020315227b440" datatype="html">
<source> <x id="INTERPOLATION" equiv-text="{{ entity[property]?.length }"/> in total
<source> <x id="INTERPOLATION" equiv-text="{{ entity[property]?.length }}"/> in total
</source>
<target state="translated"> <x id="INTERPOLATION" equiv-text="{{ entity[property]?.length }}"/> insgesamt
</target>
Expand Down Expand Up @@ -4738,7 +4739,7 @@
<note priority="1" from="description">Search label</note>
</trans-unit>
<trans-unit id="5a18ff86dec7316b0abcaa53685e042d9e417755" datatype="html">
<source> Insert at least <x id="INTERPOLATION" equiv-text="{{ MIN_CHARACTERS_FOR_SEARCH }"/> characters </source>
<source> Insert at least <x id="INTERPOLATION" equiv-text="{{ MIN_CHARACTERS_FOR_SEARCH }}"/> characters </source>
<target state="translated"> Mindestens <x id="INTERPOLATION" equiv-text="{{ MIN_CHARACTERS_FOR_SEARCH }}"/> Buchstaben eingeben </target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/core/ui/search/search.component.html</context>
Expand Down Expand Up @@ -4912,7 +4913,7 @@
</context-group>
</trans-unit>
<trans-unit id="65276aa6cba4b1cf77121125a2525a46fb0a5b1c" datatype="html">
<source> Failed to change password: <x id="INTERPOLATION" equiv-text="{{ passwordChangeResult.error }"/><x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br />"/> Please try again. If the problem persists contact Aam Digital support. </source>
<source> Failed to change password: <x id="INTERPOLATION" equiv-text="{{ passwordChangeResult.error }}"/><x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br />"/> Please try again. If the problem persists contact Aam Digital support. </source>
<target state="translated"> Passwort konnte nicht geändert werden: <x id="INTERPOLATION" equiv-text="{{ passwordChangeResult.error }}"/><x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br />"/> Please try again. If the problem persists contact Aam Digital support. </target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/core/user/user-account/user-account.component.html</context>
Expand Down Expand Up @@ -5141,7 +5142,7 @@
<context context-type="sourcefile">src/app/pwa-install/pwa-install.component.html</context>
<context context-type="linenumber">15,16</context>
</context-group>
<note priority="1" from="description">PWA iOS Install Instractions - Line 1</note>
<note priority="1" from="description">PWA iOS Install Instructions - Line 1</note>
</trans-unit>
<trans-unit id="8beef6deafdec7914c3971782faad2ac1e66604d" datatype="html">
<source> tap on </source>
Expand All @@ -5150,7 +5151,7 @@
<context context-type="sourcefile">src/app/pwa-install/pwa-install.component.html</context>
<context context-type="linenumber">27,28</context>
</context-group>
<note priority="1" from="description">PWA iOS Install Instriuctions - Line 2-1</note>
<note priority="1" from="description">PWA iOS Install Instructions - Line 2-1</note>
</trans-unit>
<trans-unit id="5e1fef8419bb00629ae0fe59c98feced66824e11" datatype="html">
<source> at the bottom </source>
Expand Down
Loading

0 comments on commit e79ad03

Please sign in to comment.