forked from MapComplete/MapComplete
refactoring: Fix generateLayouts
This commit is contained in:
parent
5117bccb9a
commit
7f26e4cb3b
5 changed files with 67 additions and 161 deletions
|
@ -217,7 +217,7 @@ export class Translation extends BaseUIElement {
|
|||
continue
|
||||
}
|
||||
let txt = this.translations[lng]
|
||||
txt = txt.replace(/\..*/, "")
|
||||
txt = txt.replace(/[.<].*/, "")
|
||||
txt = Utils.EllipsesAfter(txt, 255)
|
||||
tr[lng] = txt
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue