Skip to content

Commit

Permalink
fix: tramslations
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Feb 13, 2024
1 parent 21849d0 commit 5ddcaf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/package/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default class {
return result( isTranslated ? 200 : 500, status );
}

// XXX
async update () {
await this.#initTranslationMemory();

Expand Down Expand Up @@ -167,6 +168,7 @@ export default class {
message.setTranslations( null );
}

// XXX
// message is fully translated
if ( message.isTranslated && !message.isFuzzy ) {

Expand Down

0 comments on commit 5ddcaf0

Please sign in to comment.