diff --git a/package.json b/package.json index 10d0dd5..880002c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "court-pilot", - "version": "1.1.0", + "version": "1.1.1", "author": "Ionic Framework", "homepage": "https://ionicframework.com/", "scripts": { diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 4fedd13..6214ddd 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "court-pilot", - "version": "1.1.0", + "version": "1.1.1", "identifier": "com.courtpilot.dev", "build": { "frontendDist": "../www", @@ -18,7 +18,7 @@ "width": 1366, "height": 768, "resizable": true, - "fullscreen": false + "fullscreen": true } ], "security": { diff --git a/src/app/i18n/translations.ts b/src/app/i18n/translations.ts index 665ce3f..8a0119a 100644 --- a/src/app/i18n/translations.ts +++ b/src/app/i18n/translations.ts @@ -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; diff --git a/src/app/tab2/tab2.page.ts b/src/app/tab2/tab2.page.ts index 21c69b7..d0adc33 100644 --- a/src/app/tab2/tab2.page.ts +++ b/src/app/tab2/tab2.page.ts @@ -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 { diff --git a/src/app/tab3/tab3.page.html b/src/app/tab3/tab3.page.html index 9edeca8..3048df5 100644 --- a/src/app/tab3/tab3.page.html +++ b/src/app/tab3/tab3.page.html @@ -17,9 +17,13 @@ [value]="translationService.language()" (ionChange)="updateLanguage($event)" interface="popover"> - English + + {{ 'english' | translate }} + - Magyar + + {{ 'hungarian' | translate }} + @@ -57,7 +61,9 @@ - {{ 'version' | translate }}: 1.0.0 + {{ 'version' | translate }}: 1.0.0