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() {
|
||||
return function(dispatch, getState) {
|
||||
if (!fs.existsSync("app/locales")) {
|
||||
fs.mkdirSync("app/locales");
|
||||
if (!fs.existsSync(app.i18n.directory)) {
|
||||
fs.mkdirSync(app.i18n.directory);
|
||||
}
|
||||
|
||||
dispatch({
|
||||
|
|
Loading…
Add table
Reference in a new issue