diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-02-24 23:18:20 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-02-24 23:18:20 -0400 |
commit | f8bb3f83f37b621a6ace26dbe39c78023facfbbb (patch) | |
tree | 7cb52364f476ad6d055f99e60ee61f8e1946c08d /src/upd8.js | |
parent | 5057b24b53f3866cf9f34a6fdfa0d1345c0d8be0 (diff) |
strings - same language code, different build dir
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upd8.js b/src/upd8.js index 4a755abf..81275ad3 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2040,7 +2040,7 @@ async function wrapLanguages(fn, {writeOneLanguage = null}) { for (let i = 0; i < entries.length; i++) { const [ key, strings ] = entries[i]; - const baseDirectory = (strings === languages.default ? '' : strings.code); + const baseDirectory = (strings === languages.default ? '' : strings.baseDirectory); await fn({ baseDirectory, @@ -2233,7 +2233,7 @@ async function main() { } if (error) return; - languages = Object.fromEntries(results.map(strings => [strings.code, strings])); + languages = Object.fromEntries(results.map(strings => [strings.baseDirectory, strings])); } else { languages = {}; } |