i18n(time-tracking): add the time-tracking UI strings

This commit is contained in:
kolaente 2026-06-08 15:16:48 +02:00 committed by kolaente
parent 7c021dd663
commit 2d334e56c7
3 changed files with 35 additions and 6 deletions

View File

@ -8,14 +8,14 @@
<template #default>
<Card :has-content="false">
<div class="gantt-options">
<FormField :label="$t('project.gantt.range')">
<FormField :label="$t('misc.dateRange')">
<Foo
id="range"
ref="flatPickerEl"
v-model="flatPickerDateRange"
:config="flatPickerConfig"
class="input"
:placeholder="$t('project.gantt.range')"
:placeholder="$t('misc.dateRange')"
/>
</FormField>
<div

View File

@ -109,7 +109,7 @@
@click.stop="showSetLimitInput = true"
>
{{
$t('project.kanban.limit', {limit: bucket.limit > 0 ? bucket.limit : $t('project.kanban.noLimit')})
$t('project.kanban.limit', {limit: bucket.limit > 0 ? bucket.limit : $t('misc.notSet')})
}}
</DropdownItem>
<DropdownItem

View File

@ -172,6 +172,7 @@
"yyyy\/mm\/dd": "YYYY\/MM\/DD"
},
"timeFormat": "Time format",
"timeTrackingDefaultStart": "Time tracking smart-fill start time",
"timeFormatOptions": {
"12h": "12-hour (AM/PM)",
"24h": "24-hour (HH:mm)"
@ -470,7 +471,6 @@
"month": "Month",
"day": "Day",
"hour": "Hour",
"range": "Date Range",
"chartLabel": "Project Gantt Chart",
"taskBarsForRow": "Task bars for row {rowId}",
"taskBarLabel": "Task: {task}. From {startDate} to {endDate}. {dateType}. Click to edit, drag to move.",
@ -499,7 +499,6 @@
"kanban": {
"title": "Kanban",
"limit": "Limit: {limit}",
"noLimit": "Not Set",
"doneBucket": "Done bucket",
"doneBucketHint": "All tasks moved into this bucket will automatically marked as done.",
"doneBucketHintExtended": "All tasks moved into the done bucket will be marked as done automatically. All tasks marked as done from elsewhere will be moved as well.",
@ -783,7 +782,10 @@
"closeDialog": "Close dialog",
"closeQuickActions": "Close quick actions",
"skipToContent": "Skip to main content",
"sortBy": "Sort by"
"sortBy": "Sort by",
"dateRange": "Date range",
"notSet": "Not set",
"user": "User"
},
"input": {
"projectColor": "Project color",
@ -993,6 +995,7 @@
"repeatAfter": "Set Repeating Interval",
"percentDone": "Set Progress",
"attachments": "Add Attachments",
"timeTracking": "Track time",
"relatedTasks": "Add Relation",
"moveProject": "Move",
"duplicate": "Duplicate",
@ -1462,6 +1465,32 @@
"frontendVersion": "Frontend version: {version}",
"apiVersion": "API version: {version}"
},
"timeTracking": {
"title": "Time tracking",
"stop": "Stop timer",
"logTime": "Log time",
"editEntry": "Edit entry",
"form": {
"task": "Task",
"taskSearch": "Search for a task…",
"commentPlaceholder": "What did you work on?",
"save": "Save entry",
"startTimer": "Start timer",
"update": "Update entry",
"smartFill": "Fill from last entry"
},
"list": {
"emptyTask": "No time tracked for this task yet.",
"emptyFiltered": "No time tracked for the selected filters.",
"total": "Total",
"time": "Time",
"duration": "Duration"
},
"browse": {
"selectRange": "Select a range",
"userSearch": "Search for a user…"
}
},
"time": {
"units": {
"seconds": "second|seconds",