add empty_displayname to locale.

This commit is contained in:
Miroslav Šedivý 2021-08-31 18:03:47 +02:00
parent b808530f0c
commit def879c586
7 changed files with 12 additions and 1 deletions

View File

@ -213,7 +213,7 @@
if (this.displayname == '') { if (this.displayname == '') {
this.$swal({ this.$swal({
title: this.$t('connect.error') as string, title: this.$t('connect.error') as string,
text: 'Display Name cannot be empty.' as string, // TODO: Add to i18n. text: this.$t('connect.empty_displayname') as string,
icon: 'error', icon: 'error',
}) })
return return

View File

@ -16,6 +16,7 @@ export const connect = {
password: 'Password', password: 'Password',
connect: 'Connect', connect: 'Connect',
error: 'Login error', error: 'Login error',
empty_displayname: 'Display Name cannot be empty.',
} }
export const context = { export const context = {

View File

@ -16,6 +16,8 @@ export const connect = {
password: 'Contraseña', password: 'Contraseña',
connect: 'Conectar', connect: 'Conectar',
error: 'Error de login', error: 'Error de login',
// TODO
//empty_displayname: 'Display Name cannot be empty.',
} }
export const context = { export const context = {

View File

@ -16,6 +16,8 @@ export const connect = {
password: 'Mot de passe', password: 'Mot de passe',
connect: 'Connexion', connect: 'Connexion',
error: 'Erreur de connexion', error: 'Erreur de connexion',
// TODO
//empty_displayname: 'Display Name cannot be empty.',
} }
export const context = { export const context = {

View File

@ -16,6 +16,8 @@ export const connect = {
password: 'Passord', password: 'Passord',
connect: 'Koble til', connect: 'Koble til',
error: 'Innloggingsfeil', error: 'Innloggingsfeil',
// TODO
//empty_displayname: 'Display Name cannot be empty.',
} }
export const context = { export const context = {

View File

@ -15,6 +15,8 @@ export const connect = {
displayname: 'Vaše meno', displayname: 'Vaše meno',
password: 'Heslo', password: 'Heslo',
connect: 'Pripojiť sa', connect: 'Pripojiť sa',
error: 'Chyba pri prihlasovaní',
empty_displayname: 'Meno nemôže byť prázdne.',
} }
export const context = { export const context = {

View File

@ -16,6 +16,8 @@ export const connect = {
password: 'Lösenord', password: 'Lösenord',
connect: 'Anslut', connect: 'Anslut',
error: 'Inloggningsfel', error: 'Inloggningsfel',
// TODO
//empty_displayname: 'Display Name cannot be empty.',
} }
export const context = { export const context = {