Skip to content

Commit 1ba4440

Browse files
committed
Refactor: ensure the language is 100% English:
1 parent 60be6f8 commit 1ba4440

7 files changed

Lines changed: 19 additions & 19 deletions

File tree

src/app/components/bet-controls/bet-controls.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<div class="inputs-row">
1010
<div class="input-group">
11-
<label>Puntata (€)</label>
11+
<label>Bet Amount (€)</label>
1212
<p-inputNumber [(ngModel)]="betAmount" mode="currency" currency="EUR" locale="it-IT" [min]="0.10"
1313
[max]="1000" [showButtons]="true" buttonLayout="horizontal" incrementButtonIcon="pi pi-plus"
1414
decrementButtonIcon="pi pi-minus">
@@ -25,8 +25,8 @@
2525

2626
<div class="action-row">
2727
<button class="bet-button" (click)="placeBet()">
28-
SCOMMETTI
29-
<span class="sub-text">ORA</span>
28+
BET
29+
<span class="sub-text">NOW</span>
3030
</button>
3131
</div>
3232
</div>

src/app/components/chat/chat.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ export class ChatComponent implements OnInit {
1717

1818
ngOnInit() {
1919
this.messages = [
20-
{ user: 'Mario', text: 'Buona fortuna a tutti! 🍀', time: '11:30' },
21-
{ user: 'Luigi', text: 'Vado per il 2x!', time: '11:31' },
22-
{ user: 'Admin', text: 'Benvenuti su Pizza Express Crash!', time: '11:32', type: 'system' }
20+
{ user: 'Mario', text: 'Good luck everyone! 🍀', time: '11:30' },
21+
{ user: 'Luigi', text: 'Going for 2x!', time: '11:31' },
22+
{ user: 'Admin', text: 'Welcome to Pizza Express Crash!', time: '11:32', type: 'system' }
2323
];
2424
}
2525

src/app/components/player-bets/player-bets.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="bets-container">
22
<div class="bets-header">
3-
<span>Giocatore</span>
4-
<span>Puntata</span>
5-
<span>Moltiplicatore</span>
6-
<span>Profitto</span>
3+
<span>User</span>
4+
<span>Bet</span>
5+
<span>Multiplier</span>
6+
<span>Profit</span>
77
</div>
88
<div class="bets-list">
99
@for (bet of bets; track bet.user) {
@@ -30,6 +30,6 @@
3030
}
3131
</div>
3232
<div class="total-bets">
33-
{{ bets.length }} Giocatori in gara
33+
{{ bets.length }} Players present
3434
</div>
3535
</div>

src/app/pages/home/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626

2727
<!-- Logout floating button (temporary until profile section) -->
2828
<div class="logout-btn-container">
29-
<p-button icon="pi pi-power-off" styleClass="p-button-rounded p-button-danger p-button-text"
29+
<p-button icon="pi pi-sign-out" styleClass="p-button-rounded p-button-danger p-button-text"
3030
(onClick)="logout()"></p-button>
3131
</div>

src/app/pages/home/home.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export class Home implements OnInit, OnDestroy, AfterViewInit {
260260
// Stato
261261
this.ctx.font = 'bold 24px Inter, sans-serif';
262262
this.ctx.fillStyle = '#008C45';
263-
this.ctx.fillText('IN CONSEGNA...', w / 2, h / 2 + 30);
263+
this.ctx.fillText('DELIVERING...', w / 2, h / 2 + 30);
264264
}
265265

266266
drawCrash() {

src/app/pages/login/login.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="login-container">
22
<p-toast></p-toast>
3-
<p-card header="Benvenuto" [style]="{ width: '100%', maxWidth: '400px' }">
3+
<p-card header="Welcome" [style]="{ width: '100%', maxWidth: '400px' }">
44
<form [formGroup]="loginForm" (ngSubmit)="onSubmit()" class="flex flex-column gap-4">
55

66
<div class="field">
@@ -18,7 +18,7 @@
1818
</p-floatLabel>
1919
</div>
2020

21-
<p-button label="Accedi" type="submit" [loading]="loading" styleClass="w-full"></p-button>
21+
<p-button label="Login" type="submit" [loading]="loading" styleClass="w-full"></p-button>
2222

2323
@if (error) {
2424
<div class="error-message">
@@ -27,7 +27,7 @@
2727
}
2828

2929
<div class="text-center mt-3">
30-
<a routerLink="/register" class="text-primary no-underline">Non hai un account? Registrati</a>
30+
<a routerLink="/register" class="text-primary no-underline">Don't have an account? Register</a>
3131
</div>
3232
</form>
3333
</p-card>

src/app/pages/register/register.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="register-container">
22
<p-toast></p-toast>
3-
<p-card header="Registrazione" [style]="{ width: '100%', maxWidth: '400px' }">
3+
<p-card header="Registration" [style]="{ width: '100%', maxWidth: '400px' }">
44
<form [formGroup]="registerForm" (ngSubmit)="onSubmit()" class="flex flex-column gap-4">
55

66
<div class="field">
@@ -25,7 +25,7 @@
2525
</p-floatLabel>
2626
</div>
2727

28-
<p-button label="Registrati" type="submit" [loading]="loading" styleClass="w-full"></p-button>
28+
<p-button label="Register" type="submit" [loading]="loading" styleClass="w-full"></p-button>
2929

3030
@if (error) {
3131
<div class="error-message">
@@ -34,7 +34,7 @@
3434
}
3535

3636
<div class="text-center mt-3">
37-
<a routerLink="/login" class="text-primary no-underline">Hai già un account? Accedi</a>
37+
<a routerLink="/login" class="text-primary no-underline">Already have an account? Login</a>
3838
</div>
3939
</form>
4040
</p-card>

0 commit comments

Comments
 (0)