Skip to content

Commit

Permalink
Merge pull request #370 from ReadAlongs/dev.del/fix-sync-translation-…
Browse files Browse the repository at this point in the history
…for-download

fix: syncing translations for alternative download
  • Loading branch information
deltork authored Nov 8, 2024
2 parents ffeeedf + a376867 commit 408fb1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ Use the text editor to paste the snippet below in your WordPress page:
this.registerDownloadEvent(selectedOutputFormat, from);
} else {
let audio: HTMLAudioElement = new Audio(b64Audio);
// - update .readalong file translation
await this.updateTranslations(rasXML, readalong);

this.rasService
.convertRasFormat$(
{
Expand Down
1 change: 1 addition & 0 deletions packages/web-component/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"serve": {
"executor": "@nxext/stencil:serve",
"outputs": ["{options.outputPath}"],
"dependsOn": ["update-version-file"],
"options": {
"projectType": "library",
"tsConfig": "packages/web-component/tsconfig.lib.json",
Expand Down

0 comments on commit 408fb1d

Please sign in to comment.