More refactoring
This commit is contained in:
parent
5d0fe31c41
commit
41e6a2c760
147 changed files with 1540 additions and 1797 deletions
|
@ -51,10 +51,6 @@ export class Translation extends BaseUIElement {
|
|||
return this.textFor(Translation.forcedLanguage ?? Locale.language.data)
|
||||
}
|
||||
|
||||
public toString() {
|
||||
return this.txt
|
||||
}
|
||||
|
||||
static ExtractAllTranslationsFrom(
|
||||
object: any,
|
||||
context = ""
|
||||
|
@ -91,6 +87,10 @@ export class Translation extends BaseUIElement {
|
|||
return new Translation(translations)
|
||||
}
|
||||
|
||||
public toString() {
|
||||
return this.txt
|
||||
}
|
||||
|
||||
Destroy() {
|
||||
super.Destroy()
|
||||
this.isDestroyed = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue