mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
revert this back
This commit is contained in:
parent
5d67db0c5e
commit
ee4a382578
@ -78,9 +78,14 @@ export class ViewModel extends EventEmitter {
|
|||||||
// we probably are, if we're using routing with a url, we could just refresh.
|
// we probably are, if we're using routing with a url, we could just refresh.
|
||||||
i18n(parts, ...expr) {
|
i18n(parts, ...expr) {
|
||||||
// just concat for now
|
// just concat for now
|
||||||
return parts.reduce((all, p, i) => {
|
let result = "";
|
||||||
return all + p + expr[i];
|
for (let i = 0; i < parts.length; ++i) {
|
||||||
});
|
result = result + parts[i];
|
||||||
|
if (i < expr.length) {
|
||||||
|
result = result + expr[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateOptions(options) {
|
updateOptions(options) {
|
||||||
|
Loading…
Reference in New Issue
Block a user