mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: rename duplicate 'purchases' i18n key to 'purchaseCount'
The admin.landings namespace had two 'purchases' keys at the same level: a string for purchase count label and an object for purchases section. JSON last-key-wins caused the string to be overwritten by the object, producing "returned an object instead of string" error on landings list.
This commit is contained in:
@@ -3192,7 +3192,7 @@
|
|||||||
"metaDesc": "Meta Description",
|
"metaDesc": "Meta Description",
|
||||||
"active": "Active",
|
"active": "Active",
|
||||||
"inactive": "Inactive",
|
"inactive": "Inactive",
|
||||||
"purchases": "purchases",
|
"purchaseCount": "purchases",
|
||||||
"copyUrl": "Copy URL",
|
"copyUrl": "Copy URL",
|
||||||
"urlCopied": "URL copied",
|
"urlCopied": "URL copied",
|
||||||
"deleteConfirm": "Delete landing \"{{title}}\"?",
|
"deleteConfirm": "Delete landing \"{{title}}\"?",
|
||||||
|
|||||||
@@ -2917,7 +2917,7 @@
|
|||||||
"metaDesc": "توضیحات متا",
|
"metaDesc": "توضیحات متا",
|
||||||
"active": "فعال",
|
"active": "فعال",
|
||||||
"inactive": "غیرفعال",
|
"inactive": "غیرفعال",
|
||||||
"purchases": "خرید",
|
"purchaseCount": "خرید",
|
||||||
"copyUrl": "کپی URL",
|
"copyUrl": "کپی URL",
|
||||||
"urlCopied": "URL کپی شد",
|
"urlCopied": "URL کپی شد",
|
||||||
"deleteConfirm": "حذف صفحه فرود «{{title}}»؟",
|
"deleteConfirm": "حذف صفحه فرود «{{title}}»؟",
|
||||||
|
|||||||
@@ -3743,7 +3743,7 @@
|
|||||||
"metaDesc": "Meta Description",
|
"metaDesc": "Meta Description",
|
||||||
"active": "Активен",
|
"active": "Активен",
|
||||||
"inactive": "Неактивен",
|
"inactive": "Неактивен",
|
||||||
"purchases": "покупок",
|
"purchaseCount": "покупок",
|
||||||
"copyUrl": "Скопировать URL",
|
"copyUrl": "Скопировать URL",
|
||||||
"urlCopied": "URL скопирован",
|
"urlCopied": "URL скопирован",
|
||||||
"deleteConfirm": "Удалить лендинг «{{title}}»?",
|
"deleteConfirm": "Удалить лендинг «{{title}}»?",
|
||||||
|
|||||||
@@ -2916,7 +2916,7 @@
|
|||||||
"metaDesc": "Meta描述",
|
"metaDesc": "Meta描述",
|
||||||
"active": "已激活",
|
"active": "已激活",
|
||||||
"inactive": "未激活",
|
"inactive": "未激活",
|
||||||
"purchases": "次购买",
|
"purchaseCount": "次购买",
|
||||||
"copyUrl": "复制URL",
|
"copyUrl": "复制URL",
|
||||||
"urlCopied": "URL已复制",
|
"urlCopied": "URL已复制",
|
||||||
"deleteConfirm": "删除落地页「{{title}}」?",
|
"deleteConfirm": "删除落地页「{{title}}」?",
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ function SortableLandingCard({
|
|||||||
</div>
|
</div>
|
||||||
<div className="text-sm text-dark-400">
|
<div className="text-sm text-dark-400">
|
||||||
<span>
|
<span>
|
||||||
{landing.purchase_stats.total} {t('admin.landings.purchases')}
|
{landing.purchase_stats.total} {t('admin.landings.purchaseCount')}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user