mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 08:27:04 +00:00
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
34 lines
1.7 KiB
XML
34 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<string name="git_status_open">Abierto</string>
|
|
<string name="git_status_merged">Fusionado</string>
|
|
<string name="git_status_closed">Cerrado</string>
|
|
<string name="git_status_draft">Borrador</string>
|
|
<plurals name="birdex_species_count">
|
|
<item quantity="one">Birdex · %1$d especie</item>
|
|
<item quantity="other">Birdex · %1$d especies</item>
|
|
</plurals>
|
|
<plurals name="birdex_species_preview_more">
|
|
<item quantity="one">%1$s +%2$d más</item>
|
|
<item quantity="other">%1$s +%2$d más</item>
|
|
</plurals>
|
|
<string name="road_event_accident">Accidente</string>
|
|
<string name="road_event_animal">Animal en la carretera</string>
|
|
<string name="road_event_confirmed">Sigue ahí</string>
|
|
<string name="road_event_confirms_report">Confirma un aviso de tráfico</string>
|
|
<string name="road_event_construction">Obras</string>
|
|
<string name="road_event_denied">Ya no está</string>
|
|
<string name="road_event_denies_report">Informa de que la incidencia vial ha desaparecido</string>
|
|
<string name="road_event_fog">Niebla</string>
|
|
<string name="road_event_hazard">Peligro</string>
|
|
<string name="road_event_ice">Hielo</string>
|
|
<string name="road_event_other">Incidencia vial</string>
|
|
<string name="road_event_police">Policía</string>
|
|
<string name="road_event_pothole">Bache</string>
|
|
<string name="road_event_road_closure">Corte de carretera</string>
|
|
<string name="road_event_road_condition">Estado de la vía</string>
|
|
<string name="road_event_speed_camera">Radar de velocidad</string>
|
|
<string name="road_event_traffic_jam">Atasco de tráfico</string>
|
|
<string name="road_event_unknown">Incidencia vial</string>
|
|
</resources>
|