fix: improve the reminder hint

This commit is contained in:
kolaente 2022-09-08 14:21:20 +02:00
parent 9d2990a23b
commit 3d5f50ccd4
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 5 additions and 6 deletions

View file

@ -91,7 +91,7 @@
"defaultReminder": "Set a default task reminder", "defaultReminder": "Set a default task reminder",
"defaultReminderHint": "If enabled, Vikunja will automatically create a reminder for a task if you set a due date and the task does not have any reminders yet.", "defaultReminderHint": "If enabled, Vikunja will automatically create a reminder for a task if you set a due date and the task does not have any reminders yet.",
"defaultReminderAmount": "Default task reminder amount", "defaultReminderAmount": "Default task reminder amount",
"defaultReminderAmountHint": "The time difference the reminder will be set to before the due date." "defaultReminderAmountBefore": "before the due date of a task"
}, },
"totp": { "totp": {
"title": "Two Factor Authentication", "title": "Two Factor Authentication",

View file

@ -31,11 +31,7 @@
<label class="label" for="defaultReminderAmount"> <label class="label" for="defaultReminderAmount">
{{ $t('user.settings.general.defaultReminderAmount') }} {{ $t('user.settings.general.defaultReminderAmount') }}
</label> </label>
<p class="is-size-7"> <div class="field has-addons is-align-items-center">
{{ $t('user.settings.general.defaultReminderAmountHint') }}
</p>
<div class="field has-addons">
<div class="control"> <div class="control">
<input <input
@keyup.enter="updateSettings" @keyup.enter="updateSettings"
@ -65,6 +61,9 @@
</option> </option>
</select> </select>
</div> </div>
<p class="pl-2">
{{ $t('user.settings.general.defaultReminderAmountBefore') }}
</p>
</div> </div>
</div> </div>
<div class="field"> <div class="field">