Feat/embedding (#553)

Co-authored-by: Gillian97 <jinling.sunshine@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
zxhlyh 2023-07-12 17:27:50 +08:00 • committed by GitHub
commit fec607db81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 2208 additions and 41 deletions

View file

@ -6,10 +6,10 @@ const translation = {
addFeature: 'Add Feature',
automatic: 'Automatic',
stopResponding: 'Stop responding',
agree: 'agree',
disagree: 'disagree',
cancelAgree: 'Cancel agree',
cancelDisagree: 'Cancel disagree',
agree: 'like',
disagree: 'dislike',
cancelAgree: 'Cancel like',
cancelDisagree: 'Cancel dislike',
userAction: 'User ',
},
notSetAPIKey: {

View file

@ -36,6 +36,15 @@ const translation = {
privacyPolicyTip: 'Helps visitors understand the data the application collects, see Dify\'s <privacyPolicyLink>Privacy Policy</privacyPolicyLink>.',
},
},
embedded: {
entry: 'Embedded',
title: 'Embed on website',
explanation: 'Choose the way to embed chat app to your website',
iframe: 'To add the chat app any where on your website, add this iframe to your html code.',
scripts: 'To add a chat app to the bottom right of your website add this code to your html.',
copied: 'Copied',
copy: 'Copy',
},
customize: {
way: 'way',
entry: 'Want to customize your WebApp?',

View file

@ -36,6 +36,15 @@ const translation = {
privacyPolicyTip: '帮助访问者了解该应用收集的数据,可参考 Dify 的<privacyPolicyLink>隐私政策</privacyPolicyLink>。',
},
},
embedded: {
entry: '嵌入',
title: '嵌入到网站中',
explanation: '选择一种方式将聊天应用嵌入到你的网站中',
iframe: '将以下 iframe 嵌入到你的网站中的目标位置',
scripts: '将以下代码嵌入到你的网站中',
copied: '已复制',
copy: '复制',
},
customize: {
way: '方法',
entry: '想要进一步自定义 WebApp?',