feat(i18n): localize inventory items UI
This commit is contained in:
@@ -113,6 +113,75 @@ export const en = {
|
||||
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",
|
||||
|
||||
Reference in New Issue
Block a user