MapLibre's and Mapbox's own control labels stayed English under ar/es (rega's row 30). Both engines take a `locale` map of their UI strings at construction; useMapInstance now passes one built from the new mapui catalogue (17 strings x 11 locales, parity PASS) for the reader's language. The keys are the engines' own (MapLibre 5.24's list, plus Mapbox's gesture-hint names); an engine ignores the rest. Built doxa-simple-map carries the translations; check:i18n-treeshake PASS.
19 lines
974 B
JSON
19 lines
974 B
JSON
{
|
|
"map": "الخريطة",
|
|
"marker": "علامة على الخريطة",
|
|
"closePopup": "إغلاق النافذة المنبثقة",
|
|
"zoomIn": "تكبير",
|
|
"zoomOut": "تصغير",
|
|
"resetBearing": "اسحب لتدوير الخريطة، وانقر لإعادة الشمال",
|
|
"toggleAttribution": "إظهار/إخفاء المصادر",
|
|
"mapFeedback": "ملاحظات على الخريطة",
|
|
"enterFullscreen": "ملء الشاشة",
|
|
"exitFullscreen": "الخروج من ملء الشاشة",
|
|
"findMyLocation": "تحديد موقعي",
|
|
"locationNotAvailable": "الموقع غير متاح",
|
|
"enableGlobe": "تفعيل الكرة الأرضية",
|
|
"disableGlobe": "إيقاف الكرة الأرضية",
|
|
"ctrlScroll": "استخدم Ctrl مع التمرير لتكبير الخريطة",
|
|
"cmdScroll": "استخدم ⌘ مع التمرير لتكبير الخريطة",
|
|
"twoFingers": "استخدم إصبعين لتحريك الخريطة"
|
|
}
|