forked from MapComplete/MapComplete
Fix widths
This commit is contained in:
parent
b8a1683191
commit
5e220ccead
6 changed files with 33 additions and 62 deletions
|
@ -48,7 +48,6 @@ export default class Translation extends UIElement {
|
|||
for (const knownSpecial of knownSpecials) {
|
||||
|
||||
|
||||
const combined = [];
|
||||
const matched = template.match(`(.*){${knownSpecial.funcName}\\((.*)\\)}(.*)`);
|
||||
if (matched === null) {
|
||||
continue;
|
||||
|
|
|
@ -975,6 +975,7 @@ export default class Translations {
|
|||
if (s instanceof Translation) {
|
||||
return s;
|
||||
}
|
||||
console.error("Trying to Translation.WT, but got ",s)
|
||||
throw "??? Not a valid translation"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue