feat: custom webapp logo (#1766)
This commit is contained in:
parent
65fd4b39ce
commit
5bb841935e
40 changed files with 888 additions and 24 deletions
30
web/i18n/lang/custom.en.ts
Normal file
30
web/i18n/lang/custom.en.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
const translation = {
|
||||
custom: 'Customization',
|
||||
upgradeTip: {
|
||||
prefix: 'Upgrade your plan to',
|
||||
suffix: 'customize your brand.',
|
||||
},
|
||||
webapp: {
|
||||
title: 'Customize web app brand',
|
||||
removeBrand: 'Remove Powered by Dify',
|
||||
changeLogo: 'Change Powered by Brand Image',
|
||||
changeLogoTip: 'SVG or PNG format with a minimum size of 40x40px',
|
||||
},
|
||||
app: {
|
||||
title: 'Customize app header brand',
|
||||
changeLogoTip: 'SVG or PNG format with a minimum size of 80x80px',
|
||||
},
|
||||
upload: 'Upload',
|
||||
uploading: 'Uploading',
|
||||
uploadedFail: 'Image upload failed, please re-upload.',
|
||||
change: 'Change',
|
||||
apply: 'Apply',
|
||||
restore: 'Restore Defaults',
|
||||
customize: {
|
||||
contactUs: ' contact us ',
|
||||
prefix: 'To customize the brand logo within the app, please',
|
||||
suffix: 'to upgrade to the Enterprise edition.',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
30
web/i18n/lang/custom.zh.ts
Normal file
30
web/i18n/lang/custom.zh.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
const translation = {
|
||||
custom: '定制',
|
||||
upgradeTip: {
|
||||
prefix: '升级您的计划以',
|
||||
suffix: '定制您的品牌。',
|
||||
},
|
||||
webapp: {
|
||||
title: '定制 web app 品牌',
|
||||
removeBrand: '移除 Powered by Dify',
|
||||
changeLogo: '更改 Powered by Brand 图片',
|
||||
changeLogoTip: 'SVG 或 PNG 格式,最小尺寸为 40x40px',
|
||||
},
|
||||
app: {
|
||||
title: '定制应用品牌',
|
||||
changeLogoTip: 'SVG 或 PNG 格式,最小尺寸为 80x80px',
|
||||
},
|
||||
upload: '上传',
|
||||
uploading: '上传中',
|
||||
uploadedFail: '图片上传失败,请重新上传。',
|
||||
change: '更改',
|
||||
apply: '应用',
|
||||
restore: '恢复默认',
|
||||
customize: {
|
||||
contactUs: '联系我们',
|
||||
prefix: '如需在 Dify 内自定义品牌图标,请',
|
||||
suffix: '升级至企业版。',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
Loading…
Add table
Add a link
Reference in a new issue