diff --git a/scripts/inject_codes.js b/scripts/inject_codes.js index bd04eee..2e914f8 100644 --- a/scripts/inject_codes.js +++ b/scripts/inject_codes.js @@ -9,7 +9,7 @@ const md = require('@vuepress/markdown')({ }); const themePlugins = require(path.join(__dirname, '../site/.vuepress/data/themePlugins.json')); -const locales = require(path.join(__dirname, '../site/.vuepress/data/locales.json')); +const locales = require(path.join(__dirname, '../site/.vuepress/i18n/locales.json')); // Constants const JSON_FILE_PATH = path.join(__dirname, '../site/.vuepress/data/gameVersions.json'); diff --git a/site/.vuepress/components/CodeInfo.vue b/site/.vuepress/components/CodeInfo.vue index 1e242bf..ecb9229 100644 --- a/site/.vuepress/components/CodeInfo.vue +++ b/site/.vuepress/components/CodeInfo.vue @@ -1,30 +1,45 @@ diff --git a/site/.vuepress/components/CodeList.vue b/site/.vuepress/components/CodeList.vue index f0a6d98..a22f492 100644 --- a/site/.vuepress/components/CodeList.vue +++ b/site/.vuepress/components/CodeList.vue @@ -6,12 +6,14 @@ @click="toggle(code)" @mouseover="inspect(code)" > - {{ code.title }} + {{ getCodeTitle(code) }}