Skip to content

Commit

Permalink
swap
Browse files Browse the repository at this point in the history
  • Loading branch information
trueai-org committed Aug 18, 2024
1 parent 0f3bda6 commit 4191503
Show file tree
Hide file tree
Showing 7 changed files with 366 additions and 67 deletions.
38 changes: 24 additions & 14 deletions src/locales/en-US/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ export default {
'pages.account.cfok': 'Mark verification passed',
'pages.account.mjVersionSuccess': 'MJ version switch successful',
'pages.account.remixAutoSubmit': 'Remix Auto Submit',
'pages.account.enableFastToRelax':'Automatically switches to slow speed',
'pages.account.enableFastToRelaxTips':'When the fast mode is used up, it automatically switches to the slow mode',
'pages.account.enableFastToRelax': 'Automatically switches to slow speed',
'pages.account.enableFastToRelaxTips':
'When the fast mode is used up, it automatically switches to the slow mode',
'pages.account.mjChannelId': 'MJBot Private ChannelID',
'pages.account.nijiChannelId': 'NijiBot Private ChannelID',
'pages.account.basicInfo': 'Basic Info',
Expand Down Expand Up @@ -207,6 +208,7 @@ export default {
'pages.task.failReason': 'Failed Reason',
'pages.task.state': 'Custom Params',
'pages.task.image': 'Image',
'pages.task.video': 'Video',
'pages.task.extendedInfo': 'Extended Info',
'pages.task.botType': 'Bot Type',
'pages.task.instanceId': 'Instance ID',
Expand Down Expand Up @@ -264,7 +266,6 @@ export default {
'pages.domain.deleteTitle': 'Confirm delete this domain tag?',
'pages.domain.keywords.tooltip': 'Multiple keyword words are separated by ","',


'pages.word.add': 'Add Banned Word',
'pages.word.update': 'Update Banned Word',
'pages.word.name': 'Name',
Expand All @@ -279,7 +280,6 @@ export default {
'pages.word.deleteTitle': 'Confirm delete this banned word?',
'pages.word.keywords.tooltip': 'Multiple keyword words are separated by ","',


'pages.draw.swapTip': 'swap requires at least two images!',
'pages.draw.blendTip': 'blend requires at least two images!',
'pages.draw.imageEmptyTip': 'The image cannot be empty!',
Expand All @@ -289,7 +289,13 @@ export default {
'pages.draw.unsupportedAction': 'This page does not currently support that command!',
'pages.draw.actionSuccess': 'Action executed successfully',
'pages.draw.subSuccess': 'Submit successful, please wait...',
'pages.draw.swapDesc': 'Face replacement (the first image is used as the face source)',
'pages.draw.swapDesc': 'Face replacement (first image as face source, or input image link)',
'pages.draw.swapVideoDesc': 'Video Face replacement (first image as face source, or input image link)',
'pages.draw.swap1Desc':
'The first image is used as the face source, and if it is not uploaded, enter the image link',
'pages.draw.swap2Desc':
'The second image is the target image, and if it is not uploaded, enter the image link',
'pages.draw.swap2VidelDesc': 'Second, please upload the target video, if not uploaded, enter the video link',
'pages.draw.inputIdShow': 'Enter the task ID to bring up tasks that are not displayed',
'pages.draw.inputJobIdShow':
'Enter the job id or url to convert the midjourney task to the local system task',
Expand All @@ -298,7 +304,7 @@ export default {
'pages.draw.SQUARE': 'Square(1:1)',
'pages.draw.LANDSCAPE': 'Landscape(3:2)',
'pages.draw.clear': 'Clear Selection',
'pages.draw.onlyJpgPng': 'You can only upload JPG or PNG files!',
'pages.draw.onlyJpgPng': 'You can only upload JPG or PNG or MP4 files!',
'pages.draw.limit10M': 'The image cannot be larger than 10MB!',
'pages.draw.selectAccount': 'Assigned account drawing',

Expand Down Expand Up @@ -329,13 +335,15 @@ export default {
'pages.setting.mongoDefaultConnectionString': 'Mongo Default Connection String',
'pages.setting.mongoDefaultDatabase': 'Mongo Default Database',
'pages.setting.isMongoAutoMigrate': 'MongoDB data migration',
'pages.setting.isMongoAutoMigrateTips': 'After this function is enabled, local tasks are automatically migrated to MongoDB when the system starts',
'pages.setting.isMongoAutoMigrateTips':
'After this function is enabled, local tasks are automatically migrated to MongoDB when the system starts',
'pages.setting.maxCount': 'Save the maximum number of drawings',
'pages.setting.accountChooseRule': 'Account Choose Rule',

'pages.setting.discordConfig':'Discord Config',
'pages.setting.proxyConfig':'Proxy Config',
'pages.setting.aliyunOss':'Aliyun OSS',
'pages.setting.discordConfig': 'Discord Config',
'pages.setting.proxyConfig': 'Proxy Config',
'pages.setting.aliyunOss': 'Aliyun OSS',
'pages.setting.replicate': 'Replicate Config',

'pages.setting.ngDiscord': 'Discord Config',
'pages.setting.proxy': 'Proxy Config',
Expand All @@ -347,8 +355,9 @@ export default {
'pages.setting.notifyPoolSize': 'Notify Pool Size',
'pages.setting.captchaServer': 'Captcha Server',
'pages.setting.captchaNotifyHook': 'Captcha Notify Hook',
'pages.setting.captchaNotifySecret':'CloudFlare Notify Secret',
'pages.setting.captchaNotifySecretTip':'To verify the validity of CloudFlare verification notification callback, enter a random string',
'pages.setting.captchaNotifySecret': 'CloudFlare Notify Secret',
'pages.setting.captchaNotifySecretTip':
'To verify the validity of CloudFlare verification notification callback, enter a random string',
'pages.setting.enableRegister': 'Enable Register',
'pages.setting.isVerticalDomain': 'Enable Vertical Domain',
'pages.setting.isVerticalDomainTips':
Expand All @@ -366,6 +375,7 @@ export default {
'pages.setting.tips':
'Note: Modifying the account configuration requires restarting the service. Other configuration modifications take effect in real time without restarting the service.',
'pages.setting.migrate': 'Migrate',
'pages.setting.migrateSuccess':'The migration job is running in the background, please check later',
'pages.setting.migrateTips':'Enter Host',
'pages.setting.migrateSuccess':
'The migration job is running in the background, please check later',
'pages.setting.migrateTips': 'Enter Host',
};
10 changes: 8 additions & 2 deletions src/locales/zh-CN/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export default {
'pages.task.failReason':'失败原因',
'pages.task.state':'自定义参数',
'pages.task.image':'图片',
'pages.task.video': '视频',
'pages.task.extendedInfo':'扩展信息',
'pages.task.botType':'bot类型',
'pages.task.instanceId':'实例ID',
Expand Down Expand Up @@ -276,15 +277,19 @@ export default {
'pages.draw.unsupportedAction':'当前页暂不支持该指令!',
'pages.draw.actionSuccess':'动作执行成功',
'pages.draw.subSuccess':'提交成功,请稍等...',
'pages.draw.swapDesc':'人脸替换(第一张图作为人脸源)',
'pages.draw.swapDesc':'人脸替换(第一张图作为人脸源,或输入图片链接)',
'pages.draw.swapVideoDesc': '视频人脸替换(第一张图作为人脸源,或输入图片链接)',
'pages.draw.swap1Desc':'第一张图作为人脸源,如果未上传,则输入图片链接',
'pages.draw.swap2Desc':'第二张图作为目标图片,如果未上传,则输入图片链接',
'pages.draw.swap2VidelDesc':'第二张请上传目标视频,如果未上传,则输入视频链接',
'pages.draw.inputIdShow':'输入任务ID, 调出未展示的任务',
'pages.draw.inputJobIdShow':'输入 job id 或 url, 将 midjourney 任务转为本系统任务',
'pages.draw.submitTask':'提交任务',
'pages.draw.PORTRAIT':'肖像(2:3)',
'pages.draw.SQUARE':'正方形(1:1)',
'pages.draw.LANDSCAPE':'景观(3:2)',
'pages.draw.clear':'清除选中',
'pages.draw.onlyJpgPng':'只能上传JPG或PNG文件!',
'pages.draw.onlyJpgPng':'只能上传JPG/PNG/MP4文件!',
'pages.draw.limit10M':'图片不能大于10MB!',
'pages.draw.selectAccount': '选择指定账号绘图',

Expand Down Expand Up @@ -319,6 +324,7 @@ export default {
'pages.setting.discordConfig':'Discord 配置',
'pages.setting.proxyConfig':'Proxy 配置',
'pages.setting.aliyunOss':'阿里云 OSS',
'pages.setting.replicate':'换脸配置',
'pages.setting.translate':'开启翻译',
'pages.setting.baiduTranslate':'百度翻译',
'pages.setting.openai': 'GPT 翻译',
Expand Down
Loading

0 comments on commit 4191503

Please sign in to comment.