diff --git a/project/assets/locales/cz.json b/project/assets/database/locales/server/cz.json similarity index 100% rename from project/assets/locales/cz.json rename to project/assets/database/locales/server/cz.json diff --git a/project/assets/locales/de.json b/project/assets/database/locales/server/de.json similarity index 100% rename from project/assets/locales/de.json rename to project/assets/database/locales/server/de.json diff --git a/project/assets/locales/en.json b/project/assets/database/locales/server/en.json similarity index 100% rename from project/assets/locales/en.json rename to project/assets/database/locales/server/en.json diff --git a/project/assets/locales/es.json b/project/assets/database/locales/server/es.json similarity index 100% rename from project/assets/locales/es.json rename to project/assets/database/locales/server/es.json diff --git a/project/assets/locales/fr.json b/project/assets/database/locales/server/fr.json similarity index 100% rename from project/assets/locales/fr.json rename to project/assets/database/locales/server/fr.json diff --git a/project/assets/locales/ge.json b/project/assets/database/locales/server/ge.json similarity index 100% rename from project/assets/locales/ge.json rename to project/assets/database/locales/server/ge.json diff --git a/project/assets/locales/hu.json b/project/assets/database/locales/server/hu.json similarity index 100% rename from project/assets/locales/hu.json rename to project/assets/database/locales/server/hu.json diff --git a/project/assets/locales/it.json b/project/assets/database/locales/server/it.json similarity index 100% rename from project/assets/locales/it.json rename to project/assets/database/locales/server/it.json diff --git a/project/assets/locales/jp.json b/project/assets/database/locales/server/jp.json similarity index 100% rename from project/assets/locales/jp.json rename to project/assets/database/locales/server/jp.json diff --git a/project/assets/locales/ko.json b/project/assets/database/locales/server/ko.json similarity index 100% rename from project/assets/locales/ko.json rename to project/assets/database/locales/server/ko.json diff --git a/project/assets/locales/nl.json b/project/assets/database/locales/server/nl.json similarity index 100% rename from project/assets/locales/nl.json rename to project/assets/database/locales/server/nl.json diff --git a/project/assets/locales/pl.json b/project/assets/database/locales/server/pl.json similarity index 100% rename from project/assets/locales/pl.json rename to project/assets/database/locales/server/pl.json diff --git a/project/assets/locales/pt.json b/project/assets/database/locales/server/pt.json similarity index 100% rename from project/assets/locales/pt.json rename to project/assets/database/locales/server/pt.json diff --git a/project/assets/locales/ru.json b/project/assets/database/locales/server/ru.json similarity index 100% rename from project/assets/locales/ru.json rename to project/assets/database/locales/server/ru.json diff --git a/project/assets/locales/sk.json b/project/assets/database/locales/server/sk.json similarity index 100% rename from project/assets/locales/sk.json rename to project/assets/database/locales/server/sk.json diff --git a/project/assets/locales/sv.json b/project/assets/database/locales/server/sv.json similarity index 100% rename from project/assets/locales/sv.json rename to project/assets/database/locales/server/sv.json diff --git a/project/assets/locales/tr.json b/project/assets/database/locales/server/tr.json similarity index 100% rename from project/assets/locales/tr.json rename to project/assets/database/locales/server/tr.json diff --git a/project/assets/locales/zh.json b/project/assets/database/locales/server/zh.json similarity index 100% rename from project/assets/locales/zh.json rename to project/assets/database/locales/server/zh.json diff --git a/project/src/models/spt/server/ILocaleBase.ts b/project/src/models/spt/server/ILocaleBase.ts index e05aebde..611d99b5 100644 --- a/project/src/models/spt/server/ILocaleBase.ts +++ b/project/src/models/spt/server/ILocaleBase.ts @@ -3,4 +3,5 @@ export interface ILocaleBase global: Record> menu: Record languages: Record + server: Record> } \ No newline at end of file diff --git a/project/src/services/LocalisationService.ts b/project/src/services/LocalisationService.ts index 1782e7ab..6d41480d 100644 --- a/project/src/services/LocalisationService.ts +++ b/project/src/services/LocalisationService.ts @@ -19,7 +19,7 @@ export class LocalisationService @inject("LocaleService") protected localeService: LocaleService ) { - const localeFileDirectory = (globalThis.G_RELEASE_CONFIGURATION) ? "Aki_Data/Server/locales" : "./assets/locales"; + const localeFileDirectory = (globalThis.G_RELEASE_CONFIGURATION) ? "Aki_Data/Server/database/locales/server" : "./assets/database/locales/server"; this.i18n = new I18n( { locales: this.localeService.getServerSupportedLocales(),