Files
orion/app/modules/catalog/locales/en.json
Samir Boulahtit f95db7c0b1
Some checks failed
CI / ruff (push) Successful in 9s
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / pytest (push) Has started running
feat(roles): add admin store roles page, permission i18n, and menu integration
- Add admin store roles page with merchant→store cascading for superadmin
  and store-only selection for platform admin
- Add permission catalog API with translated labels/descriptions (en/fr/de/lb)
- Add permission translations to all 15 module locale files (60 files total)
- Add info icon tooltips for permission descriptions in role editor
- Add store roles menu item and admin menu item in module definition
- Fix store-selector.js URL construction bug when apiEndpoint has query params
- Add admin store roles API (CRUD + platform scoping)
- Add integration tests for admin store roles and permission catalog

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 23:31:27 +01:00

112 lines
4.8 KiB
JSON

{
"products": {
"title": "Products",
"product": "Product",
"add_product": "Add Product",
"edit_product": "Edit Product",
"delete_product": "Delete Product",
"product_name": "Product Name",
"product_code": "Product Code",
"sku": "SKU",
"price": "Price",
"sale_price": "Sale Price",
"cost": "Cost",
"stock": "Stock",
"in_stock": "In Stock",
"out_of_stock": "Out of Stock",
"low_stock": "Low Stock",
"availability": "Availability",
"available": "Available",
"unavailable": "Unavailable",
"brand": "Brand",
"category": "Category",
"categories": "Categories",
"image": "Image",
"images": "Images",
"main_image": "Main Image",
"gallery": "Gallery",
"weight": "Weight",
"dimensions": "Dimensions",
"color": "Color",
"size": "Size",
"material": "Material",
"condition": "Condition",
"new": "New",
"used": "Used",
"refurbished": "Refurbished",
"no_products": "No products found",
"search_products": "Search products...",
"filter_by_category": "Filter by category",
"filter_by_status": "Filter by status",
"sort_by": "Sort by",
"sort_newest": "Newest",
"sort_oldest": "Oldest",
"sort_price_low": "Price: Low to High",
"sort_price_high": "Price: High to Low",
"sort_name_az": "Name: A-Z",
"sort_name_za": "Name: Z-A"
},
"permissions": {
"products_view": "View Products",
"products_view_desc": "View the product catalog",
"products_create": "Create Products",
"products_create_desc": "Add new products to the catalog",
"products_edit": "Edit Products",
"products_edit_desc": "Modify existing product details",
"products_delete": "Delete Products",
"products_delete_desc": "Remove products from the catalog",
"products_import": "Import Products",
"products_import_desc": "Bulk import products from files",
"products_export": "Export Products",
"products_export_desc": "Export product data to files"
},
"messages": {
"product_deleted_successfully": "Product deleted successfully",
"product_created_successfully": "Product created successfully",
"product_updated_successfully": "Product updated successfully",
"product_activated": "Product activated",
"product_deactivated": "Product deactivated",
"product_marked_as_featured": "Product marked as featured",
"product_unmarked_as_featured": "Product unmarked as featured",
"products_activated": "{count} product(s) activated",
"products_deactivated": "{count} product(s) deactivated",
"products_marked_as_featured": "{count} product(s) marked as featured",
"products_unmarked_as_featured": "{count} product(s) unmarked as featured",
"products_deleted": "{count} product(s) deleted",
"failed_to_save_product": "Failed to save product",
"failed_to_create_product": "Failed to create product",
"failed_to_update_product": "Failed to update product",
"failed_to_delete_product": "Failed to delete product",
"failed_to_load_products": "Failed to load products",
"failed_to_activate_products": "Failed to activate products",
"failed_to_deactivate_products": "Failed to deactivate products",
"failed_to_upload_image": "Failed to upload image",
"product_removed_from_store_catalog": "Product removed from store catalog.",
"please_fill_in_all_required_fields": "Please fill in all required fields",
"failed_to_load_media_library": "Failed to load media library",
"no_store_associated_with_this_product": "No store associated with this product",
"please_select_an_image_file": "Please select an image file",
"image_must_be_less_than_10mb": "Image must be less than 10MB",
"image_uploaded_successfully": "Image uploaded successfully",
"please_select_a_store": "Please select a store",
"please_enter_a_product_title_english": "Please enter a product title (English)",
"please_select_a_store_first": "Please select a store first",
"title_and_price_required": "Title and price are required"
},
"features": {
"products_limit": {
"name": "Products",
"description": "Maximum number of products in catalog",
"unit": "products"
},
"product_import_export": {
"name": "Import/Export",
"description": "Bulk product import and export functionality"
}
},
"menu": {
"products_inventory": "Products & Inventory",
"all_products": "All Products"
}
}