Skip to content

Commit

Permalink
Sync JS FBT www and fbsource
Browse files Browse the repository at this point in the history
Reviewed By: lacbs

Differential Revision: D56639174

fbshipit-source-id: 4ba697f6c268ad0e6c91a9b1bcc42303fdb6f14c
  • Loading branch information
On Saint Tiong authored and facebook-github-bot committed Apr 26, 2024
1 parent 45ebf8c commit 0ac2d3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/shared/fbt.js
Expand Up @@ -176,6 +176,7 @@ function fbtCallsite(
// Append '1_' for appid's prepended to our i18n hash
// (see intl_get_application_id)
const stringID = '1_' + patternHash;
// $FlowFixMe[invalid-computed-prop]
if (overrides[stringID] != null && overrides[stringID] !== '') {
patternString = overrides[stringID];
FbtHooks.onTranslationOverride(patternHash);
Expand Down

0 comments on commit 0ac2d3d

Please sign in to comment.