forked from MapComplete/MapComplete
Fix: include japanese dot as sentence separator
This commit is contained in:
parent
7852829f1b
commit
d2c668922b
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ export class Translation extends BaseUIElement {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
let txt = this.translations[lng]
|
let txt = this.translations[lng]
|
||||||
txt = txt.replace(/(\.|<br\/>|<br>).*/, "")
|
txt = txt.replace(/(\.|<br\/>|<br>|。).*/, "")
|
||||||
txt = Utils.EllipsesAfter(txt, 255)
|
txt = Utils.EllipsesAfter(txt, 255)
|
||||||
tr[lng] = txt.trim()
|
tr[lng] = txt.trim()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue