mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: add menu editor tab with drag-and-drop rows, custom URL buttons, and button configuration
- Add menuLayout.ts API client with normalizeConfig and type definitions - Add MenuEditorTab.tsx with DnD rows, button CRUD, style/emoji/label editors - Replace ButtonsTab with MenuEditorTab on admin settings page - Add menu editor translations for ru, en, zh, fa locales - Loading/error states, useMemo optimizations, proper ref patterns
This commit is contained in:
@@ -1410,7 +1410,8 @@
|
||||
"referral": "معرفی",
|
||||
"support": "پشتیبانی",
|
||||
"info": "اطلاعات",
|
||||
"admin": "پنل مدیریت"
|
||||
"admin": "پنل مدیریت",
|
||||
"language": "زبان"
|
||||
},
|
||||
"descriptions": {
|
||||
"home": "دکمه کابینت شخصی",
|
||||
@@ -1419,7 +1420,8 @@
|
||||
"referral": "برنامه معرفی",
|
||||
"support": "تیکتهای پشتیبانی",
|
||||
"info": "بخش اطلاعات",
|
||||
"admin": "پنل مدیریت وب"
|
||||
"admin": "پنل مدیریت وب",
|
||||
"language": "انتخاب زبان ربات"
|
||||
},
|
||||
"styles": {
|
||||
"default": "بدون رنگ",
|
||||
@@ -1428,6 +1430,19 @@
|
||||
"danger": "قرمز"
|
||||
}
|
||||
},
|
||||
"menuEditor": {
|
||||
"dragHint": "ردیفها را بکشید تا ترتیب تغییر کند",
|
||||
"dragToReorder": "برای مرتبسازی بکشید",
|
||||
"row": "ردیف",
|
||||
"addRow": "افزودن ردیف",
|
||||
"addButton": "افزودن دکمه",
|
||||
"addUrlButton": "دکمه URL (لینک)",
|
||||
"builtinButtons": "بخشهای داخلی",
|
||||
"resetConfirm": "منو به تنظیمات پیشفرض بازنشانی شود؟ تمام تغییرات از بین میرود.",
|
||||
"buttonTextPlaceholder": "متن دکمه",
|
||||
"customLabelsHint": "متن دکمه برای هر زبان ربات",
|
||||
"invalidUrl": "لطفاً برای تمام دکمههای سفارشی یک URL معتبر وارد کنید (http:// یا https://)"
|
||||
},
|
||||
"apps": {
|
||||
"title": "مدیریت برنامهها",
|
||||
"addApp": "افزودن برنامه",
|
||||
|
||||
Reference in New Issue
Block a user