mirror of
https://github.com/maputnik/editor.git
synced 2026-12-06 00:34:22 +00:00
Follow-up to the review on #2403. New unit test `src/locales/translations.test.ts` runs the i18next-cli extractor (the code behind `npm run i18n:extract`) without writing anything. It fails if any locale is missing a key used in the code, or still has the `__STRING_NOT_TRANSLATED__` placeholder. It's part of `npm run test-unit`, so the existing unit test job in CI runs it and no workflow change is needed. On failure it lists each missing `locale: key`. On `main` the test fails with 8 keys missing in all 10 locales. They came from #2395, #2397 and #2405. This PR adds translations for them: - `{{label}} row {{row}} anchor` / `X offset` / `Y offset` - `Generate feature IDs`, `Feature ID property`, `Feature ID properties by source layer`, `Enter a JSON object mapping source layer names to property names.` - `Use current map view` The translators listed in `src/locales/README.md` may want to check the wording. I matched the terms each locale already uses (for example "Source Layer", "Map view"). The AGENTS.md Translations section now mentions the test. **Performance:** no runtime impact. It only adds JSON entries and a unit test, which takes about 2 seconds. ## Launch Checklist - [x] Briefly describe the changes in this PR. - [x] Link to related issues: follow-up to #2403. - [x] Include before/after visuals or gifs if this PR includes visual changes. (No visual change in English. The other locales show the new strings instead of the English fallback.) - [x] Write tests for all new functionality: `translations` in `src/locales/translations.test.ts`. It fails on `main` with the 8 missing keys. - [x] Add an entry to `CHANGELOG.md` under the `## main` section. Tested locally: `npm run lint` clean, `npm run build` clean, `npx vitest run` (60 passed), `npm run test-unit-ci` passed, and `npx i18next-cli extract --ci --dry-run` reports no changes. Before adding the translations, the new test failed with the 80 missing `locale: key` entries. Assisted-By: Claude Opus 5.5 (Claude Code). It helped write the test, the translations and this description. I've reviewed and tested the change and can answer questions about it.
226 lines
12 KiB
JSON
226 lines
12 KiB
JSON
{
|
|
"{{label}} row {{row}} anchor": "{{label}} riga {{row}} ancoraggio",
|
|
"{{label}} row {{row}} X offset": "{{label}} riga {{row}} offset X",
|
|
"{{label}} row {{row}} Y offset": "{{label}} riga {{row}} offset Y",
|
|
"<0>Open in OSM</0>. Opens the current view on openstreetmap.org": "<0>Apri in OSM</0>. Apre la vista corrente su openstreetmap.org",
|
|
"Achromatopsia filter": "Filtro acromatopsia",
|
|
"Active Sources": "Sorgenti attive",
|
|
"Add a new source to your style. You can only choose the source type and id at creation time!": "Aggiungi una nuova sorgente al tuo stile. Puoi scegliere il tipo di sorgente e l'ID solo al momento della creazione!",
|
|
"Add filter": "Aggiungi filtro",
|
|
"Add Layer": "Aggiungi Livello",
|
|
"Add New Source": "Aggiungi nuova sorgente",
|
|
"Add one of the publicly available sources to your style.": "Aggiungi una delle sorgente pubbliche disponibili al tuo stile.",
|
|
"Add Source": "Aggiungi sorgente",
|
|
"Add stop": "Aggiungi fermata",
|
|
"Add value": "Aggiungi valore",
|
|
"Add Variable": "Aggiungi variabile",
|
|
"any filter matches": "qualsiasi filtro corrisponde",
|
|
"API key for Stadia Maps.": "Chiave API per Stadia Maps.",
|
|
"Atmosphere blend": "Sfumatura dell'atmosfera",
|
|
"Base": "Base",
|
|
"Bearing": "Direzione",
|
|
"Cancel": "Annulla",
|
|
"Center": "Centro",
|
|
"Center altitude": "Altitudine del centro",
|
|
"Choose Public Source": "Scegli una sorgente pubblica",
|
|
"Choose the default Maputnik renderer for this style.": "Scegli il renderer predefinito di Maputnik per questo stile.",
|
|
"Click to close the editor": "Clicca per chiudere l'editor",
|
|
"Close": "Chiudi",
|
|
"Close modal": "Chiudi finestra modale",
|
|
"Close popup": "Chiudi popup",
|
|
"Cluster": "Cluster",
|
|
"Code Editor": "Editor codice",
|
|
"Collapse": "Coprimi",
|
|
"Color accessibility": "Accessibilità colori",
|
|
"Comment...": "Il tuo commento...",
|
|
"Comments": "Commenti",
|
|
"Comments for the current layer. This is non-standard and not in the spec.": "Commenti per il livello attuale. Questo non è standard e non è nella specifica.",
|
|
"Convert property into a elevation function": "Converti proprietà in una funzione di elevazione",
|
|
"Convert property into a zoom function": "Converti proprietà in una funzione di zoom",
|
|
"Convert property to data function": "Converti proprietà in una funzione dati",
|
|
"Convert to expression": "Converti in espressione",
|
|
"Coord bottom left": "Coordinate in basso a sinistra",
|
|
"Coord bottom right": "Coordinate in basso a destra",
|
|
"Coord top left": "Coordinate in alto a sinistra",
|
|
"Coord top right": "Coordinate in alto a destra",
|
|
"CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain": "La politica CORS non permette di caricare risorse tramite http da https, utilizza un dominio <1>https://</1>.",
|
|
"Create HTML": "Crea HTML",
|
|
"Data Sources": "Fonti dati",
|
|
"Data Sources modal": "Finestra modale sorgente dati",
|
|
"Data value": "Valore dei dati",
|
|
"Debug": "Debug",
|
|
"Debug modal": "Finestra modale di debug",
|
|
"Decrease the pitch by 10 degrees.": "Aumenta la rotazione di 10 gradi.",
|
|
"Decrease the rotation by 15 degrees.": "Aumenta la rotazione di 15 gradi.",
|
|
"Decrease the zoom level by 1.": "Riduci il livello di zoom di 1.",
|
|
"Decrease the zoom level by 2.": "Riduci il livello di zoom di 1..",
|
|
"Default": "Predefinito",
|
|
"Delete": "Elimina",
|
|
"Delete expression": "Elimina espressione",
|
|
"Delete filter block": "Elimina blocco filtro",
|
|
"Deuteranopia filter": "Filtro deuteranopia",
|
|
"Drag and drop a style JSON file here or click to browse": "Trascina e rilascia qui un file JSON dello stile o fai clic per sfogliare",
|
|
"Drag to resize the layer list": "Trascina per ridimensionare l'elenco dei livelli",
|
|
"Drag to resize the sidebar": "Trascina per ridimensionare la barra laterale",
|
|
"Duplicate": "Duplica",
|
|
"Encoding": "Codifica",
|
|
"Enter a JSON object mapping source layer names to property names.": "Inserisci un oggetto JSON che associa i nomi dei livelli sorgente ai nomi delle proprietà.",
|
|
"Enter URL...": "Inserisci URL...",
|
|
"every filter matches": "tutti i filtri corrispondono",
|
|
"Expand": "Espandi",
|
|
"Export modal": "Esporta finestra modale",
|
|
"Feature ID properties by source layer": "Proprietà ID della feature per livello sorgente",
|
|
"Feature ID property": "Proprietà ID della feature",
|
|
"Filter": "Filtro",
|
|
"Focus map": "Metti a fuoco la mappa",
|
|
"Fog color": "Colore della nebbia",
|
|
"Fog ground blend": "Sfumatura nebbia-suolo",
|
|
"Font faces": "File dei font",
|
|
"Function": "Funzione",
|
|
"Gallery Styles": "Galleria degli stili",
|
|
"General layout properties": "Proprietà generali del layout",
|
|
"Generate feature IDs": "Genera ID delle feature",
|
|
"GeoJSON": "GeoJSON",
|
|
"GeoJSON (JSON)": "GeoJSON (JSON)",
|
|
"GeoJSON (URL)": "GeoJSON (URL)",
|
|
"GeoJSON URL": "GeoJSON URL",
|
|
"Global State": "Stato globale",
|
|
"Global State Variables": "Variabili di stato globale",
|
|
"Glyphs URL": "URL Glyphs",
|
|
"Help": "Aiuto",
|
|
"Hide": "Nascondi",
|
|
"Horizon color": "Colore dell'orizzonte",
|
|
"Horizon fog blend": "Sfumatura orizzonte-nebbia",
|
|
"Icon layout properties": "Proprietà di layout dell'icona",
|
|
"Icon paint properties": "Proprietà di pittura dell'icona",
|
|
"If the Map is in focused you can use the following shortcuts": "Se la mappa è attiva, puoi utilizzare le seguenti scorciatoie:",
|
|
"Image": "Immagine",
|
|
"Image URL": "Indirizzo immagine",
|
|
"Increase the pitch by 10 degrees.": "Incrementa la rotazione di 10 gradi",
|
|
"Increase the rotation by 15 degrees.": "Incrementa la rotazione di 15 gradi.",
|
|
"Increase the zoom level by 1.": "Aumenta il livello di zoom di 1.",
|
|
"Increase the zoom level by 2.": "Aumenta il livello di zoom di 2.",
|
|
"Input a data property to base styles off of.": "Inserisci una proprietà dati su cui basare gli stili.",
|
|
"Input value": "Valore di input",
|
|
"Inspect": "Esamina",
|
|
"JSON Editor": "Editor JSON",
|
|
"Key": "Chiave",
|
|
"Layer": "Livello",
|
|
"Layer editor": "Editor livelli",
|
|
"Layer ID already exists": "L'ID del layer esiste già",
|
|
"Layers": "Livelli",
|
|
"Layers list": "Elenco livelli",
|
|
"Layout properties": "Proprietà di layout",
|
|
"Learn More": "Scopri di più",
|
|
"Light anchor": "Ancora della luce",
|
|
"Light color": "Colore della luce",
|
|
"Light intensity": "Intensità della luce",
|
|
"Light position": "Posizione della luce",
|
|
"Line metrics": "Metriche delle linee",
|
|
"Links": "Collegamenti",
|
|
"Load from a URL. Note that the URL must have <1>CORS enabled</1>.": "Carica da URL. Nota che l'URL deve avere l'abilitazione <1>CORS attivata</1>.",
|
|
"Load from URL": "Carica da URL",
|
|
"Loading": "Caricamento",
|
|
"Loading style": "Caricamento stile",
|
|
"LocationIQ Access Token": "Token di accesso LocationIQ",
|
|
"Map": "Mappa",
|
|
"Map view": "Vista mappa",
|
|
"MapTiler Access Token": "Accesso token MapTiler",
|
|
"Maputnik on GitHub": "Maputnik su GitHub",
|
|
"Max Zoom": "Zoom massimo",
|
|
"Min Zoom": "Zoom minimo",
|
|
"Move layer down": "Sposta il livello in giù",
|
|
"Move layer up": "Sposta il livello in su",
|
|
"Must provide protocol: <1>http://</1> or <3>https://</3>": "Protocollo richiesto: <1>http://</1> o <3>https://</3>",
|
|
"Must provide protocol: <1>https://</1>": "Protocollo richiesto: <1>https://</1>",
|
|
"Name": "Nome",
|
|
"Nested filters are not supported.": "I filtri nidificati non sono supportati.",
|
|
"no filter matches": "nessun filtro corrisponde",
|
|
"No global state variables defined. Add variables to create reusable values in your style.": "Nessuna variabile di stato globale definita. Aggiungi variabili per creare valori riutilizzabili nel tuo stile.",
|
|
"Open": "Apri",
|
|
"Open a local JSON style from your computer.": "Apri uno stile JSON dal tuo computer.",
|
|
"Open local Style": "Apri stile locale",
|
|
"Open modal": "Apri finestra modale",
|
|
"Open one of the publicly available styles to start from.": "Apro uno degli stili pubblici a partire da.",
|
|
"Open Style": "Apri stile",
|
|
"OpenLayers (experimental)": "OpenLayers (sperimentale)",
|
|
"Options": "Opzioni",
|
|
"Output value": "Valore di output",
|
|
"Owner": "Proprietario",
|
|
"Owner ID of the style. Used by Mapbox or future style APIs.": "ID del proprietario dello stile. Utilizzato da Mapbox o dalle future API di stile.",
|
|
"Paint properties": "Proprietà di pittura",
|
|
"Pan down by 100 pixels.": "Sposta in basso di 100 pixels",
|
|
"Pan left by 100 pixels.": "Sposta a sinistra di 100 pixels",
|
|
"Pan right by 100 pixels.": "Sposta a destra di 100 pixels",
|
|
"Pan up by 100 pixels.": "Sposta in alto di 100 pixels.",
|
|
"Pitch": "Inclinazione",
|
|
"PMTiles URL": "PMTiles URL",
|
|
"Press <1>ESC</1> to lose focus of any active elements, then press one of:": "Premi <1>ESC</1> per perdere il focus su qualsiasi elemento attivo, poi premi uno dei seguenti tasti:",
|
|
"Projection": "Proiezione",
|
|
"Protanopia filter": "Filtro protanopia",
|
|
"Public access token for LocationIQ services.": "Token di accesso pubblico per i servizi LocationIQ.",
|
|
"Public access token for MapTiler Cloud.": "Token di accesso pubblico per MapTiler Cloud.",
|
|
"Public access token for Thunderforest services.": "Token di accesso pubblico per i servizi Thunderforest.",
|
|
"Raster (Tile URLs)": "Raster (Tile URLs)",
|
|
"Raster (TileJSON URL)": "Raster (TileJSON URL)",
|
|
"Raster DEM (TileJSON URL)": "Raster DEM (TileJSON URL)",
|
|
"Raster DEM (XYZ URLs)": "Raster DEM (XYZ URLs)",
|
|
"Remove '{{sourceId}}' source": "Rimuovi sorgente '{{sourceId}}'",
|
|
"Remove array item": "Rimuovi elemento dall'array",
|
|
"Remove variable": "Rimuovi variabile",
|
|
"Remove zoom level from stop": "Rimuovi il livello di zoom dalla fermata",
|
|
"Revert from expression": "Ripristina dall'espressione",
|
|
"Roll": "Rollio",
|
|
"Save": "Salva",
|
|
"Save as": "Salva con nome",
|
|
"Save Style": "Opzioni stile",
|
|
"Save the JSON style to your computer.": "Salva lo style JSON nel tuo computer.",
|
|
"Scheme Type": "Tipo di schema",
|
|
"Search": "Cerca",
|
|
"Select a type of data scale (default is 'categorical').": "Seleziona un tipo di scala dati (predefinito 'categorical').",
|
|
"Shortcuts": "Scorciatoie",
|
|
"Shortcuts menu": "Scorciatoie del menu",
|
|
"Show": "Mostra",
|
|
"Sky color": "Colore del cielo",
|
|
"Sky horizon blend": "Sfumatura cielo-orizzonte",
|
|
"Source": "Sorgente",
|
|
"Source ID": "ID sorgente",
|
|
"Source Layer": "Livello sorgente",
|
|
"Source Type": "Tipo sorgente",
|
|
"Sources": "Sorgenti",
|
|
"Sprite URL": "URL Sprite",
|
|
"Stadia Maps API Key": "Chiave API di Stadia Maps.",
|
|
"Stops": "Fermate",
|
|
"Style Renderer": "Renderer dello stile",
|
|
"Style Settings": "Impostazioni stile",
|
|
"Style Settings modal": "Finestra modale impostazione degli stili",
|
|
"Style URL": "Stile URL",
|
|
"Switch to filter editor.": "Passa all'editor dei filtri.",
|
|
"switch to layer": "passa al livello",
|
|
"Terrain exaggeration": "Esagerazione del terreno",
|
|
"Terrain source": "Sorgente del terreno",
|
|
"Text layout properties": "Proprietà di layout del testo",
|
|
"Text paint properties": "Proprietà di pittura del testo",
|
|
"Thunderforest Access Token": "Accesso token Thunderforest",
|
|
"Tile Size": "Dimensioni tile",
|
|
"Tile URL": "Tile-URL",
|
|
"TileJSON URL": "TileJSON URL",
|
|
"Toggle inspect": "Attiva/disattiva ispezione",
|
|
"Transition delay": "Ritardo della transizione",
|
|
"Transition duration": "Durate della transizione",
|
|
"Tritanopia filter": "Filtro tritanopia",
|
|
"Type": "Tipo",
|
|
"Unique ID that identifies the source and is used in the layer to reference the source.": "ID univoco che identifica la sorgente ed è utilizzato nel livello per fare riferimento alla sorgente.",
|
|
"Upgrade to expression": "Aggiorna a espressione",
|
|
"Use current map view": "Usa la vista mappa corrente",
|
|
"Value": "Valore",
|
|
"Vector (PMTiles)": "Vettore (PMTiles)",
|
|
"Vector (Tile URLs)": "Vettore (Tile URLs)",
|
|
"Vector (TileJSON URL)": "Vettore (TileJSON URL)",
|
|
"Video": "Video",
|
|
"Video URL": "Indirizzo video",
|
|
"View": "Vista",
|
|
"You've entered an old style filter.": "Hai inserito uno stile filtro obsoleto.",
|
|
"Zoom": "Zoom"
|
|
}
|