forked from MapComplete/MapComplete
Way to much fixes and improvements
This commit is contained in:
parent
e68d9d99a5
commit
5ed0bb431c
41 changed files with 1244 additions and 402 deletions
|
@ -52,8 +52,8 @@ export default class Translation extends UIElement {
|
|||
for (const i in this.translations) {
|
||||
return this.translations[i]; // Return a random language
|
||||
}
|
||||
console.log("Missing language ",Locale.language.data,"for",this.translations)
|
||||
return "Missing translation"
|
||||
console.error("Missing language ",Locale.language.data,"for",this.translations)
|
||||
return undefined;
|
||||
}
|
||||
|
||||
InnerRender(): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue