feat(app): i18n (#48)
This commit is contained in:
committed by
GitHub
Unverified
parent
505a64438e
commit
6e09a69f4f
263
src/i18n/locales/en/channels.json
Normal file
263
src/i18n/locales/en/channels.json
Normal file
@@ -0,0 +1,263 @@
|
||||
{
|
||||
"title": "Messaging Channels",
|
||||
"subtitle": "Manage your messaging channels and connections",
|
||||
"refresh": "Refresh",
|
||||
"addChannel": "Add Channel",
|
||||
"stats": {
|
||||
"total": "Total Channels",
|
||||
"connected": "Connected",
|
||||
"disconnected": "Disconnected"
|
||||
},
|
||||
"gatewayWarning": "Gateway service is not running. Channels cannot connect.",
|
||||
"available": "Available Channels",
|
||||
"availableDesc": "Connect a new channel",
|
||||
"showAll": "Show All",
|
||||
"pluginBadge": "Plugin",
|
||||
"toast": {
|
||||
"whatsappConnected": "WhatsApp connected successfully",
|
||||
"whatsappFailed": "WhatsApp connection failed: {{error}}",
|
||||
"channelSaved": "Channel {{name}} saved",
|
||||
"channelConnecting": "Connecting to {{name}}...",
|
||||
"restartManual": "Please restart the gateway manually",
|
||||
"configFailed": "Configuration failed: {{error}}"
|
||||
},
|
||||
"dialog": {
|
||||
"updateTitle": "Update {{name}}",
|
||||
"configureTitle": "Configure {{name}}",
|
||||
"addTitle": "Add Channel",
|
||||
"existingDesc": "Update your existing configuration",
|
||||
"selectDesc": "Select a channel type to configure",
|
||||
"qrCode": "QRCode",
|
||||
"token": "Token",
|
||||
"scanQR": "Scan this QR code with {{name}}",
|
||||
"refreshCode": "Refresh Code",
|
||||
"loadingConfig": "Loading configuration...",
|
||||
"existingHint": "You have an existing configuration for this channel",
|
||||
"howToConnect": "How to connect",
|
||||
"viewDocs": "View Documentation",
|
||||
"channelName": "Channel Name",
|
||||
"channelNamePlaceholder": "My {{name}}",
|
||||
"credentialsVerified": "Credentials Verified",
|
||||
"validationFailed": "Validation Failed",
|
||||
"warnings": "Warnings",
|
||||
"back": "Back",
|
||||
"validating": "Validating...",
|
||||
"validateConfig": "Validate Configuration",
|
||||
"generatingQR": "Generating QR...",
|
||||
"validatingAndSaving": "Validating & Saving...",
|
||||
"generateQRCode": "Generate QR Code",
|
||||
"updateAndReconnect": "Update & Reconnect",
|
||||
"saveAndConnect": "Save & Connect",
|
||||
"envVar": "Environment Variable: {{var}}"
|
||||
},
|
||||
"meta": {
|
||||
"telegram": {
|
||||
"description": "Connect Telegram using a bot token from @BotFather",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/telegram",
|
||||
"fields": {
|
||||
"botToken": {
|
||||
"label": "Bot Token",
|
||||
"placeholder": "123456:ABC-DEF..."
|
||||
},
|
||||
"allowedUsers": {
|
||||
"label": "Allowed User IDs",
|
||||
"placeholder": "e.g. 123456789, 987654321",
|
||||
"description": "Comma separated list of User IDs allowed to use the bot. Required for security."
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Open Telegram and search for @BotFather",
|
||||
"Send /newbot and follow the instructions",
|
||||
"Copy the bot token provided",
|
||||
"Paste the token below",
|
||||
"Get your User ID from @userinfobot and paste it below"
|
||||
]
|
||||
},
|
||||
"discord": {
|
||||
"description": "Connect Discord using a bot token from Developer Portal",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/discord#how-to-create-your-own-bot",
|
||||
"fields": {
|
||||
"token": {
|
||||
"label": "Bot Token",
|
||||
"placeholder": "Your Discord bot token"
|
||||
},
|
||||
"guildId": {
|
||||
"label": "Guild/Server ID",
|
||||
"placeholder": "e.g., 123456789012345678",
|
||||
"description": "Limit bot to a specific server. Right-click server → Copy Server ID."
|
||||
},
|
||||
"channelId": {
|
||||
"label": "Channel ID (optional)",
|
||||
"placeholder": "e.g., 123456789012345678",
|
||||
"description": "Limit bot to a specific channel. Right-click channel → Copy Channel ID."
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Go to Discord Developer Portal → Applications → New Application",
|
||||
"In Bot section: Add Bot, then copy the Bot Token",
|
||||
"Enable Message Content Intent + Server Members Intent in Bot → Privileged Gateway Intents",
|
||||
"In OAuth2 → URL Generator: select \"bot\" + \"applications.commands\", add message permissions",
|
||||
"Invite the bot to your server using the generated URL",
|
||||
"Paste the bot token below"
|
||||
]
|
||||
},
|
||||
"whatsapp": {
|
||||
"description": "Connect WhatsApp by scanning a QR code (no phone number required)",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/whatsapp",
|
||||
"instructions": [
|
||||
"Open WhatsApp on your phone",
|
||||
"Go to Settings > Linked Devices > Link a Device",
|
||||
"Scan the QR code shown below",
|
||||
"The system will automatically identify your phone number"
|
||||
]
|
||||
},
|
||||
"signal": {
|
||||
"description": "Connect Signal using signal-cli",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/signal",
|
||||
"fields": {
|
||||
"phoneNumber": {
|
||||
"label": "Phone Number",
|
||||
"placeholder": "+1234567890"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Install signal-cli on your system",
|
||||
"Register or link your phone number",
|
||||
"Enter your phone number below"
|
||||
]
|
||||
},
|
||||
"feishu": {
|
||||
"description": "Connect Feishu/Lark bot via WebSocket",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/feishu#step-1-create-a-feishu-app",
|
||||
"fields": {
|
||||
"appId": {
|
||||
"label": "App ID",
|
||||
"placeholder": "cli_xxxxxx"
|
||||
},
|
||||
"appSecret": {
|
||||
"label": "App Secret",
|
||||
"placeholder": "Your app secret"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Go to Feishu Open Platform",
|
||||
"Create a new application",
|
||||
"Get App ID and App Secret",
|
||||
"Configure event subscription"
|
||||
]
|
||||
},
|
||||
"imessage": {
|
||||
"description": "Connect iMessage via BlueBubbles (macOS)",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/bluebubbles",
|
||||
"fields": {
|
||||
"serverUrl": {
|
||||
"label": "BlueBubbles Server URL",
|
||||
"placeholder": "http://localhost:1234"
|
||||
},
|
||||
"password": {
|
||||
"label": "Server Password",
|
||||
"placeholder": "Your server password"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Install BlueBubbles server on your Mac",
|
||||
"Note the server URL and password",
|
||||
"Enter the connection details below"
|
||||
]
|
||||
},
|
||||
"matrix": {
|
||||
"description": "Connect to Matrix protocol",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/matrix",
|
||||
"fields": {
|
||||
"homeserver": {
|
||||
"label": "Homeserver URL",
|
||||
"placeholder": "https://matrix.org"
|
||||
},
|
||||
"accessToken": {
|
||||
"label": "Access Token",
|
||||
"placeholder": "Your access token"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Create a Matrix account or use existing",
|
||||
"Get an access token from your client",
|
||||
"Enter the homeserver and token below"
|
||||
]
|
||||
},
|
||||
"line": {
|
||||
"description": "Connect LINE Messaging API",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/line",
|
||||
"fields": {
|
||||
"channelAccessToken": {
|
||||
"label": "Channel Access Token",
|
||||
"placeholder": "Your LINE channel access token"
|
||||
},
|
||||
"channelSecret": {
|
||||
"label": "Channel Secret",
|
||||
"placeholder": "Your LINE channel secret"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Go to LINE Developers Console",
|
||||
"Create a Messaging API channel",
|
||||
"Get Channel Access Token and Secret"
|
||||
]
|
||||
},
|
||||
"msteams": {
|
||||
"description": "Connect Microsoft Teams via Bot Framework",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/msteams",
|
||||
"fields": {
|
||||
"appId": {
|
||||
"label": "App ID",
|
||||
"placeholder": "Your Microsoft App ID"
|
||||
},
|
||||
"appPassword": {
|
||||
"label": "App Password",
|
||||
"placeholder": "Your Microsoft App Password"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Go to Azure Portal",
|
||||
"Register a new Bot application",
|
||||
"Get App ID and create a password",
|
||||
"Configure Teams channel"
|
||||
]
|
||||
},
|
||||
"googlechat": {
|
||||
"description": "Connect Google Chat via webhook",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/googlechat",
|
||||
"fields": {
|
||||
"serviceAccountKey": {
|
||||
"label": "Service Account JSON Path",
|
||||
"placeholder": "/path/to/service-account.json"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Create a Google Cloud project",
|
||||
"Enable Google Chat API",
|
||||
"Create a service account",
|
||||
"Download the JSON key file"
|
||||
]
|
||||
},
|
||||
"mattermost": {
|
||||
"description": "Connect Mattermost via Bot API",
|
||||
"docsUrl": "https://docs.openclaw.ai/channels/mattermost",
|
||||
"fields": {
|
||||
"serverUrl": {
|
||||
"label": "Server URL",
|
||||
"placeholder": "https://your-mattermost.com"
|
||||
},
|
||||
"botToken": {
|
||||
"label": "Bot Access Token",
|
||||
"placeholder": "Your bot access token"
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"Go to Mattermost Integrations",
|
||||
"Create a new Bot Account",
|
||||
"Copy the access token"
|
||||
]
|
||||
}
|
||||
},
|
||||
"viewDocs": "View Documentation"
|
||||
}
|
||||
Reference in New Issue
Block a user