Files
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

64 lines
2.5 KiB
JSON

{
"inventory": {
"title": "Inventory",
"stock_level": "Stock Level",
"quantity": "Quantity",
"reorder_point": "Reorder Point",
"adjust_stock": "Adjust Stock",
"stock_in": "Stock In",
"stock_out": "Stock Out",
"transfer": "Transfer",
"history": "History",
"low_stock_alert": "Low Stock Alert",
"out_of_stock_alert": "Out of Stock Alert"
},
"permissions": {
"stock_view": "View Inventory",
"stock_view_desc": "View stock levels and inventory data",
"stock_edit": "Edit Inventory",
"stock_edit_desc": "Adjust stock levels and quantities",
"stock_transfer": "Transfer Stock",
"stock_transfer_desc": "Transfer stock between locations"
},
"messages": {
"stock_adjusted_successfully": "Stock adjusted successfully",
"quantity_set_successfully": "Quantity set successfully",
"inventory_entry_deleted": "Inventory entry deleted.",
"please_select_a_store_and_file": "Please select a store and file",
"import_completed_with_errors": "Import completed with errors",
"failed_to_adjust_stock": "Failed to adjust stock.",
"failed_to_set_quantity": "Failed to set quantity.",
"failed_to_delete_entry": "Failed to delete entry.",
"import_success": "Imported {quantity} units ({created} new, {updated} updated)",
"import_completed": "Import completed: {created} created, {updated} updated, {errors} errors",
"import_failed": "Import failed",
"bulk_adjust_success": "{count} item(s) adjusted by {amount}",
"failed_to_adjust_inventory": "Failed to adjust inventory",
"exported_items": "Exported {count} item(s)"
},
"features": {
"inventory_basic": {
"name": "Basic Inventory",
"description": "Basic stock management"
},
"inventory_locations": {
"name": "Multiple Locations",
"description": "Manage inventory across multiple locations"
},
"inventory_purchase_orders": {
"name": "Purchase Orders",
"description": "Create and manage purchase orders"
},
"low_stock_alerts": {
"name": "Low Stock Alerts",
"description": "Automatic notifications for low stock levels"
}
},
"menu": {
"store_operations": "Store Operations",
"products_inventory": "Products & Inventory",
"products": "Products",
"inventory": "Inventory"
}
}