fix: small bugfixes
Build and Release Court Pilot / draft (push) Canceled after 0s
Build and Release Court Pilot / build (ubuntu-22.04) (push) Canceled after 0s
Build and Release Court Pilot / build (windows-latest) (push) Canceled after 0s
Build and Release Court Pilot / publish (push) Canceled after 0s

* Typo in the Hungarian vocab
* Translate language labels
* Start app on full screen
* Clear TOs data in the add-modal
* Change version number to 1.1.1
This commit is contained in:
2026-09-05 11:13:43 +02:00
parent 0dd30c6c14
commit 6319f2c270
5 changed files with 26 additions and 11 deletions
+7 -3
View File
@@ -42,7 +42,9 @@ export const translations = {
sendUmpiresMessage: '{umpire} - {serviceJudge}',
version: 'Version',
updateAvailable: 'Update available',
newVersion: 'A new version {version} is available. The application will restart to install the update.'
newVersion: 'A new version {version} is available. The application will restart to install the update.',
english: 'English',
hungarian: 'Hungarian',
},
hu: {
@@ -68,12 +70,12 @@ export const translations = {
confirmDeleteUmpire: 'Biztosan törölni szeretnéd ezt a tisztségviselőt?',
no: 'Nem',
yes: 'Igen',
umpires: 'Játékeveztők',
umpires: 'Játékvezetők',
serviceJudges: 'Adogatásbírók',
notOnDuty: 'Pihenő',
shortCourtName: 'P',
court: 'Pálya',
umpire: 'Játékeveztő',
umpire: 'Játékvezető',
removeUmpireFromCourt: 'Biztos leveszed őt a pályáról?',
removeUmpiresFromCourt: 'Biztos leveszed őket a pályáról?',
courtConfirm: 'Pálya {courtNo}',
@@ -84,6 +86,8 @@ export const translations = {
version: 'Verzió',
updateAvailable: 'Új verzió elérhető',
newVersion: 'Új elérhető verzió: {version} is available. A frissítések telepítése után az alkalmazás újraindul.',
english: 'Angol',
hungarian: 'Magyar',
}
} as const;
+7 -2
View File
@@ -102,8 +102,8 @@ export class Tab2Page {
this.modal.dismiss(null, 'cancel');
}
confirm() {
this.modal.dismiss(
async confirm() {
await this.modal.dismiss(
{
lastName: this.lastName,
firstName: this.firstName,
@@ -112,6 +112,11 @@ export class Tab2Page {
},
'confirm'
);
this.lastName = '';
this.firstName = '';
this.country = '';
this.gender = '';
}
isValidUmpire(): boolean {
+9 -3
View File
@@ -17,9 +17,13 @@
[value]="translationService.language()"
(ionChange)="updateLanguage($event)"
interface="popover">
<ion-select-option value="en"> English </ion-select-option>
<ion-select-option value="en">
{{ 'english' | translate }}
</ion-select-option>
<ion-select-option value="hu"> Magyar </ion-select-option>
<ion-select-option value="hu">
{{ 'hungarian' | translate }}
</ion-select-option>
</ion-select>
</ion-item>
@@ -57,7 +61,9 @@
<ion-row>
<ion-col sizeLg="6" pushLg="3">
<ion-item>
<ion-label class="ion-text-center">{{ 'version' | translate }}: 1.0.0</ion-label>
<ion-label class="ion-text-center"
>{{ 'version' | translate }}: 1.0.0</ion-label
>
</ion-item>
</ion-col>
</ion-row>