Internationalization: Add i18n support for login/auth messages in main#1406
Internationalization: Add i18n support for login/auth messages in main#1406scottanderson merged 2 commits intoopenfrontio:mainfrom
Conversation
WalkthroughA new "auth" section with four authentication-related messages was added to the English language resource file. The main client code now uses these messages by calling a translation function, replacing previously hardcoded authentication and authorization UI texts with localized versions. Changes
Suggested labels
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
npm error Exit handler never called! 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (3)📓 Common learningssrc/client/Main.ts (3)resources/lang/en.json (2)🧬 Code Graph Analysis (1)src/client/Main.ts (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description:
Internationalized all authentication-related messages shown before login or when unauthorized (e.g. "Login is required to access this website.") using the
translateTextfunction.Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
aotumuri