Localize print-queue badges and use گالن in Persian.
Translate canister/box/page/pending labels on the print tab and replace قوطی with گالن in FA copy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -22,8 +22,12 @@ const translations = {
|
||||
'labels_preview': 'Labels Generated',
|
||||
'canisters': 'Canisters',
|
||||
'boxes': 'Boxes',
|
||||
'canisters_unit': 'Canisters',
|
||||
'boxes_unit': 'Boxes',
|
||||
'pages_unit': 'Page(s)',
|
||||
'pages_needed': 'Pages Needed',
|
||||
'total_pages': 'Pages',
|
||||
'status_pending': 'Pending',
|
||||
'add_to_queue': 'Add to Print Queue',
|
||||
'recent_orders': 'Recent Orders',
|
||||
'status': 'Status',
|
||||
@@ -53,13 +57,17 @@ const translations = {
|
||||
'next_control': 'تاریخ کنترل بعدی',
|
||||
'net_weight': 'وزن خالص (کیلوگرم)',
|
||||
'total_weight': 'وزن کل (کیلوگرم)',
|
||||
'canister_weight': 'وزن قوطی (کیلوگرم)',
|
||||
'canisters_per_box': 'تعداد قوطی در هر کارتن',
|
||||
'canister_weight': 'وزن گالن (کیلوگرم)',
|
||||
'canisters_per_box': 'تعداد گالن در هر کارتن',
|
||||
'labels_preview': 'برچسبهای تولیدی',
|
||||
'canisters': 'تعداد قوطی',
|
||||
'canisters': 'تعداد گالن',
|
||||
'boxes': 'تعداد کارتن',
|
||||
'canisters_unit': 'گالن',
|
||||
'boxes_unit': 'کارتن',
|
||||
'pages_unit': 'صفحه',
|
||||
'pages_needed': 'تعداد صفحات',
|
||||
'total_pages': 'صفحات',
|
||||
'status_pending': 'در انتظار',
|
||||
'add_to_queue': 'افزودن به صف چاپ',
|
||||
'recent_orders': 'سفارشات اخیر',
|
||||
'status': 'وضعیت',
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user