Skip to content

Commit

Permalink
Merge 18d9c70 into b6083f2
Browse files Browse the repository at this point in the history
  • Loading branch information
skapur12 authored Sep 6, 2023
2 parents b6083f2 + 18d9c70 commit 22fa2fa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/build-localization-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ To build the localization translations for all languages besides English:
* Run `npm run loc:build` to build the translations, move them to the package directories, and combine them altogether in one directory
* Run `npm run build-translations` to build the full, compiled translations for the web and desktop packages

* `web/dev-server/resources/i18n` contains web translations (web + all packages)
* `web/resources/i18n` contains web translations (web + all packages)
* `desktop/resources/i18n` contains desktop translations (desktop + all packages)
2 changes: 1 addition & 1 deletion packages/bonito-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"clean:build": "bux rmrf ./build",
"clean:esm": "bux rmrf ./lib",
"clean:cjs": "bux rmrf ./lib-cjs",
"clean:generated": "bux rmrf ./src/ui-common/generated",
"clean:generated": "bux rmrf ./src/generated",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:all": "npm run test:coverage",
Expand Down
1 change: 1 addition & 0 deletions util/bux/translation-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const writeFile = promisify(fs.writeFile);
const readFileAsync = promisify(fs.readFile);
const writeFileAsync = promisify(fs.writeFile);

// Generate bundled translations for web and desktop directories
export async function mergeAllTranslations(outputPath: string) {
const currentDirectory = process.cwd();
const rootDir = path.resolve(currentDirectory, "..");
Expand Down

0 comments on commit 22fa2fa

Please sign in to comment.