Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vitepress'

import * as i18n from './i18n'
import * as i18n from './i18n/index.mjs'

process.env.VITE_EXTRA_EXTENSIONS = 'ini,gm9'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { el_GR as localeData } from './strings'
import { el_GR as localeData } from './strings/index.mjs'

const locale = "el_GR";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { en_US as localeData } from './strings'
import { en_US as localeData } from './strings/index.mjs'

const sidebar_common = {
text: localeData.other,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fr_FR as localeData } from './strings'
import { fr_FR as localeData } from './strings/index.mjs'

const locale = "fr_FR";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hu_HU as localeData } from './strings'
import { hu_HU as localeData } from './strings/index.mjs'

const locale = "hu_HU";

Expand Down
17 changes: 0 additions & 17 deletions docs/.vitepress/i18n/index.js

This file was deleted.

17 changes: 17 additions & 0 deletions docs/.vitepress/i18n/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import en_US from './en_US.mjs'
import el_GR from './el_GR.mjs'
import fr_FR from './fr_FR.mjs'
import hu_HU from './hu_HU.mjs'
import it_IT from './it_IT.mjs'
import ko_KR from './ko_KR.mjs'
import pt_BR from './pt_BR.mjs'

export {
en_US,
el_GR,
fr_FR,
hu_HU,
it_IT,
ko_KR,
pt_BR
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { it_IT as localeData } from './strings'
import { it_IT as localeData } from './strings/index.mjs'

const locale = "it_IT";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ko_KR as localeData } from './strings'
import { ko_KR as localeData } from './strings/index.mjs'

const locale = "ko_KR";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { pt_BR as localeData } from './strings'
import { pt_BR as localeData } from './strings/index.mjs'

const locale = "pt_BR";

Expand Down
65 changes: 0 additions & 65 deletions docs/.vitepress/i18n/strings/index.js

This file was deleted.

65 changes: 65 additions & 0 deletions docs/.vitepress/i18n/strings/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
import en_US from './en_US.json' with { type: 'json' }
import ar_SA from './ar_SA.json' with { type: 'json' }
import bg_BG from './bg_BG.json' with { type: 'json' }
import ca_ES from './ca_ES.json' with { type: 'json' }
import cs_CZ from './cs_CZ.json' with { type: 'json' }
import de_DE from './de_DE.json' with { type: 'json' }
import el_GR from './el_GR.json' with { type: 'json' }
import es_ES from './es_ES.json' with { type: 'json' }
import fi_FI from './fi_FI.json' with { type: 'json' }
import fr_FR from './fr_FR.json' with { type: 'json' }
import he_IL from './he_IL.json' with { type: 'json' }
import hr_HR from './hr_HR.json' with { type: 'json' }
import hu_HU from './hu_HU.json' with { type: 'json' }
import id_ID from './id_ID.json' with { type: 'json' }
import it_IT from './it_IT.json' with { type: 'json' }
import ja_JP from './ja_JP.json' with { type: 'json' }
import ko_KR from './ko_KR.json' with { type: 'json' }
import ms_MY from './ms_MY.json' with { type: 'json' }
import nl_NL from './nl_NL.json' with { type: 'json' }
import no_NO from './no_NO.json' with { type: 'json' }
import pl_PL from './pl_PL.json' with { type: 'json' }
import pt_BR from './pt_BR.json' with { type: 'json' }
import pt_PT from './pt_PT.json' with { type: 'json' }
import ru_RU from './ru_RU.json' with { type: 'json' }
import sv_SE from './sv_SE.json' with { type: 'json' }
import th_TH from './th_TH.json' with { type: 'json' }
import tr_TR from './tr_TR.json' with { type: 'json' }
import uk_UA from './uk_UA.json' with { type: 'json' }
import vi_VN from './vi_VN.json' with { type: 'json' }
import zh_CN from './zh_CN.json' with { type: 'json' }
import zh_TW from './zh_TW.json' with { type: 'json' }

export {
en_US,
ar_SA,
bg_BG,
ca_ES,
cs_CZ,
de_DE,
el_GR,
es_ES,
fi_FI,
fr_FR,
he_IL,
hr_HR,
hu_HU,
id_ID,
it_IT,
ja_JP,
ko_KR,
ms_MY,
nl_NL,
no_NO,
pl_PL,
pt_BR,
pt_PT,
ru_RU,
sv_SE,
th_TH,
tr_TR,
uk_UA,
vi_VN,
zh_CN,
zh_TW
}
2 changes: 1 addition & 1 deletion docs/.vitepress/theme
Loading
Loading