feat(projects): add Projects page and component modals + translations
This commit is contained in:
@@ -4,10 +4,20 @@ export const en = {
|
||||
logoutToast: "Successfully logged out!",
|
||||
confirmLogoutTitle: "Confirm Logout",
|
||||
confirmLogoutMessage: "Are you sure you want to log out of your account?",
|
||||
confirmLeave: "You have unsaved changes. Are you sure you want to leave?",
|
||||
cancel: "Cancel",
|
||||
save: "Save",
|
||||
lightMode: "Light Mode",
|
||||
darkMode: "Dark Mode",
|
||||
|
||||
actions: {
|
||||
create: "Create",
|
||||
view: "View",
|
||||
edit: "Edit",
|
||||
delete: "Delete",
|
||||
cancel: "Cancel",
|
||||
},
|
||||
|
||||
login: {
|
||||
welcome: (title: string = "Qlockifiy") => `Welcome to ${title}`,
|
||||
enterPassword: "Enter your password",
|
||||
@@ -132,9 +142,6 @@ export const en = {
|
||||
deleteError: "Error deleting workspace",
|
||||
subtitle: "Manage your workspaces",
|
||||
noDescription: "No description",
|
||||
view: "View",
|
||||
edit: "Edit",
|
||||
delete: "Delete",
|
||||
emptyState: "You are not a member of any workspace.",
|
||||
createTitle: "Create Workspace",
|
||||
editTitle: "Edit Workspace",
|
||||
@@ -172,9 +179,9 @@ export const en = {
|
||||
confirmDeleteTitle: "Remove Member",
|
||||
confirmDeleteMessage: "Are you sure you want to remove this member from the workspace?",
|
||||
successCreate: "Workspace created successfully.",
|
||||
errorCreate: "Failed to create workspace.",
|
||||
toast: {
|
||||
successCreate: "Workspace created successfully.",
|
||||
errorCreate: "Failed to create workspace.",
|
||||
successUpdate: "Workspace updated successfully.",
|
||||
errorUpdate: "Failed to update workspace.",
|
||||
successAdd: "Member added successfully.",
|
||||
@@ -186,6 +193,7 @@ export const en = {
|
||||
errorLoad: "Failed to load workspace data.",
|
||||
cannotAddSelf: "You are automatically the owner.",
|
||||
},
|
||||
onlyNumbersAllowed: "Only numbers are allowed for mobile number.",
|
||||
},
|
||||
|
||||
clients: {
|
||||
@@ -231,7 +239,35 @@ export const en = {
|
||||
sidebar: {
|
||||
workspaces: 'Workspaces',
|
||||
clients: 'Clients',
|
||||
projects: "Projects",
|
||||
expand: 'Expand',
|
||||
collapse: 'Collapse',
|
||||
},
|
||||
|
||||
ordering: {
|
||||
createdAtDesc: "Newest First",
|
||||
createdAt: "Olders First",
|
||||
updatedAtDesc: "Recently Updated",
|
||||
name: "Name (A-Z)",
|
||||
nameDesc: "Name (Z-A)",
|
||||
},
|
||||
|
||||
projects: {
|
||||
title: "Projects",
|
||||
description: (workspaceName: string) => `Manage projects for ${workspaceName}`,
|
||||
active: "Active Projects",
|
||||
archived: "Archived Projects",
|
||||
createNew: "Create New",
|
||||
searchPlaceholder: "Search projects...",
|
||||
loading: "Loading...",
|
||||
client: "Client",
|
||||
noClient: "No client",
|
||||
emptyState: "No projects found",
|
||||
deleteTitle: "Delete Project",
|
||||
deleteWarning: "To confirm deletion, please type the project name:",
|
||||
deleteSuccess: "Project deleted successfully",
|
||||
deleteError: "Failed to delete project",
|
||||
cancel: "Cancel",
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user