feat(i18n): localize inventory categories UI
This commit is contained in:
@@ -63,6 +63,57 @@ export const en = {
|
||||
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",
|
||||
},
|
||||
},
|
||||
},
|
||||
login: {
|
||||
title: "Sign In",
|
||||
usernameLabel: "Username",
|
||||
|
||||
Reference in New Issue
Block a user