Fixes to personal layout

This commit is contained in:
Pieter Vander Vennet 2020-09-18 22:23:49 +02:00
parent 9bdfd73db4
commit 9409f20bca
5 changed files with 31 additions and 11 deletions

View file

@ -93,6 +93,7 @@ export default class Translation extends UIElement {
const tr = {};
for (const lng in this.translations) {
let txt = this.translations[lng];
console.log(txt)
txt = txt.replace(/\..*/, "");
txt = Utils.EllipsesAfter(txt, 255);
tr[lng] = txt;