1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Localize standalone advantages title

This commit is contained in:
tobspr
2022-06-17 15:36:27 +02:00
parent 913149d5b8
commit fde4ff9e5e
34 changed files with 91 additions and 99 deletions

View File

@@ -11,7 +11,15 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
// DIALOG Inner / Wrapper
this.dialogInner = makeDiv(this.background, null, ["dialogInner"]);
this.title = makeDiv(this.dialogInner, null, ["title"], T.ingame.standaloneAdvantages.title);
this.title = makeDiv(
this.dialogInner,
null,
["title"],
["1", "2"].includes(this.root.app.gameAnalytics.abtVariant)
? T.ingame.standaloneAdvantages.title_expired
: T.ingame.standaloneAdvantages.title
);
this.contentDiv = makeDiv(
this.dialogInner,
null,