mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-09-13 21:15:22 -05:00
Change public folder to "locale"
This commit is contained in:
@@ -343,7 +343,7 @@ export default {
|
||||
updateData() {
|
||||
// Language data
|
||||
if (this.language) {
|
||||
axios.get(`/data/lang/${this.language}.json`)
|
||||
axios.get(`/data/locale/${this.language}.json`)
|
||||
.then(response => this.$i18n.add(this.language, { splatnet: response.data }))
|
||||
.catch(e => console.error(e));
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ const jsonpath = require('jsonpath');
|
||||
const _ = require('lodash');
|
||||
const { readJson, writeJson } = require('./utilities');
|
||||
|
||||
const localizationsPath = path.resolve('public/data/lang');
|
||||
const localizationsPath = path.resolve('public/data/locale');
|
||||
|
||||
class LocalizationProcessor {
|
||||
constructor(ruleset, languageInfo) {
|
||||
|
||||
Reference in New Issue
Block a user