fix(astro-i18n): update wrong locale code#12677
Conversation
✅ Deploy Preview for astro-docs-2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
trueberryless
left a comment
There was a problem hiding this comment.
Agreed, I think pt-PR was an unintended mix of BR and PT. It's not a valid BCP 47 language tag.
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Indeed this was a typo, nice catch! 🙌🏽
Description (required)
The locale code
pt-PRdoes not seem to exist.Based on my findings, the locales
pt-PTandpt-BRexist, and given that the return value of thenormalizeTheLocalefunction ispt-pt, it is assumed thatpt-PRis a typo forpt-PT, and thus it is corrected.Related issues & labels (optional)