Skip to content

Commit

Permalink
fix: tramslations
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Feb 14, 2024
1 parent a585f69 commit 6be8421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/package/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ export default class {

if ( !message.pluralId ) {
messageHash = JSON.stringify( message.translations[ 0 ] );
translatedMessageHash = JSON.stringify( translatedMessageHash.translations[ 0 ] );
translatedMessageHash = JSON.stringify( translatedMessage.translations[ 0 ] );
}
else {
messageHash = JSON.stringify( message.translations );
translatedMessageHash = JSON.stringify( translatedMessageHash.translations );
translatedMessageHash = JSON.stringify( translatedMessage.translations );
}

// XXX
Expand Down

0 comments on commit 6be8421

Please sign in to comment.