mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #2950 from SillyTavern/moment-locales
Localize chat timestamps
This commit is contained in:
@ -215,6 +215,7 @@ function addLanguagesToDropdown() {
|
||||
}
|
||||
|
||||
export async function initLocales() {
|
||||
moment.locale(localeFile);
|
||||
langs = await fetch('/locales/lang.json').then(response => response.json());
|
||||
localeData = await getLocaleData(localeFile);
|
||||
applyLocale();
|
||||
|
Reference in New Issue
Block a user