-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: i18n: Apply Trans component to publish library dialogue #6564
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Thanks @Contextualist! Can we also do this for the We should also update the existing translations, consolidating the old strings into the new one, and sync back to Crowdin after we merge to |
Sure, done in 7bef66f
I tried to do an automated merge in bba9c00. Let me know if this is what you want. |
src/locales/ar-SA.json
Outdated
"noteDescription": { | ||
"pre": "", | ||
"link": "مستودع المكتبة العامة", | ||
"post": "ليستخدمها الآخرون في رسوماتهم." | ||
}, | ||
"noteGuidelines": { | ||
"pre": "يجب الموافقة على المكتبة يدويًا أولاً. يرجى قراءة ", | ||
"link": "الإرشادات", | ||
"post": "" | ||
}, | ||
"noteLicense": { | ||
"pre": "", | ||
"link": "رخصة إم أي تي ", | ||
"post": "وهو ما يعني باختصار أنه يمكن لأي شخص استخدامها دون قيود." | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking we should not migrate RTL languages as it's likely significant that they didn't translate pre/post strings. Running it through a translator, it looks weird though, so I think it's best if people re-translate the whole string.
So let's revert the migrations for all RTL languages: ar-SA, fa-IR, he-IL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, reverted in 10e2284
We're good to go, thanks @Contextualist! ❤️ |
This PR uses the Trans component introduced in #6534 to handle publish library dialogue translation entries. These entries need JSX to handle the embedded links. This PR supersedes #4268.