jp.ms.common.modules 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/main/main-tables-list-screen.view.js +2 -2
- package/dist/modules/main/main-tables-list-screen.view.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/views/many-tables-tournament-conifrm-exit-dialog.view.js +1 -1
- package/dist/views/many-tables-tournament-conifrm-exit-dialog.view.js.map +1 -1
- package/dist/views/one-table-tournament-conifrm-exit-dialog.view.js +1 -1
- package/dist/views/one-table-tournament-conifrm-exit-dialog.view.js.map +1 -1
- package/dist/views/simple-room-conifrm-exit-dialog.view.js +1 -1
- package/dist/views/simple-room-conifrm-exit-dialog.view.js.map +1 -1
- package/dist/views/table-summary.view.js +5 -5
- package/dist/views/table-summary.view.js.map +1 -1
- package/package.json +2 -2
- package/src/modules/main/main-tables-list-screen.view.ts +3 -3
- package/src/views/many-tables-tournament-conifrm-exit-dialog.view.ts +4 -4
- package/src/views/one-table-tournament-conifrm-exit-dialog.view.ts +4 -4
- package/src/views/simple-room-conifrm-exit-dialog.view.ts +4 -4
- package/src/views/table-summary.view.ts +6 -6
|
@@ -4,7 +4,7 @@ exports.ManyTablesTournamentConfirmExitDialogView = void 0;
|
|
|
4
4
|
const jp_common_models_1 = require("jp.common.models");
|
|
5
5
|
class ManyTablesTournamentConfirmExitDialogView extends jp_common_models_1.UniversalScreenDialogView {
|
|
6
6
|
build() {
|
|
7
|
-
return new jp_common_models_1.StandardDialogComponent(jp_common_models_1.AppScreenDialogIdEnum.DIALOG_MANY_TABLES_TOURNAMENT_CONFIRM_EXIT, this.localeService.t('common.
|
|
7
|
+
return new jp_common_models_1.StandardDialogComponent(jp_common_models_1.AppScreenDialogIdEnum.DIALOG_MANY_TABLES_TOURNAMENT_CONFIRM_EXIT, this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.title', { lang: this.lang }), this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.message', { lang: this.lang }), new jp_common_models_1.FullButtonsButtonsComponent(new jp_common_models_1.TextButtonComponent(this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.ok', { lang: this.lang })), new jp_common_models_1.TextButtonComponent(this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.cancel', { lang: this.lang }))));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.ManyTablesTournamentConfirmExitDialogView = ManyTablesTournamentConfirmExitDialogView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"many-tables-tournament-conifrm-exit-dialog.view.js","sourceRoot":"","sources":["../../src/views/many-tables-tournament-conifrm-exit-dialog.view.ts"],"names":[],"mappings":";;;AAAA,uDAM0B;AAE1B,MAAa,yCAA0C,SAAQ,4CAAyB;IACpF,KAAK;QACD,OAAO,IAAI,0CAAuB,CAC9B,wCAAqB,CAAC,0CAA0C,EAChE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"many-tables-tournament-conifrm-exit-dialog.view.js","sourceRoot":"","sources":["../../src/views/many-tables-tournament-conifrm-exit-dialog.view.ts"],"names":[],"mappings":";;;AAAA,uDAM0B;AAE1B,MAAa,yCAA0C,SAAQ,4CAAyB;IACpF,KAAK;QACD,OAAO,IAAI,0CAAuB,CAC9B,wCAAqB,CAAC,0CAA0C,EAChE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,qEAAqE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EAChH,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,uEAAuE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EAClH,IAAI,8CAA2B,CAC3B,IAAI,sCAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,kEAAkE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EACtI,IAAI,sCAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,sEAAsE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAC7I,CACJ,CAAC;IACN,CAAC;CACJ;AAZD,8FAYC"}
|
|
@@ -4,7 +4,7 @@ exports.OneTableTournamentConfirmExitDialogView = void 0;
|
|
|
4
4
|
const jp_common_models_1 = require("jp.common.models");
|
|
5
5
|
class OneTableTournamentConfirmExitDialogView extends jp_common_models_1.UniversalScreenDialogView {
|
|
6
6
|
build() {
|
|
7
|
-
return new jp_common_models_1.StandardDialogComponent(jp_common_models_1.AppScreenDialogIdEnum.DIALOG_ONE_TABLE_TOURNAMENT_CONFIRM_EXIT, this.localeService.t('common.
|
|
7
|
+
return new jp_common_models_1.StandardDialogComponent(jp_common_models_1.AppScreenDialogIdEnum.DIALOG_ONE_TABLE_TOURNAMENT_CONFIRM_EXIT, this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.title', { lang: this.lang }), this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.message', { lang: this.lang }), new jp_common_models_1.FullButtonsButtonsComponent(new jp_common_models_1.TextButtonComponent(this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.ok', { lang: this.lang })), new jp_common_models_1.TextButtonComponent(this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.cancel', { lang: this.lang }))));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.OneTableTournamentConfirmExitDialogView = OneTableTournamentConfirmExitDialogView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-table-tournament-conifrm-exit-dialog.view.js","sourceRoot":"","sources":["../../src/views/one-table-tournament-conifrm-exit-dialog.view.ts"],"names":[],"mappings":";;;AAAA,uDAM0B;AAE1B,MAAa,uCAAwC,SAAQ,4CAAyB;IAClF,KAAK;QACD,OAAO,IAAI,0CAAuB,CAC9B,wCAAqB,CAAC,wCAAwC,EAC9D,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"one-table-tournament-conifrm-exit-dialog.view.js","sourceRoot":"","sources":["../../src/views/one-table-tournament-conifrm-exit-dialog.view.ts"],"names":[],"mappings":";;;AAAA,uDAM0B;AAE1B,MAAa,uCAAwC,SAAQ,4CAAyB;IAClF,KAAK;QACD,OAAO,IAAI,0CAAuB,CAC9B,wCAAqB,CAAC,wCAAwC,EAC9D,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,mEAAmE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EAC9G,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,qEAAqE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EAChH,IAAI,8CAA2B,CAC3B,IAAI,sCAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,gEAAgE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EACpI,IAAI,sCAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,oEAAoE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAC3I,CACJ,CAAC;IACN,CAAC;CACJ;AAZD,0FAYC"}
|
|
@@ -4,7 +4,7 @@ exports.SimpleRoomConfirmExitDialogView = void 0;
|
|
|
4
4
|
const jp_common_models_1 = require("jp.common.models");
|
|
5
5
|
class SimpleRoomConfirmExitDialogView extends jp_common_models_1.UniversalScreenDialogView {
|
|
6
6
|
build() {
|
|
7
|
-
return new jp_common_models_1.StandardDialogComponent(jp_common_models_1.AppScreenDialogIdEnum.DIALOG_SIMPLE_ROOM_CONFIRM_EXIT, this.localeService.t('common.room.screen.dialog.confirm.exit.game.title', { lang: this.lang }), this.localeService.t('common.room.screen.dialog.confirm.exit.game.message', { lang: this.lang }), new jp_common_models_1.FullButtonsButtonsComponent(new jp_common_models_1.TextButtonComponent(this.localeService.t('common.room.screen.dialog.confirm.exit.game.ok', { lang: this.lang })), new jp_common_models_1.TextButtonComponent(this.localeService.t('common.room.screen.dialog.confirm.exit.game.cancel', { lang: this.lang }))));
|
|
7
|
+
return new jp_common_models_1.StandardDialogComponent(jp_common_models_1.AppScreenDialogIdEnum.DIALOG_SIMPLE_ROOM_CONFIRM_EXIT, this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.title', { lang: this.lang }), this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.message', { lang: this.lang }), new jp_common_models_1.FullButtonsButtonsComponent(new jp_common_models_1.TextButtonComponent(this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.ok', { lang: this.lang })), new jp_common_models_1.TextButtonComponent(this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.cancel', { lang: this.lang }))));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.SimpleRoomConfirmExitDialogView = SimpleRoomConfirmExitDialogView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-room-conifrm-exit-dialog.view.js","sourceRoot":"","sources":["../../src/views/simple-room-conifrm-exit-dialog.view.ts"],"names":[],"mappings":";;;AAAA,uDAM0B;AAE1B,MAAa,+BAAgC,SAAQ,4CAAyB;IAC1E,KAAK;QACD,OAAO,IAAI,0CAAuB,CAC9B,wCAAqB,CAAC,+BAA+B,EACrD,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"simple-room-conifrm-exit-dialog.view.js","sourceRoot":"","sources":["../../src/views/simple-room-conifrm-exit-dialog.view.ts"],"names":[],"mappings":";;;AAAA,uDAM0B;AAE1B,MAAa,+BAAgC,SAAQ,4CAAyB;IAC1E,KAAK;QACD,OAAO,IAAI,0CAAuB,CAC9B,wCAAqB,CAAC,+BAA+B,EACrD,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,0DAA0D,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EACrG,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,4DAA4D,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EACvG,IAAI,8CAA2B,CAC3B,IAAI,sCAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,uDAAuD,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EAC3H,IAAI,sCAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,2DAA2D,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAClI,CACJ,CAAC;IACN,CAAC;CACJ;AAZD,0EAYC"}
|
|
@@ -25,21 +25,21 @@ class TableSummaryView extends jp_common_models_1.UniversalView {
|
|
|
25
25
|
return new jp_common_models_1.SummaryComponent([]);
|
|
26
26
|
}
|
|
27
27
|
getSummaryTechBreak() {
|
|
28
|
-
return new jp_common_models_1.OneLineSummaryComponent(new jp_common_models_1.BodyMdSummaryItemComponent('tech-break', this.localeService.t('room.screen.tech.break.message', { lang: this.lang })));
|
|
28
|
+
return new jp_common_models_1.OneLineSummaryComponent(new jp_common_models_1.BodyMdSummaryItemComponent('tech-break', this.localeService.t('common.room.screen.tech.break.message', { lang: this.lang })));
|
|
29
29
|
}
|
|
30
30
|
getSummaryPlaying() {
|
|
31
|
-
return new jp_common_models_1.OneLineSummaryComponent(new jp_common_models_1.TitleMdSummaryItemComponent('pot', this.localeService.t('room.screen.summary.pot', {
|
|
31
|
+
return new jp_common_models_1.OneLineSummaryComponent(new jp_common_models_1.TitleMdSummaryItemComponent('pot', this.localeService.t('common.room.screen.summary.pot', {
|
|
32
32
|
lang: this.lang,
|
|
33
33
|
args: { POT: (0, jp_common_utils_1.formatChips)(this.gameMaster?.getGameRound()?.getPot() ?? 0, this.lang, true) },
|
|
34
34
|
})));
|
|
35
35
|
}
|
|
36
36
|
getSummaryWaiting() {
|
|
37
|
-
return new jp_common_models_1.OneLineSummaryComponent(new jp_common_models_1.BodyMdSummaryItemComponent('waiting', this.localeService.t('room.screen.waiting.for.the.players', { lang: this.lang })));
|
|
37
|
+
return new jp_common_models_1.OneLineSummaryComponent(new jp_common_models_1.BodyMdSummaryItemComponent('waiting', this.localeService.t('common.room.screen.waiting.for.the.players', { lang: this.lang })));
|
|
38
38
|
}
|
|
39
39
|
getSummaryEnd() {
|
|
40
40
|
return new jp_common_models_1.SummaryComponent([
|
|
41
|
-
new jp_common_models_1.BodySmSummaryItemComponent('WINNER', this.localeService.t('room.screen.summary.winner', { lang: this.lang }), this.gameMaster.getGameResultHelper()?.getWinnersName() ?? ''),
|
|
42
|
-
new jp_common_models_1.BodySmSummaryItemComponent('NEW_GAME', this.localeService.t('room.screen.summary.new.game', { lang: this.lang }), this.localeService.t('room.screen.summary.new.game.value', { lang: this.lang }))
|
|
41
|
+
new jp_common_models_1.BodySmSummaryItemComponent('WINNER', this.localeService.t('common.room.screen.summary.winner', { lang: this.lang }), this.gameMaster.getGameResultHelper()?.getWinnersName() ?? ''),
|
|
42
|
+
new jp_common_models_1.BodySmSummaryItemComponent('NEW_GAME', this.localeService.t('common.room.screen.summary.new.game', { lang: this.lang }), this.localeService.t('common.room.screen.summary.new.game.value', { lang: this.lang }))
|
|
43
43
|
]);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-summary.view.js","sourceRoot":"","sources":["../../src/views/table-summary.view.ts"],"names":[],"mappings":";;;AAAA,uDAS0B;AAC1B,qDAA8C;AAG9C,MAAa,gBAAiB,SAAQ,gCAAa;IAC9B,UAAU,CAAa;IAExC,YACI,aAA6B,EAC7B,IAAY,EACZ,UAAsB;QAEtB,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CA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IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EAC9E,IAAI,CAAC,UAAU,CAAC,mBAAmB,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,CAChE;YACD,IAAI,6CAA0B,CAC1B,UAAU,EACV,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,qCAAqC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,EAChF,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,2CAA2C,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CACzF;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAzED,4CAyEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jp.ms.common.modules",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"jp.common.models": "1.1.24",
|
|
17
17
|
"jp.common.utils": "1.0.4",
|
|
18
18
|
"jp.db.schemas": "2.2.8",
|
|
19
|
-
"jp.ms.common.engine": "3.0.
|
|
19
|
+
"jp.ms.common.engine": "3.0.15",
|
|
20
20
|
"mongoose": "9.1.5",
|
|
21
21
|
"nestjs-i18n": "10.5.1",
|
|
22
22
|
"node-schedule": "2.1.1",
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
ArrowBackButtonComponent,
|
|
14
14
|
CardListSectionComponent,
|
|
15
15
|
MiniCardSectionListItemComponent,
|
|
16
|
-
UrlImageComponent,
|
|
17
16
|
IconImageComponent,
|
|
18
17
|
ExtendedCardSectionListItemComponent,
|
|
19
18
|
TextButtonComponent,
|
|
20
19
|
FullButtonsButtonsComponent,
|
|
21
20
|
PrimaryButtonButtonsComponent,
|
|
21
|
+
IconTextImageComponent,
|
|
22
22
|
} from "jp.common.models";
|
|
23
23
|
import {
|
|
24
24
|
SimpleRoom,
|
|
@@ -89,7 +89,7 @@ export class MainTablesListScreenView extends UniversalScreenView {
|
|
|
89
89
|
HALF_BET: table.getHalfBet().toString(),
|
|
90
90
|
BET: table.getBet().toString()
|
|
91
91
|
}),
|
|
92
|
-
new
|
|
92
|
+
new IconTextImageComponent(`${table.getPlayers().length}/${table.getTableSize()}`),
|
|
93
93
|
true,
|
|
94
94
|
true,
|
|
95
95
|
AppScreenRouter.getSimpleRoomTablePath(table.getId()),
|
|
@@ -140,7 +140,7 @@ export class MainTablesListScreenView extends UniversalScreenView {
|
|
|
140
140
|
return new IconImageComponent(AppScreenIconEnum.BOLT);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
return new
|
|
143
|
+
return new IconTextImageComponent(`${tournament.getParticipants().length}/${tournament.getTableSize()}`);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
private getManyTablesTournamentsCardList (): Array<IAppScreenSectionListItem> {
|
|
@@ -10,11 +10,11 @@ export class ManyTablesTournamentConfirmExitDialogView extends UniversalScreenDi
|
|
|
10
10
|
build () {
|
|
11
11
|
return new StandardDialogComponent(
|
|
12
12
|
AppScreenDialogIdEnum.DIALOG_MANY_TABLES_TOURNAMENT_CONFIRM_EXIT,
|
|
13
|
-
this.localeService.t('common.
|
|
14
|
-
this.localeService.t('common.
|
|
13
|
+
this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.title', { lang: this.lang }),
|
|
14
|
+
this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.message', { lang: this.lang }),
|
|
15
15
|
new FullButtonsButtonsComponent(
|
|
16
|
-
new TextButtonComponent(this.localeService.t('common.
|
|
17
|
-
new TextButtonComponent(this.localeService.t('common.
|
|
16
|
+
new TextButtonComponent(this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.ok', { lang: this.lang })),
|
|
17
|
+
new TextButtonComponent(this.localeService.t('common.many.tables.tournament.screen.dialog.confirm.exit.game.cancel', { lang: this.lang })),
|
|
18
18
|
),
|
|
19
19
|
);
|
|
20
20
|
}
|
|
@@ -10,11 +10,11 @@ export class OneTableTournamentConfirmExitDialogView extends UniversalScreenDial
|
|
|
10
10
|
build () {
|
|
11
11
|
return new StandardDialogComponent(
|
|
12
12
|
AppScreenDialogIdEnum.DIALOG_ONE_TABLE_TOURNAMENT_CONFIRM_EXIT,
|
|
13
|
-
this.localeService.t('common.
|
|
14
|
-
this.localeService.t('common.
|
|
13
|
+
this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.title', { lang: this.lang }),
|
|
14
|
+
this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.message', { lang: this.lang }),
|
|
15
15
|
new FullButtonsButtonsComponent(
|
|
16
|
-
new TextButtonComponent(this.localeService.t('common.
|
|
17
|
-
new TextButtonComponent(this.localeService.t('common.
|
|
16
|
+
new TextButtonComponent(this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.ok', { lang: this.lang })),
|
|
17
|
+
new TextButtonComponent(this.localeService.t('common.one.table.tournament.screen.dialog.confirm.exit.game.cancel', { lang: this.lang })),
|
|
18
18
|
),
|
|
19
19
|
);
|
|
20
20
|
}
|
|
@@ -10,11 +10,11 @@ export class SimpleRoomConfirmExitDialogView extends UniversalScreenDialogView {
|
|
|
10
10
|
build () {
|
|
11
11
|
return new StandardDialogComponent(
|
|
12
12
|
AppScreenDialogIdEnum.DIALOG_SIMPLE_ROOM_CONFIRM_EXIT,
|
|
13
|
-
this.localeService.t('common.room.screen.dialog.confirm.exit.game.title', { lang: this.lang }),
|
|
14
|
-
this.localeService.t('common.room.screen.dialog.confirm.exit.game.message', { lang: this.lang }),
|
|
13
|
+
this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.title', { lang: this.lang }),
|
|
14
|
+
this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.message', { lang: this.lang }),
|
|
15
15
|
new FullButtonsButtonsComponent(
|
|
16
|
-
new TextButtonComponent(this.localeService.t('common.room.screen.dialog.confirm.exit.game.ok', { lang: this.lang })),
|
|
17
|
-
new TextButtonComponent(this.localeService.t('common.room.screen.dialog.confirm.exit.game.cancel', { lang: this.lang })),
|
|
16
|
+
new TextButtonComponent(this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.ok', { lang: this.lang })),
|
|
17
|
+
new TextButtonComponent(this.localeService.t('common.simple.room.screen.dialog.confirm.exit.game.cancel', { lang: this.lang })),
|
|
18
18
|
),
|
|
19
19
|
);
|
|
20
20
|
}
|
|
@@ -42,7 +42,7 @@ export class TableSummaryView extends UniversalView {
|
|
|
42
42
|
return new OneLineSummaryComponent(
|
|
43
43
|
new BodyMdSummaryItemComponent(
|
|
44
44
|
'tech-break',
|
|
45
|
-
this.localeService.t('room.screen.tech.break.message', { lang: this.lang }),
|
|
45
|
+
this.localeService.t('common.room.screen.tech.break.message', { lang: this.lang }),
|
|
46
46
|
)
|
|
47
47
|
);
|
|
48
48
|
}
|
|
@@ -51,7 +51,7 @@ export class TableSummaryView extends UniversalView {
|
|
|
51
51
|
return new OneLineSummaryComponent(
|
|
52
52
|
new TitleMdSummaryItemComponent(
|
|
53
53
|
'pot',
|
|
54
|
-
this.localeService.t('room.screen.summary.pot', {
|
|
54
|
+
this.localeService.t('common.room.screen.summary.pot', {
|
|
55
55
|
lang: this.lang,
|
|
56
56
|
args: { POT: formatChips(this.gameMaster?.getGameRound()?.getPot() ?? 0, this.lang, true) },
|
|
57
57
|
}),
|
|
@@ -63,7 +63,7 @@ export class TableSummaryView extends UniversalView {
|
|
|
63
63
|
return new OneLineSummaryComponent(
|
|
64
64
|
new BodyMdSummaryItemComponent(
|
|
65
65
|
'waiting',
|
|
66
|
-
this.localeService.t('room.screen.waiting.for.the.players', { lang: this.lang }),
|
|
66
|
+
this.localeService.t('common.room.screen.waiting.for.the.players', { lang: this.lang }),
|
|
67
67
|
)
|
|
68
68
|
);
|
|
69
69
|
}
|
|
@@ -73,13 +73,13 @@ export class TableSummaryView extends UniversalView {
|
|
|
73
73
|
[
|
|
74
74
|
new BodySmSummaryItemComponent(
|
|
75
75
|
'WINNER',
|
|
76
|
-
this.localeService.t('room.screen.summary.winner', { lang: this.lang }),
|
|
76
|
+
this.localeService.t('common.room.screen.summary.winner', { lang: this.lang }),
|
|
77
77
|
this.gameMaster.getGameResultHelper()?.getWinnersName() ?? '',
|
|
78
78
|
),
|
|
79
79
|
new BodySmSummaryItemComponent(
|
|
80
80
|
'NEW_GAME',
|
|
81
|
-
this.localeService.t('room.screen.summary.new.game', { lang: this.lang }),
|
|
82
|
-
this.localeService.t('room.screen.summary.new.game.value', { lang: this.lang }),
|
|
81
|
+
this.localeService.t('common.room.screen.summary.new.game', { lang: this.lang }),
|
|
82
|
+
this.localeService.t('common.room.screen.summary.new.game.value', { lang: this.lang }),
|
|
83
83
|
)
|
|
84
84
|
]
|
|
85
85
|
);
|