Change public folder to "locale"

This commit is contained in:
Matt Isenhower
2017-12-04 16:45:33 -08:00
parent dda40572e7
commit 763c9d34e5
2 changed files with 2 additions and 2 deletions

View File

@@ -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));
}

View File

@@ -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) {