212 lines
5.3 KiB
TypeScript
212 lines
5.3 KiB
TypeScript
export const en = {
|
|
common: {
|
|
languageSwitcher: {
|
|
label: "Language",
|
|
options: {
|
|
en: "English",
|
|
es: "Spanish",
|
|
},
|
|
},
|
|
search: {
|
|
placeholder: "Search...",
|
|
label: "Search",
|
|
clearLabel: "Clear search",
|
|
},
|
|
pagination: {
|
|
summaryPrefix: "Showing page",
|
|
summarySeparator: "of",
|
|
previous: "Previous",
|
|
next: "Next",
|
|
},
|
|
submitButton: {
|
|
defaultLabel: "Submit",
|
|
processing: "Processing",
|
|
success: "Success",
|
|
},
|
|
forbidden: {
|
|
title: "Access denied",
|
|
description: "You do not have permission to access this section.",
|
|
homeLink: "Back to home",
|
|
},
|
|
},
|
|
layout: {
|
|
sidebar: {
|
|
home: "Home",
|
|
inventory: "Inventory",
|
|
items: "Items",
|
|
categories: "Categories",
|
|
assets: "Assets",
|
|
recipients: "Recipients",
|
|
movements: "Movements",
|
|
assignments: "Assignments",
|
|
users: "Users",
|
|
},
|
|
navbar: {
|
|
accountLabel: "My Account",
|
|
},
|
|
addMenu: {
|
|
add: "Add",
|
|
import: "Import",
|
|
category: "Category",
|
|
item: "Item",
|
|
asset: "Asset",
|
|
recipient: "Recipient",
|
|
assignment: "Assignment",
|
|
},
|
|
resetDatabase: {
|
|
idle: "Reset Database",
|
|
loading: "Resetting...",
|
|
successToast: "Database reset successfully",
|
|
errorToast: "Error resetting database",
|
|
},
|
|
logout: {
|
|
label: "Sign Out",
|
|
},
|
|
},
|
|
inventory: {
|
|
categories: {
|
|
list: {
|
|
title: "Categories",
|
|
addLabel: "Add Category",
|
|
empty: "No categories found.",
|
|
columns: {
|
|
name: "Name",
|
|
items: "Items",
|
|
actions: "Actions",
|
|
},
|
|
actions: {
|
|
edit: "Edit category",
|
|
delete: "Delete category",
|
|
},
|
|
},
|
|
new: {
|
|
title: "New Category",
|
|
},
|
|
edit: {
|
|
title: "Edit Category",
|
|
},
|
|
form: {
|
|
nameLabel: "Name",
|
|
namePlaceholder: "Category name",
|
|
createSubmit: "Create Category",
|
|
updateSubmit: "Update Category",
|
|
},
|
|
delete: {
|
|
label: "Delete category",
|
|
pending: "Deleting...",
|
|
unknownError: "Unknown error",
|
|
},
|
|
actions: {
|
|
createSuccess: "Category created successfully",
|
|
createFailure: "Failed to create category",
|
|
updateSuccess: "Category updated successfully",
|
|
updateFailure: "Failed to update category",
|
|
deleteSuccess: "Category deleted successfully",
|
|
deleteFailure: "Failed to delete category",
|
|
duplicateName: "Category already exists",
|
|
unchangedName: "Category name unchanged",
|
|
notFound: "Category not found",
|
|
hasItems: "Cannot delete category with items",
|
|
},
|
|
schema: {
|
|
nameRequired: "Name is required and must be at least 3 characters long",
|
|
idRequired: "ID is required",
|
|
},
|
|
},
|
|
items: {
|
|
list: {
|
|
title: "Items",
|
|
addLabel: "Add Item",
|
|
empty: "No items found.",
|
|
columns: {
|
|
name: "Name",
|
|
category: "Category",
|
|
assets: "Assets",
|
|
stock: "Stock",
|
|
actions: "Actions",
|
|
},
|
|
actions: {
|
|
view: "View item",
|
|
edit: "Edit item",
|
|
delete: "Delete item",
|
|
},
|
|
},
|
|
detail: {
|
|
notFound: "Item not found",
|
|
labels: {
|
|
category: "Category",
|
|
stock: "Stock",
|
|
},
|
|
},
|
|
new: {
|
|
title: "New Item",
|
|
},
|
|
edit: {
|
|
title: "Edit Item",
|
|
notFound: "Item not found",
|
|
hasAssetsWarning: "This item has already assets assigned to it.",
|
|
},
|
|
form: {
|
|
nameLabel: "Name",
|
|
namePlaceholder: "Item name",
|
|
categoryLabel: "Category",
|
|
categoryPlaceholder: "Select a category",
|
|
stockLabel: "Stock",
|
|
stockPlaceholder: "0",
|
|
createSubmit: "Create Item",
|
|
updateSubmit: "Update Item",
|
|
},
|
|
delete: {
|
|
label: "Delete item",
|
|
pending: "Deleting...",
|
|
unknownError: "Unknown error",
|
|
},
|
|
actions: {
|
|
createSuccess: "Item created successfully!",
|
|
createFailure: "Error creating item",
|
|
updateSuccess: "Item updated successfully!",
|
|
updateFailure: "Failed to update item",
|
|
deleteSuccess: "Item deleted successfully!",
|
|
deleteFailure: "Failed to delete item",
|
|
duplicateName: "Item already exists",
|
|
notFound: "Item not found",
|
|
hasAssets: "Cannot delete item with assets",
|
|
hasStock: "Cannot delete item with stock",
|
|
invalidStock: "Invalid stock",
|
|
negativeStock: "Stock cannot be negative",
|
|
},
|
|
schema: {
|
|
nameRequired: "Name is required",
|
|
categoryRequired: "Category is required",
|
|
stockRequired: "Stock is required",
|
|
itemRequired: "Item is required",
|
|
},
|
|
},
|
|
},
|
|
login: {
|
|
title: "Sign In",
|
|
usernameLabel: "Username",
|
|
passwordLabel: "Password",
|
|
submitLabel: "Sign In",
|
|
},
|
|
dashboardHome: {
|
|
heading: "Dashboard",
|
|
cards: {
|
|
items: {
|
|
title: "Total Items",
|
|
countLabel: "Total",
|
|
},
|
|
assets: {
|
|
title: "Total Assets",
|
|
countLabel: "Total",
|
|
},
|
|
recipients: {
|
|
title: "Total Recipients",
|
|
countLabel: "Total",
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
export type Dictionary = typeof en
|