-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathen.ts
More file actions
115 lines (113 loc) · 3.48 KB
/
Copy pathen.ts
File metadata and controls
115 lines (113 loc) · 3.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
import type { TranslationData } from '@objectstack/spec/system';
/**
* English (en) — Todo App Translations
*
* Per-locale file: one file per language, following the `per_locale` convention.
* Each file exports a single `TranslationData` object for its locale.
*/
export const en: TranslationData = {
objects: {
task: {
label: 'Task',
pluralLabel: 'Tasks',
fields: {
subject: { label: 'Subject', help: 'Brief title of the task' },
description: { label: 'Description' },
status: {
label: 'Status',
options: {
not_started: 'Not Started',
in_progress: 'In Progress',
waiting: 'Waiting',
completed: 'Completed',
deferred: 'Deferred',
},
},
priority: {
label: 'Priority',
options: {
low: 'Low',
normal: 'Normal',
high: 'High',
urgent: 'Urgent',
},
},
category: {
label: 'Category',
options: {
personal: 'Personal',
work: 'Work',
shopping: 'Shopping',
health: 'Health',
finance: 'Finance',
other: 'Other',
},
},
due_date: { label: 'Due Date' },
reminder_date: { label: 'Reminder Date/Time' },
completed_date: { label: 'Completed Date' },
owner: { label: 'Assigned To' },
tags: {
label: 'Tags',
options: {
important: 'Important',
quick_win: 'Quick Win',
blocked: 'Blocked',
follow_up: 'Follow Up',
review: 'Review',
},
},
is_recurring: { label: 'Recurring Task' },
recurrence_type: {
label: 'Recurrence Type',
options: {
daily: 'Daily',
weekly: 'Weekly',
monthly: 'Monthly',
yearly: 'Yearly',
},
},
recurrence_interval: { label: 'Recurrence Interval' },
is_completed: { label: 'Is Completed' },
is_overdue: { label: 'Is Overdue' },
progress_percent: { label: 'Progress (%)' },
estimated_hours: { label: 'Estimated Hours' },
actual_hours: { label: 'Actual Hours' },
notes: { label: 'Notes' },
category_color: { label: 'Category Color' },
},
},
},
apps: {
todo_app: {
label: 'Todo Manager',
description: 'Personal task management application',
},
},
messages: {
'common.save': 'Save',
'common.cancel': 'Cancel',
'common.delete': 'Delete',
'common.edit': 'Edit',
'common.create': 'Create',
'common.search': 'Search',
'common.filter': 'Filter',
'common.sort': 'Sort',
'common.refresh': 'Refresh',
'common.export': 'Export',
'common.back': 'Back',
'common.confirm': 'Confirm',
'success.saved': 'Successfully saved',
'success.deleted': 'Successfully deleted',
'success.completed': 'Task marked as completed',
'confirm.delete': 'Are you sure you want to delete this task?',
'confirm.complete': 'Mark this task as completed?',
'error.required': 'This field is required',
'error.load_failed': 'Failed to load data',
},
validationMessages: {
completed_date_required: 'Completed date is required when status is Completed',
recurrence_fields_required: 'Recurrence type is required for recurring tasks',
},
};