[STYLE] 統一機台庫存概覽與庫存效期的商品 ID 多語系名稱
1. 將寫死的「ID:」改為多語系「{{ __('Product ID') }}:」。
2. 修改 zh_TW.json,將 Product ID 的繁體中文翻譯由「商品編號」改為「商品 ID」,與列表上的「效期」在中文語境下完全對齊統一。
This commit is contained in:
parent
6a600bb009
commit
d326697417
@ -1535,7 +1535,7 @@
|
||||
"Product Cost": "商品成本",
|
||||
"Product Count": "商品數量",
|
||||
"Product Details": "商品明細",
|
||||
"Product ID": "商品編號",
|
||||
"Product ID": "商品 ID",
|
||||
"Product Image": "商品圖片",
|
||||
"Product Info": "商品資訊",
|
||||
"Product Items": "商品品項",
|
||||
|
||||
@ -699,7 +699,7 @@
|
||||
<div class="text-base font-black truncate w-full opacity-90 tracking-tight"
|
||||
x-text="slot.product.name"></div>
|
||||
<template x-if="slot.product.id">
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">ID: <span x-text="slot.product.id"></span></div>
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></div>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
@ -778,7 +778,7 @@
|
||||
x-text="slot.product?.name || '{{ __('Empty Slot') }}'"></div>
|
||||
<div class="flex flex-wrap items-center gap-x-2.5 gap-y-1 mt-1">
|
||||
<template x-if="slot.product?.id">
|
||||
<span class="text-xs font-bold text-slate-400 dark:text-slate-500 font-mono tracking-widest uppercase">ID: <span x-text="slot.product.id"></span></span>
|
||||
<span class="text-xs font-bold text-slate-400 dark:text-slate-500 font-mono tracking-widest uppercase">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
</template>
|
||||
<template x-if="slot.product?.id && slot.expiry_date">
|
||||
<span class="text-xs text-slate-300 dark:text-slate-700">|</span>
|
||||
@ -838,7 +838,7 @@
|
||||
</div>
|
||||
<div class="flex flex-wrap items-center gap-x-2 mt-1">
|
||||
<template x-if="slot.product?.id">
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">ID: <span x-text="slot.product.id"></span></span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
</template>
|
||||
<span class="text-[10px] text-slate-300 dark:text-slate-700">|</span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest truncate" x-text="slot.product?.barcode || '--'"></span>
|
||||
|
||||
@ -310,7 +310,7 @@
|
||||
<div class="text-base font-black truncate w-full opacity-90 tracking-tight"
|
||||
x-text="slot.product?.name || '{{ __('Empty') }}'"></div>
|
||||
<template x-if="slot.product?.id">
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">ID: <span x-text="slot.product.id"></span></div>
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></div>
|
||||
</template>
|
||||
<div class="flex items-baseline justify-center gap-1 mt-2">
|
||||
<span class="text-2xl font-black tracking-tighter" x-text="slot.stock"></span>
|
||||
@ -368,7 +368,7 @@
|
||||
x-text="slot.product?.name || '{{ __('Empty Slot') }}'"></div>
|
||||
<div class="flex flex-wrap items-center gap-x-2.5 gap-y-1 mt-1">
|
||||
<template x-if="slot.product?.id">
|
||||
<span class="text-xs font-bold text-slate-400 dark:text-slate-500 font-mono tracking-widest uppercase">ID: <span x-text="slot.product.id"></span></span>
|
||||
<span class="text-xs font-bold text-slate-400 dark:text-slate-500 font-mono tracking-widest uppercase">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
</template>
|
||||
<template x-if="slot.product?.id && slot.expiry_date">
|
||||
<span class="text-xs text-slate-300 dark:text-slate-700">|</span>
|
||||
@ -426,7 +426,7 @@
|
||||
</div>
|
||||
<div class="flex flex-wrap items-center gap-x-2 mt-1">
|
||||
<template x-if="slot.product?.id">
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">ID: <span x-text="slot.product.id"></span></span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
</template>
|
||||
<span class="text-[10px] text-slate-300 dark:text-slate-700">|</span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest truncate" x-text="slot.product?.barcode || '--'"></span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user