feat(i18n): localize assignment validation messages
This commit is contained in:
@@ -294,6 +294,29 @@ export const en = {
|
||||
fallback: {
|
||||
missingValue: "N/A",
|
||||
},
|
||||
actions: {
|
||||
createSuccess: "Assignment created successfully",
|
||||
createFailure: "Error creating assignment",
|
||||
updateSuccess: "Assignment updated successfully",
|
||||
updateFailure: "Error updating assignment",
|
||||
returnSuccess: "Assignment returned successfully",
|
||||
returnFailure: "Error returning assignment",
|
||||
notFound: "Assignment not found",
|
||||
itemNotFound: "Item not found",
|
||||
itemInsufficientStock: "Item does not have enough stock",
|
||||
assetNotFound: "Asset not found",
|
||||
assetItemMismatch: "Asset does not belong to item",
|
||||
assignmentAlreadyReturned: "Assignment already returned",
|
||||
invalidData: "Invalid assignment data",
|
||||
genericFailure: "Error processing assignment",
|
||||
},
|
||||
schema: {
|
||||
recipientRequired: "Recipient is required",
|
||||
itemIdRequired: "Item is required",
|
||||
quantityMinOne: "Quantity must be at least 1",
|
||||
assetIdRequired: "Asset ID is required when item ID is provided",
|
||||
idRequired: "Assignment ID is required",
|
||||
},
|
||||
},
|
||||
recipients: {
|
||||
list: {
|
||||
|
||||
Reference in New Issue
Block a user