Files
Europa/Nuvolari/app/lib/l10n/app_it.arb
T
Alby96andClaude Opus 5 b4b8d089e6 Add municipality and coordinate search, and a map target selector
Puts the controls that change what the map is looking at over the map itself,
where they act, and gives them something to search.

Search is one field, not two. A string either parses as coordinates or it does
not, and the answer is obvious from the text, so making the user declare up
front which kind of thing they are looking for would be asking them to do the
program's job. Coordinates accept decimal and degrees-minutes-seconds, comma or
space separated, with hemisphere letters — including the Italian O for ovest,
because someone reading an Italian map will type it and silently reading it as
east would put them the wrong side of Greenwich.

The 1180 Piedmont municipalities are bundled rather than geocoded online. The
app is region-scoped, so a list of one region's towns is small enough to ship
(100 KB) and beats a geocoder on every axis that matters: instant, offline, no
API key, no rate limit, and it cannot return a result somewhere the app has no
radar for. Matching folds accents, so "aglie" finds "Agliè", and prefix matches
outrank substring ones — typing "tor" should surface Torino, not the first
alphabetical name that happens to contain those letters.

tool/generate_places.py derives the list from Istat boundary shapefiles
(CC BY 4.0). Two properties of that file cost time and are now written down:
the geometry is UTM 32N rather than degrees, and the DBF is UTF-8 despite one
bilingual Friulian record that makes strict cp1252 fail. A terminal renders
utf-8 and latin-1 output identically, so the encoding cannot be settled by
looking at printed text — it took dumping codepoints. A guard in the generator
and a test against the shipped asset both check for mojibake now, and the guard
caught a real mistake the moment it was written.

The target selector switches between following the device, a saved place, and
the whole region, and the selection doubles as what the app reopens on: "the
place I marked" and "what I see when I open the app" are one idea to the person
using it. Dragging the map while it is following stops the camera chasing them
but leaves that preference alone, because looking somewhere else now is not the
same as changing their mind about next launch.

The position marker and the following are MapLibre's own, driven by
onCameraTrackingDismissed, so there is no second location stream to keep in step
with the map.

A test asserts that all 1180 municipalities fall inside the region bounds, which
is what actually validates the UTM-to-degrees conversion end to end.

Verified on the emulator: the dropdown lists follow, region and both saved
places; "aglie" finds Agliè; "44.3841 7.5426" offers the coordinate jump and
lands on Cuneo at town-reading zoom; selecting follow moves the map to the
device position with the blue dot on it and changes the recentre button to
match.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-10 21:47:20 +02:00

382 lines
14 KiB
Plaintext

{
"@@locale": "it",
"appTitle": "Nuvolari",
"@appTitle": {
"description": "Application name, shown in the task switcher and the app bar"
},
"navRadar": "Radar",
"@navRadar": {
"description": "Bottom navigation label for the radar map"
},
"navAlerts": "Allerte",
"@navAlerts": {
"description": "Bottom navigation label for the official weather alerts"
},
"sourcesTitle": "Fonti e licenze",
"@sourcesTitle": {
"description": "Title of the screen listing data sources, licenses and the disclaimer"
},
"sourcesDisclaimerTitle": "App non ufficiale",
"@sourcesDisclaimerTitle": {
"description": "Heading of the disclaimer stating the app is independent"
},
"sourcesDisclaimerBody": "Nuvolari è un'app indipendente. Non è affiliata, approvata o gestita da Arpa Piemonte o dal Dipartimento della Protezione Civile. Per la protezione civile fanno sempre fede i canali ufficiali.",
"@sourcesDisclaimerBody": {
"description": "Disclaimer text. Must never be shortened in a way that drops the independence statement or the primacy of official channels."
},
"regionPiemonte": "Piemonte",
"@regionPiemonte": {
"description": "Display name of the Piedmont region"
},
"demoModeBanner": "Modalità dimostrativa: i dati radar sono di esempio",
"@demoModeBanner": {
"description": "Banner shown when the app runs on the mock radar source instead of live data"
},
"dataUnavailable": "Dati non disponibili",
"@dataUnavailable": {
"description": "Banner title shown when the radar manifest or frames cannot be loaded"
},
"dataAgeMinutes": "{minutes, plural, =0{Aggiornato ora} one{Aggiornato 1 minuto fa} other{Aggiornato {minutes} minuti fa}}",
"@dataAgeMinutes": {
"description": "How old the newest displayed radar frame is. Always shown next to radar imagery so stale data is never presented as current.",
"placeholders": {
"minutes": {
"type": "int",
"example": "12"
}
}
},
"loading": "Caricamento…",
"@loading": {
"description": "Generic loading indicator label"
},
"retry": "Riprova",
"@retry": {
"description": "Button label to retry a failed operation"
},
"sourcesLink": "Fonti",
"@sourcesLink": {
"description": "Short label on the map attribution bar that opens the Sources screen"
},
"baseMapNotConfigured": "Mappa base non configurata",
"@baseMapNotConfigured": {
"description": "Shown on the attribution bar when no MAP_STYLE_URL is set and the offline fallback style is in use"
},
"sourcesDataSection": "Sorgenti dati",
"@sourcesDataSection": {
"description": "Section heading listing the data sources and their licenses"
},
"sourcesLicenseLabel": "Licenza: {license}",
"@sourcesLicenseLabel": {
"description": "License line under a data source",
"placeholders": {
"license": {
"type": "String",
"example": "CC BY-SA"
}
}
},
"sourcesNoLicenseStated": "Nessuna licenza dichiarata dalla fonte",
"@sourcesNoLicenseStated": {
"description": "Shown for a source that publishes no explicit license; we credit and link it without claiming any reuse right"
},
"sourcesShareAlikeTitle": "Dati derivati",
"@sourcesShareAlikeTitle": {
"description": "Heading of the note explaining that rendered radar frames inherit CC BY-SA"
},
"sourcesShareAlikeBody": "Le immagini radar mostrate sono un'elaborazione dei dati Radar-DPC, distribuiti con licenza CC BY-SA. Anche le immagini elaborate sono quindi CC BY-SA.",
"@sourcesShareAlikeBody": {
"description": "Explains the share-alike obligation inherited from the Radar-DPC source data"
},
"sourcesOfficialBulletin": "Bollettino ufficiale Arpa Piemonte",
"@sourcesOfficialBulletin": {
"description": "Link to the official alert bulletin, shown next to any alert level we republish"
},
"openLink": "Apri",
"@openLink": {
"description": "Accessibility label for a button that opens a link in the browser"
},
"timelinePlay": "Riproduci",
"@timelinePlay": {
"description": "Accessibility label and tooltip for the play button on the radar timeline"
},
"timelinePause": "Pausa",
"@timelinePause": {
"description": "Accessibility label and tooltip for the pause button on the radar timeline"
},
"timelineScrubber": "Scorri i fotogrammi radar",
"@timelineScrubber": {
"description": "Accessibility label for the timeline slider"
},
"radarNoData": "Nessun dato radar disponibile",
"@radarNoData": {
"description": "Shown when no radar manifest could be loaded and there is no cached one either"
},
"radarStaleWithAge": "Dati non aggiornati · {age}",
"@radarStaleWithAge": {
"description": "Banner shown when the newest radar frame is older than expected. The age is the already-formatted string from dataAgeMinutes.",
"placeholders": {
"age": {
"type": "String",
"example": "Aggiornato 25 minuti fa"
}
}
},
"radarLegendUnit": "Intensità ({unit})",
"@radarLegendUnit": {
"description": "Header of the radar colour legend, with the physical unit taken from the manifest",
"placeholders": {
"unit": {
"type": "String",
"example": "dBZ"
}
}
},
"dataAgeHours": "{hours, plural, one{Aggiornato 1 ora fa} other{Aggiornato {hours} ore fa}}",
"@dataAgeHours": {
"description": "Data age when it is measured in hours rather than minutes",
"placeholders": {
"hours": {
"type": "int",
"example": "3"
}
}
},
"dataAgeDays": "{days, plural, one{Aggiornato 1 giorno fa} other{Aggiornato {days} giorni fa}}",
"@dataAgeDays": {
"description": "Data age when it is measured in days. Radar this old is useless, but stating it plainly beats an unreadable minute count.",
"placeholders": {
"days": {
"type": "int",
"example": "4"
}
}
},
"placesTitle": "Località salvate",
"@placesTitle": {
"description": "Title of the saved places screen"
},
"placesOpen": "Località",
"@placesOpen": {
"description": "Tooltip on the app bar action that opens the saved places screen"
},
"placesEmpty": "Nessuna località salvata",
"@placesEmpty": {
"description": "Empty state heading on the saved places screen"
},
"placesEmptyHint": "Salva un punto per centrarci sopra il radar. In futuro le stesse località riceveranno le allerte di pioggia.",
"@placesEmptyHint": {
"description": "Empty state body explaining what saved places are for"
},
"placesFull": "Hai raggiunto il massimo di {max} località",
"@placesFull": {
"description": "Shown when the saved place limit is reached",
"placeholders": {
"max": {
"type": "int",
"example": "20"
}
}
},
"placeAddCurrent": "Salva la mia posizione",
"@placeAddCurrent": {
"description": "Button that saves the current device position as a place"
},
"placeAddMapCentre": "Salva il centro della mappa",
"@placeAddMapCentre": {
"description": "Button that saves whatever the map is centred on as a place"
},
"placeNameLabel": "Nome",
"@placeNameLabel": {
"description": "Label of the text field for a saved place name"
},
"placeNameHint": "Casa, Lavoro, Baita…",
"@placeNameHint": {
"description": "Placeholder examples for a saved place name"
},
"placeRename": "Rinomina",
"@placeRename": {
"description": "Menu entry to rename a saved place"
},
"placeDelete": "Elimina",
"@placeDelete": {
"description": "Menu entry to delete a saved place"
},
"placeDeleted": "«{name}» eliminata",
"@placeDeleted": {
"description": "Confirmation after deleting a saved place",
"placeholders": {
"name": {
"type": "String",
"example": "Casa"
}
}
},
"placeCentreOnMap": "Centra sulla mappa",
"@placeCentreOnMap": {
"description": "Action that moves the radar map onto a saved place"
},
"placeErrorEmptyName": "Serve un nome",
"@placeErrorEmptyName": {
"description": "Validation error when the place name is blank"
},
"placeErrorNameTooLong": "Nome troppo lungo: massimo {max} caratteri",
"@placeErrorNameTooLong": {
"description": "Validation error when the place name exceeds the limit",
"placeholders": {
"max": {
"type": "int",
"example": "40"
}
}
},
"placeErrorDuplicateName": "Esiste già una località con questo nome",
"@placeErrorDuplicateName": {
"description": "Validation error when another saved place has the same name"
},
"placeErrorOutsideRegion": "Questo punto è fuori dall'area coperta dai dati",
"@placeErrorOutsideRegion": {
"description": "Validation error when the chosen point lies outside the region the app has data for"
},
"settingsTitle": "Impostazioni",
"@settingsTitle": {
"description": "Title of the settings screen"
},
"settingsOpen": "Impostazioni",
"@settingsOpen": {
"description": "Tooltip on the app bar action that opens settings"
},
"settingsLocationSection": "Posizione",
"@settingsLocationSection": {
"description": "Heading of the location section in settings"
},
"locateMe": "La mia posizione",
"@locateMe": {
"description": "Tooltip on the button that centres the map on the device position"
},
"locationDisclosureTitle": "Uso della posizione",
"@locationDisclosureTitle": {
"description": "Title of the prominent disclosure shown before the system permission dialog"
},
"locationDisclosureBody": "Nuvolari usa la tua posizione approssimativa per centrare la mappa radar e per trovare la stazione di misura più vicina.\n\nLa posizione resta sul dispositivo: non viene inviata a nessun server e non è condivisa con nessuno.\n\nPuoi rifiutare e continuare a usare l'app scegliendo le località a mano.",
"@locationDisclosureBody": {
"description": "Prominent disclosure required by Google Play. Must state what is collected, why, and that it stays on the device, BEFORE the system dialog appears."
},
"locationDisclosureContinue": "Continua",
"@locationDisclosureContinue": {
"description": "Button that proceeds to the system permission dialog"
},
"locationDisclosureDecline": "Non ora",
"@locationDisclosureDecline": {
"description": "Button that dismisses the disclosure without requesting permission"
},
"locationStatusGranted": "Permesso concesso",
"@locationStatusGranted": {
"description": "Location permission state shown in settings"
},
"locationStatusDenied": "Permesso non concesso",
"@locationStatusDenied": {
"description": "Location permission state shown in settings"
},
"locationStatusDeniedForever": "Permesso negato. Puoi concederlo dalle impostazioni di sistema.",
"@locationStatusDeniedForever": {
"description": "Location permission permanently denied; only system settings can change it"
},
"locationStatusServiceDisabled": "La localizzazione è disattivata sul dispositivo",
"@locationStatusServiceDisabled": {
"description": "Device location services are switched off, so asking for permission would not help"
},
"locationOpenSystemSettings": "Apri impostazioni di sistema",
"@locationOpenSystemSettings": {
"description": "Button that opens the system settings page for the app or for location"
},
"locationUnavailable": "Posizione non disponibile",
"@locationUnavailable": {
"description": "Shown when a position fix could not be obtained"
},
"locationOutsideRegion": "La tua posizione è fuori dall'area coperta dai dati",
"@locationOutsideRegion": {
"description": "Shown when the device position lies outside the region"
},
"cancel": "Annulla",
"@cancel": {
"description": "Generic cancel button"
},
"save": "Salva",
"@save": {
"description": "Generic save button"
},
"targetFollowMe": "Segui la mia posizione",
"@targetFollowMe": {
"description": "Dropdown entry that makes the map follow the device position"
},
"targetWholeRegion": "Tutto il {region}",
"@targetWholeRegion": {
"description": "Dropdown entry that frames the whole region",
"placeholders": {
"region": {
"type": "String",
"example": "Piemonte"
}
}
},
"targetChoose": "Scegli cosa seguire",
"@targetChoose": {
"description": "Accessibility label for the target dropdown on the map"
},
"targetIsPreferred": "Si apre qui",
"@targetIsPreferred": {
"description": "Marks the entry the app will reopen on"
},
"searchTitle": "Cerca",
"@searchTitle": {
"description": "Title of the search screen"
},
"searchOpen": "Cerca una località",
"@searchOpen": {
"description": "Tooltip on the map button that opens search"
},
"searchHint": "Comune o coordinate",
"@searchHint": {
"description": "Placeholder in the search field"
},
"searchHelp": "Digita il nome di un comune piemontese, oppure delle coordinate come 45.07, 7.69 o 45°04'13\"N 7°41'13\"E.",
"@searchHelp": {
"description": "Explains what the search field accepts, shown before anything is typed"
},
"searchNoResults": "Nessun comune trovato",
"@searchNoResults": {
"description": "Shown when the query matches no municipality"
},
"searchCoordinatesResult": "Vai a queste coordinate",
"@searchCoordinatesResult": {
"description": "Result entry shown when the typed text parses as coordinates"
},
"searchOutsideRegion": "Fuori dall'area coperta dai dati",
"@searchOutsideRegion": {
"description": "Warning under a coordinate result that falls outside the region"
},
"searchComuniCount": "{count, plural, one{1 comune} other{{count} comuni}}",
"@searchComuniCount": {
"description": "How many municipalities matched",
"placeholders": {
"count": {
"type": "int",
"example": "12"
}
}
},
"mapCentreOnTarget": "Centra",
"@mapCentreOnTarget": {
"description": "Tooltip on the button that recentres the map on whatever is being followed"
},
"mapSaveThisPoint": "Salva questo punto",
"@mapSaveThisPoint": {
"description": "Action that saves a searched point as a place"
},
"sourcesComuniList": "Elenco comuni",
"@sourcesComuniList": {
"description": "Sources screen heading for the bundled municipality list"
}
}