feat: improve wording and UX around CalDAV tokens (#2476)

This commit is contained in:
Miikka Kulmala 2026-03-26 11:02:04 +02:00 committed by GitHub
parent 39238333dd
commit b89b402bc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 16 deletions

View File

@ -147,15 +147,15 @@
}, },
"caldav": { "caldav": {
"title": "CalDAV", "title": "CalDAV",
"howTo": "You can connect Vikunja to CalDAV clients to view and manage all tasks from different clients. Enter this url into your client:", "howTo": "You can connect Vikunja to CalDAV clients to view and manage all your tasks from different clients. Enter this URL into your client:",
"more": "More information about CalDAV in Vikunja", "more": "More information about CalDAV in Vikunja",
"tokens": "CalDAV Tokens", "tokens": "CalDAV Tokens",
"tokensHowTo": "You can use a CalDAV token to use instead of a password to log in the above endpoint.", "tokensHowTo": "For CalDAV authentication you can use either your normal account password or a dedicated CalDAV token.",
"createToken": "Create a token", "createToken": "Create a CalDAV token",
"tokenCreated": "Here is your token: {token}", "tokenCreated": "Here is your new token: {token}",
"wontSeeItAgain": "Write it down, you won't be able to see it again.", "wontSeeItAgain": "Write it down or save it securely — you will not be able to see it again.",
"mustUseToken": "You need to create a CalDAV token if you want to use CalDAV with a third party client. Use the token as the password.", "mustUseToken": "You need to create a CalDAV token to use CalDAV with any third-party client. Enter the token in the password field of your client.",
"usernameIs": "Your username is: {0}" "usernameIs": "Your username for CalDAV is: {0}"
}, },
"avatar": { "avatar": {
"title": "Avatar", "title": "Avatar",

View File

@ -27,15 +27,13 @@
<p> <p>
{{ isLocalUser ? $t('user.settings.caldav.tokensHowTo') : $t('user.settings.caldav.mustUseToken') }} {{ isLocalUser ? $t('user.settings.caldav.tokensHowTo') : $t('user.settings.caldav.mustUseToken') }}
<template v-if="!isLocalUser"> <br>
<br> <i18n-t
<i18n-t keypath="user.settings.caldav.usernameIs"
keypath="user.settings.caldav.usernameIs" scope="global"
scope="global" >
> <strong>{{ username }}</strong>
<strong>{{ username }}</strong> </i18n-t>
</i18n-t>
</template>
</p> </p>
<table <table