[IMP] website_sale_aplicoop: improve i18n label fallbacks and response parsing

Add hardcoded fallback translations for es/eu when PO-based translation
returns the source string unchanged. Expand labels dict with all keys
needed by the frontend. Fix JSON response parsing in template
(data.result || data). Add js_translations keys. Add pot file for
stock_picking_batch_custom.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
GitHub Copilot 2026-05-25 12:28:33 +02:00
parent 647438e012
commit 5eea3e2a23
7 changed files with 346 additions and 20 deletions

View file

@ -601,7 +601,7 @@
var tooltipMap = {
"save-cart-btn": "save_cart",
"reload-cart-btn": "reload_cart",
"confirm-order-btn": "save_cart",
"confirm-order-btn": "save_draft",
"remove-from-cart": "remove_item",
};