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

@@ -7,6 +7,7 @@ import { createLogger } from "../../core/logging";
import { ClickDetector } from "../../core/click_detector";
import { performanceNow } from "../../core/builtins";
import { clamp } from "../../core/utils";
import { T } from "../../translations";
const logger = createLogger("adprovider/adinplay");
@@ -111,7 +112,7 @@ export class AdinplayAdProvider extends AdProviderInterface {
AD_HEIGHT: h,
AD_FULLSCREEN: false,
AD_CENTERPLAYER: false,
LOADING_TEXT: "Loading",
LOADING_TEXT: T.global.loading,
PREROLL_ELEM: function () {
return videoElement;
},