feat(localization): enhance task drawer translations and UI consistency

- Updated translations for task drawer components in Albanian, German, Spanish, Portuguese, Chinese, and English to improve clarity and consistency.
- Added new keys for task progress, activity log, and time log forms to support enhanced user interactions.
- Improved placeholder texts, error messages, and button labels for better user experience across multiple languages.
- Refactored activity log component to utilize translation keys for dynamic content rendering.
This commit is contained in:
chamikaJ
2025-07-08 15:51:47 +05:30
parent f06851fa37
commit 8fb33e311d
10 changed files with 394 additions and 171 deletions

View File

@@ -69,7 +69,18 @@
"addComment": "+ Add new comment",
"noComments": "No comments yet. Be the first to comment!",
"delete": "Delete",
"confirmDeleteComment": "Are you sure you want to delete this comment?"
"confirmDeleteComment": "Are you sure you want to delete this comment?",
"addCommentPlaceholder": "Add a comment...",
"cancel": "Cancel",
"commentButton": "Comment",
"attachFiles": "Attach files",
"addMoreFiles": "Add more files",
"selectedFiles": "Selected Files (Up to 25MB, Maximum of {count})",
"maxFilesError": "You can only upload a maximum of {count} files",
"processFilesError": "Failed to process files",
"addCommentError": "Please add a comment or attach files",
"createdBy": "Created {time} by {user}",
"updatedTime": "Updated {time}"
},
"searchInputPlaceholder": "Search by name",
"pendingInvitation": "Pending Invitation"
@@ -79,10 +90,29 @@
"addTimeLog": "Add new time log",
"totalLogged": "Total Logged",
"exportToExcel": "Export to Excel",
"noTimeLogsFound": "No time logs found"
"noTimeLogsFound": "No time logs found",
"timeLogForm": {
"date": "Date",
"startTime": "Start Time",
"endTime": "End Time",
"workDescription": "Work Description",
"descriptionPlaceholder": "Add a description",
"logTime": "Log time",
"updateTime": "Update time",
"cancel": "Cancel",
"selectDateError": "Please select a date",
"selectStartTimeError": "Please select start time",
"selectEndTimeError": "Please select end time",
"endTimeAfterStartError": "End time must be after start time"
}
},
"taskActivityLogTab": {
"title": "Activity Log"
"title": "Activity Log",
"add": "ADD",
"remove": "REMOVE",
"none": "None",
"weight": "Weight",
"createdTask": "created the task."
},
"taskProgress": {
"markAsDoneTitle": "Mark Task as Done?",