- createChatClient: bearer auth, one refresh-and-retry on 401, 422 field errors
- useChat over useState: host bootstrap, open a channel, send
- ChatPage, ChatChannelList, ChatMessageList, ChatComposer
- runtime config chat.apiBase, public.chat.{apiBase,channelsApiBase,botsApiBase,hostApiBase}
15 lines
382 B
JSON
15 lines
382 B
JSON
{
|
|
"chat": {
|
|
"name": "Czat",
|
|
"channels": "Kanały",
|
|
"messages": "Wiadomości",
|
|
"message": "Wiadomość",
|
|
"send": "Wyślij",
|
|
"pickChannel": "Wybierz kanał, aby zacząć.",
|
|
"error": {
|
|
"bootstrap": "Nie udało się wczytać czatu. Sprawdź połączenie i spróbuj ponownie.",
|
|
"send": "Nie wysłano wiadomości. Spróbuj ponownie."
|
|
}
|
|
}
|
|
}
|