From 96443c2a5b113382f89113834dbb940c3b2c246e Mon Sep 17 00:00:00 2001 From: soulgalore Date: Fri, 24 May 2024 09:01:23 +0200 Subject: [PATCH] fix: correct path to locale --- server/src/util/text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/util/text.js b/server/src/util/text.js index 370d535..ee9ee8a 100644 --- a/server/src/util/text.js +++ b/server/src/util/text.js @@ -3,7 +3,7 @@ import y18n from 'y18n'; import { getLocalFilePath } from './fileutil.js'; const locale = nconf.get('localization:defaultLocale'); const directory = - nconf.get('localization:directory') || getLocalFilePath('./locale'); + nconf.get('localization:directory') || getLocalFilePath('../../locales'); const myy18n = y18n({ updateFiles: false, locale, directory });