better text

This commit is contained in:
Bruno Windels 2021-08-23 20:06:52 +02:00
parent d1412e1f42
commit d31e442c16

View file

@ -49,7 +49,7 @@ export class LoginView extends TemplateView {
t.p({className: { t.p({className: {
LoginView_forwardInfo: true, LoginView_forwardInfo: true,
hidden: vm => !vm.forwardedHomeserver hidden: vm => !vm.forwardedHomeserver
}}, vm => vm.i18n`${vm.homeserver} forwards to ${vm.forwardedHomeserver}.`), }}, vm => vm.i18n`You will connect to ${vm.forwardedHomeserver}.`),
t.if(vm => vm.errorMessage, (t, vm) => t.p({className: "error"}, vm.i18n(vm.errorMessage))), t.if(vm => vm.errorMessage, (t, vm) => t.p({className: "error"}, vm.i18n(vm.errorMessage))),
] ]
)), )),