Localize print queue badges and use گالن in Persian (#5)

## Summary
- Translate print-queue badges (canisters/boxes/pages/pending) via i18n
- Replace Persian قوطی with گالن everywhere in UI strings

## Test plan
- [ ] Print Queue in FA shows e.g. `20 گالن | 5 کارتن` and `7 صفحه`
- [ ] Pending badge shows `در انتظار`
- [ ] Entry form FA labels use گالن (weight / per box)

Reviewed-on: #5
Co-authored-by: Diaco Soltanpour <dyaco8464@yahoo.com>
Co-committed-by: Diaco Soltanpour <dyaco8464@yahoo.com>
This commit was merged in pull request #5.
This commit is contained in:
2026-10-01 18:41:27 +00:00
committed by rhino
parent d700f43f0e
commit 791a39697a
2 changed files with 14 additions and 6 deletions

View File

@@ -21,7 +21,7 @@
<div class="queue-item card" id="order-{{ o.id }}">
<div class="queue-item-header">
<span class="order-id mono">#{{ o.id }}</span>
<span class="badge badge-pending">⏳ Pending</span>
<span class="badge badge-pending">⏳ <span data-i18n="status_pending">Pending</span></span>
</div>
<div class="queue-item-body">
<h3 class="product-title">{{ o.product.code }} — {{ o.product.description }}</h3>
@@ -44,8 +44,8 @@
</div>
</div>
<div class="print-meta">
<span class="badge badge-neutral">{{ o.canister_count }} Canisters | {{ o.box_count }} Boxes</span>
<span class="badge badge-accent">{{ o.canister_pages|add:o.box_pages }} Page(s)</span>
<span class="badge badge-neutral">{{ o.canister_count }} <span data-i18n="canisters_unit">Canisters</span> | {{ o.box_count }} <span data-i18n="boxes_unit">Boxes</span></span>
<span class="badge badge-accent">{{ o.canister_pages|add:o.box_pages }} <span data-i18n="pages_unit">Page(s)</span></span>
</div>
</div>
<div class="queue-item-actions">