Refactored out 'layout.ts'
This commit is contained in:
parent
36f5e896df
commit
73f32e0ecf
30 changed files with 465 additions and 400 deletions
|
@ -10,17 +10,6 @@ export default class Translations {
|
|||
}
|
||||
|
||||
static t = AllTranslationAssets.t;
|
||||
|
||||
private static isTranslation(tr: any): boolean {
|
||||
for (const key in tr) {
|
||||
if (typeof tr[key] !== "string") {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public static W(s: string | UIElement): UIElement {
|
||||
if (typeof (s) === "string") {
|
||||
return new FixedUiElement(s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue