feat: support app rename and make app card ui better (#766)

Co-authored-by: Gillian97 <jinling.sunshine@gmail.com>
This commit is contained in:
Joel
2023-08-16 10:31:08 +08:00
committed by GitHub
parent 216fc5d312
commit f95f6db0e3
53 changed files with 612 additions and 419 deletions

View File

@@ -121,7 +121,7 @@ const translation = {
tooLong: 'Variable key: {{key}} too length. Can not be longer then 16 characters',
notValid: 'Variable key: {{key}} is invalid. Can only contain letters, numbers, and underscores',
notStartWithNumber: 'Variable key: {{key}} can not start with a number',
keyAlreadyExists:'Variable key: :{{key}} already exists',
keyAlreadyExists: 'Variable key: :{{key}} already exists',
},
variableConig: {
modalTitle: 'Field settings',

View File

@@ -117,7 +117,7 @@ const translation = {
tooLong: '变量: {{key}} 长度太长。不能超过 16 个字符',
notValid: '变量: {{key}} 非法。只能包含英文字符,数字和下划线',
notStartWithNumber: '变量: {{key}} 不能以数字开头',
keyAlreadyExists:'变量:{{key}} 已存在',
keyAlreadyExists: '变量:{{key}} 已存在',
},
variableConig: {
modalTitle: '变量设置',

View File

@@ -33,14 +33,7 @@ const translation = {
explanation: 'Ready-to-use AI WebApp',
accessibleAddress: 'Public URL',
preview: 'Preview',
share: {
entry: 'Share',
explanation: 'Share the following URL to invite more people to access the application.',
shareUrl: 'Share URL',
linkCopied: 'Copied',
copyLink: 'Copy Link',
regenerate: 'Regenerate',
},
regenerate: 'Regenerate',
preUseReminder: 'Please enable WebApp before continuing.',
settings: {
entry: 'Settings',
@@ -70,7 +63,7 @@ const translation = {
},
customize: {
way: 'way',
entry: 'Want to customize your WebApp?',
entry: 'Customize',
title: 'Customize AI WebApp',
explanation: 'You can customize the frontend of the Web App to fit your scenario and style needs.',
way1: {
@@ -93,7 +86,7 @@ const translation = {
apiInfo: {
title: 'Backend service API',
explanation: 'Easily integrated into your application',
accessibleAddress: 'API Token',
accessibleAddress: 'Service API Endpoint',
doc: 'API Reference',
},
status: {

View File

@@ -33,14 +33,7 @@ const translation = {
explanation: '开箱即用的 AI WebApp',
accessibleAddress: '公开访问 URL',
preview: '预览',
share: {
entry: '分享',
explanation: '将以下网址分享出去,让更多人访问该应用',
shareUrl: '分享 URL',
copyLink: '复制链接',
regenerate: '重新生成',
linkCopied: '已复制',
},
regenerate: '重新生成',
preUseReminder: '使用前请先打开开关',
settings: {
entry: '设置',
@@ -70,7 +63,7 @@ const translation = {
},
customize: {
way: '方法',
entry: '想要进一步自定义 WebApp',
entry: '定制化',
title: '定制化 AI WebApp',
explanation: '你可以定制化 Web App 前端以符合你的情景与风格需求',
way1: {

View File

@@ -15,6 +15,7 @@ const translation = {
communityIntro:
'Discuss with team members, contributors and developers on different channels.',
roadmap: 'See our roadmap',
appNamePlaceholder: 'Please enter the name of the app',
newApp: {
startToCreate: 'Let\'s start with your new app',
captionName: 'Give your app a name',
@@ -36,6 +37,9 @@ const translation = {
appCreated: 'App created',
appCreateFailed: 'Failed to create app',
},
editApp: {
startToEdit: 'Edit App',
},
emoji: {
ok: 'OK',
cancel: 'Cancel',

View File

@@ -14,6 +14,7 @@ const translation = {
join: '参与社区',
communityIntro: '与团队成员、贡献者和开发者在不同频道中交流',
roadmap: '产品路线图',
appNamePlaceholder: '请输入应用名称',
newApp: {
startToCreate: '开始创建一个新应用',
captionName: '给应用起个名字',
@@ -35,6 +36,9 @@ const translation = {
appCreated: '应用已创建',
appCreateFailed: '应用创建失败',
},
editApp: {
startToEdit: '编辑应用',
},
emoji: {
ok: '确认',
cancel: '取消',

View File

@@ -23,6 +23,8 @@ const translation = {
lineBreak: 'Line break',
sure: 'I\'m sure',
download: 'Download',
delete: 'Delete',
settings: 'Settings',
setup: 'Setup',
getForFree: 'Get for free',
reload: 'Reload',
@@ -35,6 +37,7 @@ const translation = {
char: 'chars',
},
actionMsg: {
noModification: 'No modifications at the moment.',
modifiedSuccessfully: 'Modified successfully',
modificationFailed: 'Modification failed',
copySuccessfully: 'Copied successfully',

View File

@@ -23,6 +23,8 @@ const translation = {
lineBreak: '换行',
sure: '我确定',
download: '下载',
delete: '删除',
settings: '设置',
setup: '设置',
getForFree: '免费获取',
reload: '刷新',
@@ -35,6 +37,7 @@ const translation = {
char: '个字符',
},
actionMsg: {
noModification: '暂无修改',
modifiedSuccessfully: '修改成功',
modificationFailed: '修改失败',
copySuccessfully: '复制成功',