Add crop zoning feature with localization support and new dependencies

- Introduced crop zoning functionality, including a new section in the navigation menu.
- Added Persian translations for crop zoning-related UI elements.
- Updated package.json and package-lock.json to include new dependencies: @mapbox/mapbox-gl-draw and various @turf packages for geospatial calculations.
- Enhanced global styles for crop zoning tooltips to improve user experience.
This commit is contained in:
2026-02-20 22:15:34 +03:30
parent 890599b0e7
commit f27145092f
14 changed files with 1102 additions and 0 deletions
+30
View File
@@ -36,6 +36,7 @@
"farm": "داشبورد مزرعه",
"waterData": "دیتاهای آب",
"soilData": "اطلاعات خاک",
"cropZoning": "زون‌بندی کشت",
"dataSection": "بخش داده‌ها",
"crm": "مدیریت ارتباط با مشتری",
"analytics": "تحلیل‌ها",
@@ -523,5 +524,34 @@
"userDropdown": {
"myProfile": "پروفایل من",
"logout": "خروج"
},
"cropZoning": {
"title": "زون‌بندی پیشنهادی کشت",
"drawLand": "زمین خود را روی نقشه با Polygon رسم کنید",
"optimizeAgain": "بهینه‌سازی دوباره",
"layers": {
"crops": "محصولات پیشنهادی",
"waterNeed": "نیاز آبی",
"soilQuality": "کیفیت خاک",
"cultivationRisk": "ریسک کشت"
},
"legend": "راهنمای رنگ‌ها",
"crops": {
"wheat": "گندم",
"canola": "کلزا",
"saffron": "زعفران"
},
"tooltip": {
"crop": "محصول پیشنهادی",
"matchPercent": "درصد تطابق",
"waterNeed": "نیاز آب",
"estimatedProfit": "سود تخمینی"
},
"panel": {
"title": "تحلیل زون",
"reason": "دلیل پیشنهاد",
"criteriaChart": "نمودار تطابق معیارها",
"changeCrop": "تغییر محصول"
}
}
}