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

Initial support for translations

This commit is contained in:
tobspr
2020-05-17 12:12:13 +02:00
parent 13c6fc7598
commit a70a937302
44 changed files with 573 additions and 328 deletions

View File

@@ -80,22 +80,6 @@ export class HUDModalDialogs extends BaseHUDPart {
return dialog.buttonSignals;
}
showVideoTutorial(title, text, videoUrl) {
const dialog = new DialogVideoTutorial({
app: this.app,
title: title,
contentHTML: text,
videoUrl,
});
this.internalShowDialog(dialog);
if (this.app) {
this.app.sound.playUiSound(SOUNDS.dialogOk);
}
return dialog.buttonSignals;
}
showOptionChooser(title, options) {
const dialog = new DialogOptionChooser({
app: this.app,