language minor bugs

This commit is contained in:
m1k1o 2020-04-06 11:55:08 +02:00
parent 82ca6e13ca
commit e53a42a231

View File

@ -54,7 +54,7 @@ export class NekoClient extends BaseClient implements EventEmitter<NekoEvents> {
this.disconnect() this.disconnect()
this.cleanup() this.cleanup()
this.$vue.$swal({ this.$vue.$swal({
title: this.$vue.$t('notifications.logged_out', { name: 'You' }), title: this.$vue.$t('notifications.logged_out', { name: this.$vue.$t('you') }),
icon: 'info', icon: 'info',
confirmButtonText: this.$vue.$t('ok') as string, confirmButtonText: this.$vue.$t('ok') as string,
}) })
@ -207,7 +207,7 @@ export class NekoClient extends BaseClient implements EventEmitter<NekoEvents> {
this.$accessor.chat.newMessage({ this.$accessor.chat.newMessage({
id: member.id, id: member.id,
content: this.$vue.$t('notifications.controls_released') as string, content: this.$vue.$t('notifications.controls_released', { name: '' }) as string,
type: 'event', type: 'event',
created: new Date(), created: new Date(),
}) })