Commit graph

15 commits

Author SHA1 Message Date
silentoplayz
7a80e60785 fix(frontend): Attempt to resolve TypeError in RichTextInput.svelte
Fixes an issue where `ue.getWordAtDocPos is not a function` would be thrown in `MessageInput.svelte`.

The error was caused by a timing issue where the `getWordAtDocPos` method on the `RichTextInput` component was not available when called from an event handler within the same component.

This change refactors the code to pass the `getWordAtDocPos` function as a callback prop from `RichTextInput` to `MessageInput`, ensuring it's available when needed.
2025-08-03 22:36:08 -04:00
Silentoplayz
e3bacc3296 fix: Small fixes 2025-06-27 04:35:28 -04:00
Timothy Jaeryang Baek
7e65f7fa4d fix: chat event handler not being registered on sign in 2025-03-03 20:31:35 -08:00
Timothy Jaeryang Baek
fe44e4d344 i18n(html): sync html language with i18n language 2025-02-28 16:06:28 -08:00
Aarni Koskela
df167d8785 fix: load i18n for /error page 2024-05-13 18:00:30 +03:00
Ased Mammad
26121c5d88 wip: Set default language from config 2024-03-26 23:01:23 +03:30
Jannik Streidl
dbdc602791 added simplified + traditional chinese, updates uk keys, changed standart language code format to xx-XX 2024-03-14 12:10:04 +01:00
Ased Mammad
e8ffb2c023 fix: configure i18next to not return empty strings 2024-03-09 03:33:20 +03:30
Ased Mammad
03690de773 fix: disable i18next debug 2024-03-07 16:23:17 +03:30
Ased Mammad
80e2125266 add missing types 2024-03-07 16:23:17 +03:30
Ased Mammad
f55525c680 fix: load languages in an exported function 2024-03-07 14:10:30 +03:30
Ased Mammad
c724e19e62 add new persian translations 2024-03-07 13:27:09 +03:30
Ased Mammad
f4a1885298 feat: Get available languages from json file 2024-03-07 13:08:37 +03:30
Ased Mammad
41378748b8 refac: Move store to i18n index 2024-03-07 13:08:37 +03:30
Ased Mammad
fab89a76b1 feat: WIP: Initial setup for i18next 2024-03-02 14:47:37 +03:30