You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variable $translator_name$ used but not defined
Very good extension, but encountered an issue with the latest version 5.0.7 and prompted an error: Invalid locale file '...\gbefmodhlophhakmoecijeppjblibmie\5.0.7_0_locales\gu\messages.json': Variable $translator_name$ used but not defined. I cannot directly use chrome webstore here, and I load the plugin through the command line parameter "--load-extension". My chrome version is 118.0.5993.71;I tried using Chrome version 117.x and had the same issue, but the 116 version doesn't seem to prompt.
vitonsky
changed the title
Variable $translator_name$ used but not defined
Variable $translator_name$ used but not defined for some locales
Oct 26, 2023
Original report
The problem
I looked at locale file and see the problem:
linguist/src/_locales/gu/messages.json
Lines 584 to 586 in cd42033
Unlike another locale files like
linguist/src/_locales/en/messages.json
Lines 584 to 592 in cd42033
, the locale file translated by AI is does not have the placeholder
translator_name
.Proposal to fix
Fix the original problem - insert placeholder.
Prevent problem for future - add linter rule or script to check all localization files. All files must have the same structure.
The text was updated successfully, but these errors were encountered: