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
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "court-pilot", "name": "court-pilot",
"version": "1.1.0", "version": "1.1.1",
"author": "Ionic Framework", "author": "Ionic Framework",
"homepage": "https://ionicframework.com/", "homepage": "https://ionicframework.com/",
"scripts": { "scripts": {
+2 -2
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "court-pilot", "productName": "court-pilot",
"version": "1.1.0", "version": "1.1.1",
"identifier": "com.courtpilot.dev", "identifier": "com.courtpilot.dev",
"build": { "build": {
"frontendDist": "../www", "frontendDist": "../www",
@@ -18,7 +18,7 @@
"width": 1366, "width": 1366,
"height": 768, "height": 768,
"resizable": true, "resizable": true,
"fullscreen": false "fullscreen": true
} }
], ],
"security": { "security": {
+7 -3
View File
@@ -42,7 +42,9 @@ export const translations = {
sendUmpiresMessage: '{umpire} - {serviceJudge}', sendUmpiresMessage: '{umpire} - {serviceJudge}',
version: 'Version', version: 'Version',
updateAvailable: 'Update available', 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: { hu: {
@@ -68,12 +70,12 @@ export const translations = {
confirmDeleteUmpire: 'Biztosan törölni szeretnéd ezt a tisztségviselőt?', confirmDeleteUmpire: 'Biztosan törölni szeretnéd ezt a tisztségviselőt?',
no: 'Nem', no: 'Nem',
yes: 'Igen', yes: 'Igen',
umpires: 'Játékeveztők', umpires: 'Játékvezetők',
serviceJudges: 'Adogatásbírók', serviceJudges: 'Adogatásbírók',
notOnDuty: 'Pihenő', notOnDuty: 'Pihenő',
shortCourtName: 'P', shortCourtName: 'P',
court: 'Pálya', court: 'Pálya',
umpire: 'Játékeveztő', umpire: 'Játékvezető',
removeUmpireFromCourt: 'Biztos leveszed őt a pályáról?', removeUmpireFromCourt: 'Biztos leveszed őt a pályáról?',
removeUmpiresFromCourt: 'Biztos leveszed őket a pályáról?', removeUmpiresFromCourt: 'Biztos leveszed őket a pályáról?',
courtConfirm: 'Pálya {courtNo}', courtConfirm: 'Pálya {courtNo}',
@@ -84,6 +86,8 @@ export const translations = {
version: 'Verzió', version: 'Verzió',
updateAvailable: 'Új verzió elérhető', 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.', 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; } as const;
+7 -2
View File
@@ -102,8 +102,8 @@ export class Tab2Page {
this.modal.dismiss(null, 'cancel'); this.modal.dismiss(null, 'cancel');
} }
confirm() { async confirm() {
this.modal.dismiss( await this.modal.dismiss(
{ {
lastName: this.lastName, lastName: this.lastName,
firstName: this.firstName, firstName: this.firstName,
@@ -112,6 +112,11 @@ export class Tab2Page {
}, },
'confirm' 'confirm'
); );
this.lastName = '';
this.firstName = '';
this.country = '';
this.gender = '';
} }
isValidUmpire(): boolean { isValidUmpire(): boolean {
+9 -3
View File
@@ -17,9 +17,13 @@
[value]="translationService.language()" [value]="translationService.language()"
(ionChange)="updateLanguage($event)" (ionChange)="updateLanguage($event)"
interface="popover"> 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-select>
</ion-item> </ion-item>
@@ -57,7 +61,9 @@
<ion-row> <ion-row>
<ion-col sizeLg="6" pushLg="3"> <ion-col sizeLg="6" pushLg="3">
<ion-item> <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-item>
</ion-col> </ion-col>
</ion-row> </ion-row>