mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
5dd0f0c0c9
Introduce a MarketAuthScene ('default' | 'sandbox' | 'mcp' | 'publish') so the
Market authorization modal can show capability-specific copy instead of the
generic "Create Community Profile" wording, while falling back to the generic
copy for unknown scenes.
- Reactive (401) path: infer scene from the tRPC procedure path in the error
link and carry it on the market-unauthorized event.
- Proactive path: callers pass the scene to signIn() (publish buttons, MCP/skill
install, in-chat market tool auth).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
102 lines
7.4 KiB
JSON
102 lines
7.4 KiB
JSON
{
|
|
"authorize.cancel": "Not Now",
|
|
"authorize.confirm": "Create Your Profile",
|
|
"authorize.description": "Your community profile is separate from your {{appName}} user account.",
|
|
"authorize.footer.agreement": "By continuing, you confirm that you have read and agree to the <terms>Terms and Conditions</terms> and <privacy>Privacy Policy</privacy>.",
|
|
"authorize.footer.privacy": "Privacy Policy",
|
|
"authorize.footer.terms": "Terms of Service",
|
|
"authorize.scenes.mcp.subtitle": "Create a community profile to install and run this skill from the community.",
|
|
"authorize.scenes.mcp.title": "Install Community Skill",
|
|
"authorize.scenes.publish.subtitle": "Create a community profile to publish and manage your listing within the community.",
|
|
"authorize.scenes.publish.title": "Publish to the Community",
|
|
"authorize.scenes.sandbox.subtitle": "Create a community profile to run this tool in the community sandbox.",
|
|
"authorize.scenes.sandbox.title": "Try the Community Sandbox",
|
|
"authorize.subtitle": "Create a community profile to submit and manage listings within the community.",
|
|
"authorize.title": "Create Community Profile",
|
|
"callback.buttons.close": "Close Window",
|
|
"callback.messages.authFailed": "Authorization failed: {{error}}",
|
|
"callback.messages.missingParams": "Missing authorization parameters",
|
|
"callback.messages.processing": "Processing authorization...",
|
|
"callback.messages.successWithCountdown": "{{message}} The window will close automatically in {{countdown}} seconds",
|
|
"callback.messages.successWithRedirect": "Authorization successful! Redirecting...",
|
|
"callback.titles.error": "Authorization Failed",
|
|
"callback.titles.loading": "LobeHub Market Authorization",
|
|
"callback.titles.success": "Authorization Successful",
|
|
"claimResources.claim": "Claim Selected",
|
|
"claimResources.description": "We found resources linked to your account that you can claim:",
|
|
"claimResources.error": "Failed to claim resources. Please try again.",
|
|
"claimResources.mcpSection": "MCP Servers",
|
|
"claimResources.selectedCount": "{{count}} item(s) selected",
|
|
"claimResources.skillSection": "Skills",
|
|
"claimResources.skip": "Skip",
|
|
"claimResources.success": "Successfully claimed {{count}} resource(s)",
|
|
"claimResources.title": "Claim Your Resources",
|
|
"errors.authorizationFailed": "Authorization failed, please try again.",
|
|
"errors.browserOnly": "The authorization process can only be initiated in a browser.",
|
|
"errors.codeConsumed": "The authorization code has already been used. Please try again.",
|
|
"errors.codeVerifierMissing": "Invalid authorization session. Please restart the login process.",
|
|
"errors.general": "An error occurred during authorization. Please try again.",
|
|
"errors.handoffFailed": "Failed to retrieve authorization result. Please try again.",
|
|
"errors.handoffTimeout": "Authorization timed out. Please complete the process in your browser and try again.",
|
|
"errors.oidcNotReady": "Authorization service is not ready. Please try again later.",
|
|
"errors.openBrowserFailed": "Failed to open the system browser. Please try again.",
|
|
"errors.openPopupFailed": "Failed to open authorization popup. Please check your browser's popup blocker settings.",
|
|
"errors.popupClosed": "The authorization window was closed before completion.",
|
|
"errors.sessionExpired": "Authorization session has expired. Please log in again.",
|
|
"errors.stateMismatch": "Authorization state mismatch. Please try again.",
|
|
"errors.stateMissing": "Authorization state not found. Please try again.",
|
|
"messages.authorizationFailed": "Authorization ran into an issue. Retry, or check if you finished signing in in your browser.",
|
|
"messages.authorized": "LobeHub service authorized successfully",
|
|
"messages.handoffTimeout": "Authorization timed out. Finish it in your browser, then retry.",
|
|
"messages.loading": "Starting authorization process...",
|
|
"messages.success.cloudMcpInstall": "Authorization successful! You can now install the Cloud MCP skill.",
|
|
"messages.success.submit": "Authorization successful! You can now publish your agent.",
|
|
"messages.success.upload": "Authorization successful! You can now publish a new version.",
|
|
"profileSetup.cancel": "Cancel",
|
|
"profileSetup.confirmChangeUserId.cancel": "Cancel",
|
|
"profileSetup.confirmChangeUserId.confirm": "Change User ID",
|
|
"profileSetup.confirmChangeUserId.description": "Once you switch to @{{newId}}, anyone can claim your old ID @{{oldId}} and all existing links to your profile will break. This can't be undone. Are you sure you want to continue?",
|
|
"profileSetup.confirmChangeUserId.title": "Change User ID?",
|
|
"profileSetup.descriptionEdit": "Update your community profile information.",
|
|
"profileSetup.descriptionFirstTime": "Set up your profile to complete your community profile.",
|
|
"profileSetup.errors.fileTooLarge": "File size cannot exceed 2MB",
|
|
"profileSetup.errors.notAuthenticated": "Please sign in first",
|
|
"profileSetup.errors.updateFailed": "Failed to update profile. Please try again",
|
|
"profileSetup.errors.uploadFailed": "Upload failed. Please try again",
|
|
"profileSetup.errors.usernameTaken": "This User ID is already taken. Please choose another",
|
|
"profileSetup.fields.avatar.label": "Avatar",
|
|
"profileSetup.fields.bannerUrl.clickToUpload": "Click to upload banner image",
|
|
"profileSetup.fields.bannerUrl.label": "Banner Image",
|
|
"profileSetup.fields.bannerUrl.remove": "Remove banner",
|
|
"profileSetup.fields.bannerUrl.tooltip": "Banner image will be displayed at the top of your profile page (16:9 ratio recommended)",
|
|
"profileSetup.fields.bannerUrl.uploading": "Uploading...",
|
|
"profileSetup.fields.description.label": "Bio",
|
|
"profileSetup.fields.description.maxLength": "Bio must be at most 200 characters",
|
|
"profileSetup.fields.description.placeholder": "Tell us about yourself...",
|
|
"profileSetup.fields.displayName.label": "Display Name",
|
|
"profileSetup.fields.displayName.maxLength": "Display name must be at most 50 characters",
|
|
"profileSetup.fields.displayName.placeholder": "Enter your display name",
|
|
"profileSetup.fields.displayName.required": "Please enter a display name",
|
|
"profileSetup.fields.github.placeholder": "GitHub username",
|
|
"profileSetup.fields.twitter.placeholder": "X (Twitter) username",
|
|
"profileSetup.fields.userName.label": "User ID",
|
|
"profileSetup.fields.userName.maxLength": "User ID must be at most 32 characters",
|
|
"profileSetup.fields.userName.minLength": "User ID must be at least 3 characters",
|
|
"profileSetup.fields.userName.pattern": "User ID can only contain letters, numbers, underscores, and hyphens",
|
|
"profileSetup.fields.userName.placeholder": "Enter your User ID",
|
|
"profileSetup.fields.userName.required": "Please enter a User ID",
|
|
"profileSetup.fields.userName.tooltip": "User ID is your unique identifier and will be used for your profile page URL",
|
|
"profileSetup.fields.website.invalidUrl": "Please enter a valid URL",
|
|
"profileSetup.fields.website.placeholder": "Personal website URL",
|
|
"profileSetup.getStarted": "Get Started",
|
|
"profileSetup.save": "Save",
|
|
"profileSetup.socialLinks.connectProvider": "Connect {{provider}}",
|
|
"profileSetup.socialLinks.connected": "Connected",
|
|
"profileSetup.socialLinks.connecting": "Connecting...",
|
|
"profileSetup.socialLinks.disconnect": "Disconnect",
|
|
"profileSetup.socialLinks.title": "Social Links",
|
|
"profileSetup.success": "Profile updated successfully",
|
|
"profileSetup.titleEdit": "Edit Profile",
|
|
"profileSetup.titleFirstTime": "Complete Your Profile"
|
|
}
|