Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6319f2c270 | ||
|
|
0dd30c6c14 | ||
|
|
06f7cb5c8c | ||
|
|
e1c519adf5 | ||
|
|
ae86f6962a | ||
|
|
4f95404f0b | ||
|
|
0d7e4b5c3a |
@@ -69,6 +69,9 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install Ionic CLI
|
||||
run: npm install -g @ionic/cli
|
||||
|
||||
- name: Build Tauri app
|
||||
env:
|
||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||
@@ -88,8 +91,12 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Publish CrabNebula release
|
||||
uses: crabnebula-dev/cloud-release@v0
|
||||
with:
|
||||
command: release publish ${{ env.CN_APPLICATION }} --framework tauri
|
||||
api-key: ${{ secrets.CN_API_KEY }}
|
||||
path: ./src-tauri
|
||||
working-directory: ./src-tauri
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "court-pilot",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"author": "Ionic Framework",
|
||||
"homepage": "https://ionicframework.com/",
|
||||
"scripts": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user