chore(frontend): update locale dictionaries
This commit is contained in:
@@ -131,13 +131,13 @@ export const en = {
|
||||
nameLabel: "Workspace Name",
|
||||
namePlaceholder: "Enter workspace name",
|
||||
descriptionLabel: "Description",
|
||||
descriptionPlaceholder: "Enter description (optional)",
|
||||
thumbnailLabel: "Thumbnail",
|
||||
uploadImage: "Click to upload image",
|
||||
removeImage: "Remove image",
|
||||
thumbnailInvalidType: "Unsupported image type. Use JPG, PNG, or WebP.",
|
||||
thumbnailMaxSizeError: "Image size must be 2MB or less.",
|
||||
searchMemberPlaceholder: "Search exact mobile (e.g. 09123456789)",
|
||||
descriptionPlaceholder: "Enter description (optional)",
|
||||
thumbnailLabel: "Thumbnail",
|
||||
uploadImage: "Click to upload image",
|
||||
removeImage: "Remove image",
|
||||
thumbnailInvalidType: "Unsupported image type. Use JPG, PNG, or WebP.",
|
||||
thumbnailMaxSizeError: "Image size must be 2MB or less.",
|
||||
searchMemberPlaceholder: "Search exact mobile (e.g. 09123456789)",
|
||||
addMember: "Add Member",
|
||||
roleAdmin: "Admin",
|
||||
roleMember: "Member",
|
||||
@@ -154,6 +154,8 @@ export const en = {
|
||||
subtitle: "Manage your workspaces",
|
||||
noDescription: "No description",
|
||||
emptyState: "You are not a member of any workspace.",
|
||||
noWorkspaceSearch: "Try adjusting your search query.",
|
||||
noWorkspace: "No workspaces found.",
|
||||
createTitle: "Create Workspace",
|
||||
editTitle: "Edit Workspace",
|
||||
detailTitle: "Workspace Details",
|
||||
@@ -244,13 +246,13 @@ export const en = {
|
||||
editClient: "Edit Client",
|
||||
deleteConfirmTitle: "Delete Client",
|
||||
deleteConfirmMessage: (name: string) => `Are you sure you want to delete ${name}?`,
|
||||
delete: "Delete",
|
||||
saveChanges: "Save Changes",
|
||||
createSuccess: "Client created successfully.",
|
||||
updateSuccess: "Client updated successfully.",
|
||||
deleteSuccess: "Client deleted successfully.",
|
||||
errors: {
|
||||
createFailed: "Failed to create client",
|
||||
delete: "Delete",
|
||||
saveChanges: "Save Changes",
|
||||
createSuccess: "Client created successfully.",
|
||||
updateSuccess: "Client updated successfully.",
|
||||
deleteSuccess: "Client deleted successfully.",
|
||||
errors: {
|
||||
createFailed: "Failed to create client",
|
||||
fetchFailed: "Failed to fetch clients",
|
||||
updateFailed: "Failed to update client",
|
||||
deleteFailed: "Failed to delete client",
|
||||
@@ -267,13 +269,13 @@ export const en = {
|
||||
next: "Next",
|
||||
},
|
||||
|
||||
sidebar: {
|
||||
timesheet: "Timesheet",
|
||||
reports: "Reports",
|
||||
logs: "Logs",
|
||||
workspaces: 'Workspaces',
|
||||
clients: 'Clients',
|
||||
projects: "Projects",
|
||||
sidebar: {
|
||||
timesheet: "Timesheet",
|
||||
reports: "Reports",
|
||||
logs: "Logs",
|
||||
workspaces: 'Workspaces',
|
||||
clients: 'Clients',
|
||||
projects: "Projects",
|
||||
tags: "Tags",
|
||||
expand: 'Expand',
|
||||
collapse: 'Collapse',
|
||||
@@ -292,11 +294,11 @@ export const en = {
|
||||
description: (workspaceName: string) => `Manage projects for ${workspaceName}`,
|
||||
active: "Active Projects",
|
||||
archived: "Archived Projects",
|
||||
createNew: "Create New",
|
||||
searchPlaceholder: "Search projects...",
|
||||
selectWorkspace: "Please select a workspace first.",
|
||||
titlePlaceholder: "Enter title",
|
||||
descriptionPlaceholder: "Enter desription",
|
||||
createNew: "Create New",
|
||||
searchPlaceholder: "Search projects...",
|
||||
selectWorkspace: "Please select a workspace first.",
|
||||
titlePlaceholder: "Enter title",
|
||||
descriptionPlaceholder: "Enter desription",
|
||||
titleLabel: "Title",
|
||||
clientLabel: "Client",
|
||||
colorLabel: "Color",
|
||||
@@ -305,6 +307,7 @@ export const en = {
|
||||
client: "Client",
|
||||
noClient: "No client",
|
||||
emptyState: "No projects found",
|
||||
noProjectsSearch: "Try adjusting your search query.",
|
||||
deleteTitle: "Delete Project",
|
||||
deleteWarning: "To confirm deletion, please type the project name:",
|
||||
deleteSuccess: "Project deleted successfully",
|
||||
@@ -314,13 +317,13 @@ export const en = {
|
||||
createProject: "Create New Project",
|
||||
editProject: "Edit Project",
|
||||
restore: "Restore",
|
||||
archive: "Archive",
|
||||
archiveSuccess: "Project archived successfully.",
|
||||
restoreSuccess: "Project restored successfully.",
|
||||
fetchError: "Failed to fetch projects.",
|
||||
clientFetchError: "Failed to load clients.",
|
||||
filterClients: "Filter by client",
|
||||
clearClientFilters: "Clear filters",
|
||||
archive: "Archive",
|
||||
archiveSuccess: "Project archived successfully.",
|
||||
restoreSuccess: "Project restored successfully.",
|
||||
fetchError: "Failed to fetch projects.",
|
||||
clientFetchError: "Failed to load clients.",
|
||||
filterClients: "Filter by client",
|
||||
clearClientFilters: "Clear filters",
|
||||
namePlaceholder: "Project name...",
|
||||
teamMembers: "Team Members",
|
||||
creator: "Creator",
|
||||
@@ -362,6 +365,7 @@ export const en = {
|
||||
namePlaceholder: "e.g. Design",
|
||||
colorLabel: "Color",
|
||||
emptyState: "No tags found",
|
||||
noTagsSearch: "Try adjusting your search query.",
|
||||
selectWorkspace: "Please select a workspace first.",
|
||||
fetchError: "Failed to load tags",
|
||||
createSuccess: "Tag created successfully.",
|
||||
@@ -423,14 +427,14 @@ export const en = {
|
||||
optionsError: "Failed to load projects and tags.",
|
||||
descriptionLabel: "Description",
|
||||
descriptionPlaceholder: "What are you working on?",
|
||||
projectLabel: "Project",
|
||||
noProject: "No project",
|
||||
startLabel: "Start",
|
||||
endLabel: "End",
|
||||
timeLabel: "Time",
|
||||
billable: "Billable",
|
||||
noTagsHint: "Create tags first from the Tags page.",
|
||||
clearFilters: "Clear filters",
|
||||
projectLabel: "Project",
|
||||
noProject: "No project",
|
||||
startLabel: "Start",
|
||||
endLabel: "End",
|
||||
timeLabel: "Time",
|
||||
billable: "Billable",
|
||||
noTagsHint: "Create tags first from the Tags page.",
|
||||
clearFilters: "Clear filters",
|
||||
customFromLabel: "From date",
|
||||
customToLabel: "To date",
|
||||
allClientsLabel: "All clients",
|
||||
@@ -440,23 +444,23 @@ export const en = {
|
||||
hideFiltersLabel: "Hide filters",
|
||||
applyFiltersLabel: "Apply",
|
||||
clientFilterPrefix: "Client",
|
||||
projectFilterPrefix: "Project",
|
||||
tagFilterPrefix: "Tag",
|
||||
fromFilterPrefix: "From",
|
||||
toFilterPrefix: "To",
|
||||
deleteTitle: "Delete Time Entry",
|
||||
deleteConfirmMessage: "Are you sure you want to delete this time entry?",
|
||||
restartConfirmMessage: "Start a new running timer from this entry?",
|
||||
discardConfirmMessage: "Are you sure you want to discard this running timer?",
|
||||
searchTagsLabel: "Search tags...",
|
||||
noTagsFoundLabel: "No tags found.",
|
||||
searchProjectsLabel: "Search projects...",
|
||||
noProjectsFoundLabel: "No projects found.",
|
||||
deletedProjectLabel: "Deleted project",
|
||||
deletedTagLabel: "Deleted tag",
|
||||
},
|
||||
projectFilterPrefix: "Project",
|
||||
tagFilterPrefix: "Tag",
|
||||
fromFilterPrefix: "From",
|
||||
toFilterPrefix: "To",
|
||||
deleteTitle: "Delete Time Entry",
|
||||
deleteConfirmMessage: "Are you sure you want to delete this time entry?",
|
||||
restartConfirmMessage: "Start a new running timer from this entry?",
|
||||
discardConfirmMessage: "Are you sure you want to discard this running timer?",
|
||||
searchTagsLabel: "Search tags...",
|
||||
noTagsFoundLabel: "No tags found.",
|
||||
searchProjectsLabel: "Search projects...",
|
||||
noProjectsFoundLabel: "No projects found.",
|
||||
deletedProjectLabel: "Deleted project",
|
||||
deletedTagLabel: "Deleted tag",
|
||||
},
|
||||
|
||||
reports: {
|
||||
reports: {
|
||||
title: "Reports",
|
||||
description: (workspaceName: string) => `Review activity reports for ${workspaceName}`,
|
||||
selectWorkspace: "Please select a workspace first.",
|
||||
@@ -486,11 +490,11 @@ export const en = {
|
||||
name: "Name",
|
||||
clear: "Clear",
|
||||
apply: "Apply",
|
||||
totalHours: "Total hours",
|
||||
billableHours: "Billable hours",
|
||||
nonBillableHours: "Non-billable hours",
|
||||
hourlyRate: "Hourly rate",
|
||||
totalIncome: "Total income",
|
||||
totalHours: "Total hours",
|
||||
billableHours: "Billable hours",
|
||||
nonBillableHours: "Non-billable hours",
|
||||
hourlyRate: "Hourly rate",
|
||||
totalIncome: "Total income",
|
||||
chartTitle: "Activity chart",
|
||||
totalSeconds: "Total seconds",
|
||||
exportExcel: "Export Excel",
|
||||
@@ -504,120 +508,120 @@ export const en = {
|
||||
loadError: "Failed to load reports.",
|
||||
loadDayDetailsError: "Failed to load day details.",
|
||||
loadFiltersError: "Failed to load report filters.",
|
||||
exportQueued: "Export queued. You will receive a notification with the download link.",
|
||||
exportError: "Failed to queue report export.",
|
||||
},
|
||||
|
||||
logs: {
|
||||
eyebrow: "Workspace activity",
|
||||
title: "Activity logs",
|
||||
description: (workspaceName: string) => `Review what has happened inside ${workspaceName}.`,
|
||||
selectWorkspace: "Please select a workspace first.",
|
||||
unauthorized: "Only owners and admins can access workspace activity logs.",
|
||||
loading: "Loading logs...",
|
||||
loadingUsers: "Loading users...",
|
||||
loadingDetails: "Loading details...",
|
||||
loadError: "Failed to load logs.",
|
||||
loadDetailsError: "Failed to load log details.",
|
||||
loadFiltersError: "Failed to load log filters.",
|
||||
search: "Search",
|
||||
searchPlaceholder: "Search logs...",
|
||||
section: "Section",
|
||||
allSections: "All sections",
|
||||
event: "Event",
|
||||
allEvents: "All events",
|
||||
actor: "Actor",
|
||||
allActors: "All actors",
|
||||
searchActors: "Search users...",
|
||||
ordering: "Ordering",
|
||||
newestFirst: "Newest first",
|
||||
oldestFirst: "Oldest first",
|
||||
fromDate: "From date",
|
||||
toDate: "To date",
|
||||
clear: "Clear",
|
||||
apply: "Apply",
|
||||
loadMore: "Load more",
|
||||
totalLogs: "Total logs",
|
||||
activeFilters: "Active filters",
|
||||
latestActivity: "Latest activity",
|
||||
resultsCount: (count: number) => `${count} results`,
|
||||
empty: "No activity logs found",
|
||||
emptyHint: "Adjust your filters or wait for new workspace activity.",
|
||||
detailsTitle: "Activity details",
|
||||
detailsHint: "Select an activity item to inspect the exact field changes.",
|
||||
selectLogHint: "Select a log entry to see its details.",
|
||||
target: "Target",
|
||||
timestamp: "Timestamp",
|
||||
remoteAddress: "Remote address",
|
||||
previousValue: "Previous",
|
||||
currentValue: "Current",
|
||||
changesTitle: "Changes",
|
||||
noDetails: "No field-level details are available for this activity.",
|
||||
snapshot: "Serialized snapshot",
|
||||
unknownActor: "Unknown actor",
|
||||
summary: (actor: string, event: string, section: string, target: string) =>
|
||||
`${actor} ${event.toLowerCase()} ${target} in ${section.toLowerCase()}`,
|
||||
sections: {
|
||||
workspace: "Workspace",
|
||||
workspace_members: "Workspace members",
|
||||
clients: "Clients",
|
||||
projects: "Projects",
|
||||
tags: "Tags",
|
||||
time_entries: "Time entries",
|
||||
rates: "Rates",
|
||||
report_exports: "Report exports",
|
||||
},
|
||||
events: {
|
||||
create: "Created",
|
||||
update: "Updated",
|
||||
delete: "Deleted",
|
||||
restore: "Restored",
|
||||
archive: "Archived",
|
||||
unarchive: "Unarchived",
|
||||
activate: "Activated",
|
||||
deactivate: "Deactivated",
|
||||
},
|
||||
},
|
||||
|
||||
notifications: {
|
||||
title: "Notifications",
|
||||
pageDescription: "Review all notifications and export updates.",
|
||||
open: "Open notifications",
|
||||
empty: "No notifications yet.",
|
||||
emptyUnread: "No unread notifications.",
|
||||
loading: "Loading notifications...",
|
||||
loadingMore: "Loading more...",
|
||||
loadMore: "Load more",
|
||||
markAllRead: "Mark all as read",
|
||||
viewAll: "View all notifications",
|
||||
totalLabel: "Total notifications",
|
||||
unreadLabel: "Unread notifications",
|
||||
deleteLabel: "Delete notification",
|
||||
markSeenError: "Failed to update notification",
|
||||
markAllError: "Failed to update notifications",
|
||||
deleteError: "Failed to delete notification",
|
||||
loadError: "Failed to load notifications",
|
||||
openError: "Failed to open notification",
|
||||
newTitle: "New notification",
|
||||
openAction: "Open",
|
||||
summary: (total: number, unread: number) => `${total} total, ${unread} unread`,
|
||||
workspaceMembershipAddedTitle: "Added to workspace",
|
||||
workspaceMembershipAddedMessage: (actor: string, workspace: string, role: string) =>
|
||||
`${actor} added you to ${workspace} as ${role}.`,
|
||||
workspaceMembershipRoleChangedTitle: "Workspace role changed",
|
||||
workspaceMembershipRoleChangedMessage: (actor: string, workspace: string, previousRole: string, newRole: string) =>
|
||||
`${actor} changed your role in ${workspace} from ${previousRole} to ${newRole}.`,
|
||||
workspaceMembershipDeactivatedTitle: "Workspace access deactivated",
|
||||
workspaceMembershipDeactivatedMessage: (actor: string, workspace: string) =>
|
||||
`${actor} deactivated your access to ${workspace}.`,
|
||||
workspaceMembershipRemovedTitle: "Removed from workspace",
|
||||
workspaceMembershipRemovedMessage: (actor: string, workspace: string) =>
|
||||
`${actor} removed you from ${workspace}.`,
|
||||
reportExportReadyTitle: "Report export is ready",
|
||||
reportExportReadyMessage: (exportType: string, workspace: string, fileName?: string | null) =>
|
||||
`Your ${exportType.toUpperCase()} report for ${workspace} is ready${fileName ? `: ${fileName}` : ""}.`,
|
||||
reportExportFailedTitle: "Report export failed",
|
||||
reportExportFailedMessage: (exportType: string, workspace: string) =>
|
||||
`Your ${exportType.toUpperCase()} report for ${workspace} could not be generated.`,
|
||||
},
|
||||
}
|
||||
exportQueued: "Export queued. You will receive a notification with the download link.",
|
||||
exportError: "Failed to queue report export.",
|
||||
},
|
||||
|
||||
logs: {
|
||||
eyebrow: "Workspace activity",
|
||||
title: "Activity logs",
|
||||
description: (workspaceName: string) => `Review what has happened inside ${workspaceName}.`,
|
||||
selectWorkspace: "Please select a workspace first.",
|
||||
unauthorized: "Only owners and admins can access workspace activity logs.",
|
||||
loading: "Loading logs...",
|
||||
loadingUsers: "Loading users...",
|
||||
loadingDetails: "Loading details...",
|
||||
loadError: "Failed to load logs.",
|
||||
loadDetailsError: "Failed to load log details.",
|
||||
loadFiltersError: "Failed to load log filters.",
|
||||
search: "Search",
|
||||
searchPlaceholder: "Search logs...",
|
||||
section: "Section",
|
||||
allSections: "All sections",
|
||||
event: "Event",
|
||||
allEvents: "All events",
|
||||
actor: "Actor",
|
||||
allActors: "All actors",
|
||||
searchActors: "Search users...",
|
||||
ordering: "Ordering",
|
||||
newestFirst: "Newest first",
|
||||
oldestFirst: "Oldest first",
|
||||
fromDate: "From date",
|
||||
toDate: "To date",
|
||||
clear: "Clear",
|
||||
apply: "Apply",
|
||||
loadMore: "Load more",
|
||||
totalLogs: "Total logs",
|
||||
activeFilters: "Active filters",
|
||||
latestActivity: "Latest activity",
|
||||
resultsCount: (count: number) => `${count} results`,
|
||||
empty: "No activity logs found",
|
||||
emptyHint: "Adjust your filters or wait for new workspace activity.",
|
||||
detailsTitle: "Activity details",
|
||||
detailsHint: "Select an activity item to inspect the exact field changes.",
|
||||
selectLogHint: "Select a log entry to see its details.",
|
||||
target: "Target",
|
||||
timestamp: "Timestamp",
|
||||
remoteAddress: "Remote address",
|
||||
previousValue: "Previous",
|
||||
currentValue: "Current",
|
||||
changesTitle: "Changes",
|
||||
noDetails: "No field-level details are available for this activity.",
|
||||
snapshot: "Serialized snapshot",
|
||||
unknownActor: "Unknown actor",
|
||||
summary: (actor: string, event: string, section: string, target: string) =>
|
||||
`${actor} ${event.toLowerCase()} ${target} in ${section.toLowerCase()}`,
|
||||
sections: {
|
||||
workspace: "Workspace",
|
||||
workspace_members: "Workspace members",
|
||||
clients: "Clients",
|
||||
projects: "Projects",
|
||||
tags: "Tags",
|
||||
time_entries: "Time entries",
|
||||
rates: "Rates",
|
||||
report_exports: "Report exports",
|
||||
},
|
||||
events: {
|
||||
create: "Created",
|
||||
update: "Updated",
|
||||
delete: "Deleted",
|
||||
restore: "Restored",
|
||||
archive: "Archived",
|
||||
unarchive: "Unarchived",
|
||||
activate: "Activated",
|
||||
deactivate: "Deactivated",
|
||||
},
|
||||
},
|
||||
|
||||
notifications: {
|
||||
title: "Notifications",
|
||||
pageDescription: "Review all notifications and export updates.",
|
||||
open: "Open notifications",
|
||||
empty: "No notifications yet.",
|
||||
emptyUnread: "No unread notifications.",
|
||||
loading: "Loading notifications...",
|
||||
loadingMore: "Loading more...",
|
||||
loadMore: "Load more",
|
||||
markAllRead: "Mark all as read",
|
||||
viewAll: "View all notifications",
|
||||
totalLabel: "Total notifications",
|
||||
unreadLabel: "Unread notifications",
|
||||
deleteLabel: "Delete notification",
|
||||
markSeenError: "Failed to update notification",
|
||||
markAllError: "Failed to update notifications",
|
||||
deleteError: "Failed to delete notification",
|
||||
loadError: "Failed to load notifications",
|
||||
openError: "Failed to open notification",
|
||||
newTitle: "New notification",
|
||||
openAction: "Open",
|
||||
summary: (total: number, unread: number) => `${total} total, ${unread} unread`,
|
||||
workspaceMembershipAddedTitle: "Added to workspace",
|
||||
workspaceMembershipAddedMessage: (actor: string, workspace: string, role: string) =>
|
||||
`${actor} added you to ${workspace} as ${role}.`,
|
||||
workspaceMembershipRoleChangedTitle: "Workspace role changed",
|
||||
workspaceMembershipRoleChangedMessage: (actor: string, workspace: string, previousRole: string, newRole: string) =>
|
||||
`${actor} changed your role in ${workspace} from ${previousRole} to ${newRole}.`,
|
||||
workspaceMembershipDeactivatedTitle: "Workspace access deactivated",
|
||||
workspaceMembershipDeactivatedMessage: (actor: string, workspace: string) =>
|
||||
`${actor} deactivated your access to ${workspace}.`,
|
||||
workspaceMembershipRemovedTitle: "Removed from workspace",
|
||||
workspaceMembershipRemovedMessage: (actor: string, workspace: string) =>
|
||||
`${actor} removed you from ${workspace}.`,
|
||||
reportExportReadyTitle: "Report export is ready",
|
||||
reportExportReadyMessage: (exportType: string, workspace: string, fileName?: string | null) =>
|
||||
`Your ${exportType.toUpperCase()} report for ${workspace} is ready${fileName ? `: ${fileName}` : ""}.`,
|
||||
reportExportFailedTitle: "Report export failed",
|
||||
reportExportFailedMessage: (exportType: string, workspace: string) =>
|
||||
`Your ${exportType.toUpperCase()} report for ${workspace} could not be generated.`,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user