Files
amethyst/commons/src/commonMain/composeResources/values-ar-rSA/strings.xml
T
Claude fb471a2e6b refactor(commons): extract Roadstr road-event card to commons
Eighth batch of the note-ui-commons extraction. The two Roadstr renderers
(report kind 1315, confirmation kind 1316) are self-contained except for the
map hero, which is a platform tile view.

- commons/ui/note/RoadEventCard.kt: RoadEventReportCard(event, map) and
  RoadEventConfirmationCard(event, map). Commons owns all the logic — the
  category emoji/color/label palette, the geohash→point resolution, the
  freshness-based pin opacity, the floating category pill, and the layout.
  The map arrives as a typed RoadEventMap slot
  (lat, lon, pinColor, pinEmoji, pinAlpha) so the native LocationPreviewMap
  stays in the app. Labels resolve via commons Res.
- amethyst keeps thin RenderRoadEventReport(Note) /
  RenderRoadEventConfirmation(Note) entries that decode the event and pass
  LocationPreviewMap as the slot.
- Migrated all 18 road_event_* strings with their locale translations into
  commons/composeResources; deleted the amethyst copies.

Verified: :commons:compileKotlinJvm and :amethyst:compileFdroidDebugKotlin
both pass; every touched strings.xml is well-formed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gmrt3jwYPDJ38MJGJ6GaNr
2026-07-17 22:49:36 +00:00

42 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="git_status_open">مفتوح</string>
<string name="git_status_merged">مدمج</string>
<string name="git_status_closed">مغلق</string>
<string name="git_status_draft">مسودة</string>
<plurals name="birdex_species_count">
<item quantity="zero">Birdex · لا أنواع</item>
<item quantity="one">Birdex · نوع واحد</item>
<item quantity="two">Birdex · نوعان</item>
<item quantity="few">Birdex · %1$d أنواع</item>
<item quantity="many">Birdex · %1$d نوعًا</item>
<item quantity="other">Birdex · %1$d نوع</item>
</plurals>
<plurals name="birdex_species_preview_more">
<item quantity="zero">%1$s</item>
<item quantity="one">%1$s +%2$d آخر</item>
<item quantity="two">%1$s +%2$d آخران</item>
<item quantity="few">%1$s +%2$d أخرى</item>
<item quantity="many">%1$s +%2$d آخرين</item>
<item quantity="other">%1$s +%2$d آخرين</item>
</plurals>
<string name="road_event_accident">حادث</string>
<string name="road_event_animal">حيوان على الطريق</string>
<string name="road_event_confirmed">لا يزال موجودًا</string>
<string name="road_event_confirms_report">يؤكد تقرير طريق</string>
<string name="road_event_construction">أعمال إنشائية</string>
<string name="road_event_denied">لم يعد موجودًا</string>
<string name="road_event_denies_report">يُفيد بإزالة حدث طريق</string>
<string name="road_event_fog">ضباب</string>
<string name="road_event_hazard">خطر</string>
<string name="road_event_ice">جليد</string>
<string name="road_event_other">حدث على الطريق</string>
<string name="road_event_police">شرطة</string>
<string name="road_event_pothole">حفرة في الطريق</string>
<string name="road_event_road_closure">إغلاق طريق</string>
<string name="road_event_road_condition">حالة الطريق</string>
<string name="road_event_speed_camera">كاميرا سرعة</string>
<string name="road_event_traffic_jam">ازدحام مروري</string>
<string name="road_event_unknown">حدث على الطريق</string>
</resources>