[feature] added i18n for chat component

This commit is contained in:
Markus 2023-07-08 16:12:16 +02:00
parent 5d640c2da5
commit ee359309d9
3 changed files with 40 additions and 12 deletions

View File

@ -79,18 +79,18 @@ export default {
},
],
textMessages: {
ROOMS_EMPTY: 'Aucune conversation',
ROOM_EMPTY: 'Aucune conversation sélectionnée',
NEW_MESSAGES: 'Nouveaux messages',
MESSAGE_DELETED: 'Ce message a été supprimé',
MESSAGES_EMPTY: 'Aucun message',
CONVERSATION_STARTED: 'La conversation a commencée le :',
TYPE_MESSAGE: 'Tapez votre message',
SEARCH: 'Rechercher',
IS_ONLINE: 'est en ligne',
LAST_SEEN: 'dernière connexion ',
IS_TYPING: 'est en train de taper...',
CANCEL_SELECT_MESSAGE: 'Annuler Sélection',
ROOMS_EMPTY: this.$t('chat.roomsEmpty'),
ROOM_EMPTY: this.$t('chat.roomEmpty'),
NEW_MESSAGES: this.$t('chat.newMessages'),
MESSAGE_DELETED: this.$t('chat.messageDeleted'),
MESSAGES_EMPTY: this.$t('chat.messagesEmpty'),
CONVERSATION_STARTED: this.$t('chat.conversationStarted'),
TYPE_MESSAGE: this.$t('chat.typeMessage'),
SEARCH: this.$t('chat.search'),
IS_ONLINE: this.$t('chat.isOnline'),
LAST_SEEN: this.$t('chat.lastSeen'),
IS_TYPING: this.$t('chat.isTyping'),
CANCEL_SELECT_MESSAGE: this.$t('chat.cancelSelectMessage')
},
roomActions: [
{

View File

@ -77,6 +77,20 @@
}
}
},
"chat": {
"roomsEmpty" : "Keine Räume",
"roomEmpty" : "Keinen Raum selektiert",
"newMessages" : "Neue Nachrichten",
"messageDeleted": "Diese Nachricht wuerde gelöscht",
"messagesEmpty": "Keine Nachrichten",
"conversationStarted": "Unterhaltung startete am:",
"typeMessage": "Nachricht schreiben",
"search": "Suche",
"isOnline": "online",
"lastSeen": "zuletzt gesehen ",
"isTyping": "tippt...",
"cancelSelectMessage": "Abbrechen"
},
"client-only": {
"loading": "Lade …"
},

View File

@ -77,6 +77,20 @@
}
}
},
"chat": {
"roomsEmpty" : "No rooms",
"roomEmpty" : "No room selected",
"newMessages" : "New Messages",
"messageDeleted": "This message was deleted",
"messagesEmpty": "No messages",
"conversationStarted": "Conversation started on:",
"typeMessage": "Type message",
"search": "Search",
"isOnline": "is online",
"lastSeen": "last seen ",
"isTyping": "is writing...",
"cancelSelectMessage": "Cancel"
},
"client-only": {
"loading": "Loading …"
},