updated doDownloadLanguages to use the app.i18n.directory property instead of 'app/locales' string
This commit is contained in:
parent
66287079e7
commit
fe5ba7cb9e
1 changed files with 2 additions and 2 deletions
|
@ -291,8 +291,8 @@ export function doDownloadLanguage(lang, destinationPath) {
|
||||||
|
|
||||||
export function doDownloadLanguages() {
|
export function doDownloadLanguages() {
|
||||||
return function(dispatch, getState) {
|
return function(dispatch, getState) {
|
||||||
if (!fs.existsSync("app/locales")) {
|
if (!fs.existsSync(app.i18n.directory)) {
|
||||||
fs.mkdirSync("app/locales");
|
fs.mkdirSync(app.i18n.directory);
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatch({
|
dispatch({
|
||||||
|
|
Loading…
Reference in a new issue