mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 03:14:40 +03:00
Add gmail privacy (#5568)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
1e0e5de097
commit
07b200a558
@ -36,6 +36,7 @@
|
||||
"HaveWrittenEmail": "have written an email",
|
||||
"NewIncomingMessage": "Sent you a new email",
|
||||
"ConfigLabel": "Email",
|
||||
"ConfigDescription": "Extension for Gmail email integration"
|
||||
"ConfigDescription": "Extension for Gmail email integration",
|
||||
"GooglePrivacy": "Huly’s use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements."
|
||||
}
|
||||
}
|
@ -36,6 +36,7 @@
|
||||
"HaveWrittenEmail": "han escrito un correo electrónico",
|
||||
"NewIncomingMessage": "Te ha enviado un nuevo correo electrónico",
|
||||
"ConfigLabel": "Correo Electrónico",
|
||||
"ConfigDescription": "Extensión para la integración de correo electrónico de Gmail"
|
||||
"ConfigDescription": "Extensión para la integración de correo electrónico de Gmail",
|
||||
"GooglePrivacy": "Huly’s use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements."
|
||||
}
|
||||
}
|
@ -36,6 +36,7 @@
|
||||
"HaveWrittenEmail": "escreveram um email",
|
||||
"NewIncomingMessage": "Recebeu um novo email",
|
||||
"ConfigLabel": "Email",
|
||||
"ConfigDescription": "Extensão para a integração de email do Gmail"
|
||||
"ConfigDescription": "Extensão para a integração de email do Gmail",
|
||||
"GooglePrivacy": "Huly’s use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements."
|
||||
}
|
||||
}
|
@ -36,6 +36,7 @@
|
||||
"HaveWrittenEmail": "написал(а) сообщение",
|
||||
"NewIncomingMessage": "Прислал вам новое сообщение",
|
||||
"ConfigLabel": "Электронная почта",
|
||||
"ConfigDescription": "Расширение по работе с Gmail электронной почтой"
|
||||
"ConfigDescription": "Расширение по работе с Gmail электронной почтой",
|
||||
"GooglePrivacy": "Использование и передача информации, полученной Huly от Google API, будет соответствовать <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Политике использования данных пользователей Google API</a>, включая требования ограниченного использования."
|
||||
}
|
||||
}
|
@ -14,8 +14,8 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import { getMetadata } from '@hcengineering/platform'
|
||||
import { Button, IconClose, Label } from '@hcengineering/ui'
|
||||
import { getMetadata, translate } from '@hcengineering/platform'
|
||||
import { Button, IconClose, Label, themeStore } from '@hcengineering/ui'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import gmail from '../plugin'
|
||||
import { concatLink } from '@hcengineering/core'
|
||||
@ -45,6 +45,12 @@
|
||||
window.open(redirectTo)
|
||||
dispatch('close')
|
||||
}
|
||||
|
||||
let label = ''
|
||||
|
||||
$: translate(gmail.string.GooglePrivacy, {}, $themeStore.language).then((res) => {
|
||||
label = res
|
||||
})
|
||||
</script>
|
||||
|
||||
<div class="card">
|
||||
@ -63,6 +69,10 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<Label label={gmail.string.RedirectGoogle} />
|
||||
<div class="mt-2">
|
||||
{@html label}
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<Button label={gmail.string.Connect} kind={'primary'} disabled={connecting} on:click={sendRequest} />
|
||||
</div>
|
||||
|
@ -42,6 +42,7 @@ export default mergeIds(gmailId, gmail, {
|
||||
AvailableTo: '' as IntlString,
|
||||
Email: '' as IntlString,
|
||||
HaveWrittenEmail: '' as IntlString,
|
||||
NewIncomingMessage: '' as IntlString
|
||||
NewIncomingMessage: '' as IntlString,
|
||||
GooglePrivacy: '' as IntlString
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user