mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 17:47:27 +00:00
* ✨ feat(tts): Add tts and stt basic features * ✨ feat(tts): Handle error * 💄 style(tts): Add alert to error handler * 🐛 fix(tts): Error display * ♻️ refactor: refactor the openai initial code to the createBizOpenAI * ♻️ refactor(tts): Refactor header config * ✨ feat: Add TTS voice preview * 🐛 fix(tts): Fix header * 🐛 fix: Fix api --------- Co-authored-by: Arvin Xu <arvinx@foxmail.com>
51 lines
4 KiB
JSON
51 lines
4 KiB
JSON
{
|
|
"pluginSettings": {
|
|
"desc": "Complete the following configuration to start using this plugin",
|
|
"title": "{{name}} Plugin Settings"
|
|
},
|
|
"response": {
|
|
"400": "Sorry, the server does not understand your request. Please make sure your request parameters are correct.",
|
|
"401": "Sorry, the server has rejected your request, possibly due to insufficient permissions or invalid authentication.",
|
|
"403": "Sorry, the server has rejected your request. You do not have permission to access this content.",
|
|
"404": "Sorry, the server cannot find the page or resource you requested. Please make sure your URL is correct.",
|
|
"405": "Sorry, the server does not support the request method you are using. Please make sure your request method is correct.",
|
|
"429": "Sorry, your request is too frequent and the server is a bit tired. Please try again later.",
|
|
"500": "Sorry, the server seems to be experiencing some difficulties and is temporarily unable to complete your request. Please try again later.",
|
|
"502": "Sorry, the server seems to be lost and is temporarily unable to provide service. Please try again later.",
|
|
"503": "Sorry, the server is currently unable to process your request, possibly due to overload or maintenance. Please try again later.",
|
|
"504": "Sorry, the server did not receive a response from the upstream server. Please try again later.",
|
|
"InvalidAccessCode": "The password is incorrect or empty. Please enter the correct access password or add a custom OpenAI API Key.",
|
|
"OpenAIBizError": "Error requesting OpenAI service. Please troubleshoot or retry based on the following information.",
|
|
"PluginMarketIndexNotFound": "Sorry, the server could not find the plugin index. Please check if the index address is correct",
|
|
"PluginMarketIndexInvalid": "Sorry, the plugin index validation failed. Please check if the index file format is correct",
|
|
"PluginMetaNotFound": "Sorry, the plugin was not found in the index. Please check the plugin's configuration information in the index",
|
|
"PluginMetaInvalid": "Sorry, the plugin's metadata validation failed. Please check if the plugin metadata format is correct",
|
|
"PluginManifestNotFound": "Sorry, the server could not find the plugin's manifest file (manifest.json). Please check if the plugin manifest file address is correct",
|
|
"PluginManifestInvalid": "Sorry, the plugin's manifest validation failed. Please check if the manifest format is correct",
|
|
"PluginApiNotFound": "Sorry, the API does not exist in the plugin's manifest. Please check if your request method matches the plugin manifest API",
|
|
"PluginApiParamsError": "Sorry, the input parameter validation for the plugin request failed. Please check if the input parameters match the API description",
|
|
"PluginSettingsInvalid": "This plugin needs to be correctly configured before it can be used. Please check if your configuration is correct",
|
|
"PluginServerError": "Plugin server request returned an error. Please check your plugin manifest file, plugin configuration, or server implementation based on the error information below",
|
|
"NoAPIKey": "OpenAI API Key is empty, please add a custom OpenAI API Key"
|
|
},
|
|
"stt": {
|
|
"responseError": "Service request failed, please check the configuration or try again"
|
|
},
|
|
"tts": {
|
|
"responseError": "Service request failed, please check the configuration or try again"
|
|
},
|
|
"unlock": {
|
|
"apikey": {
|
|
"title": "Use Custom API Key",
|
|
"description": "Enter your OpenAI API Key to start the conversation. The application will not record your API Key.",
|
|
"addProxyUrl": "Add OpenAI Proxy URL (optional)"
|
|
},
|
|
"confirm": "Confirm and Retry",
|
|
"password": {
|
|
"description": "The application encryption has been enabled by the administrator. Enter the application password to unlock the application. The password only needs to be filled in once.",
|
|
"title": "Enter Password to Unlock Application",
|
|
"placeholder": "Please enter password"
|
|
},
|
|
"closeMessage": "Close message"
|
|
}
|
|
}
|