Skip to content

Commit

Permalink
Add Polish translation (#595)
Browse files Browse the repository at this point in the history
* Add pl.js Polish translation file

* Update pl.js

* remove some backticks (quotes are JSON friendly)

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>
  • Loading branch information
volterra79 and Raruto authored May 23, 2024
1 parent 3f8b75a commit da1d9d2
Show file tree
Hide file tree
Showing 9 changed files with 552 additions and 72 deletions.
12 changes: 2 additions & 10 deletions src/locales/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,7 @@ export default {
no_geometry: 'Keine Geometrie in der Antwort',
help: {
title:'Hilfe - Abfrage nach Polygon',
message: `
<ul>
<li>Wählen Sie einen Polygon Layer auf TOC.</li>
<li>Stellen Sie sicher, dass der Layer sichtbar ist.</li>
<li>Klicken Sie auf ein Feature des ausgewählten Layers.</li>
</ul>`
message: "<ul><li>Wählen Sie einen Polygon Layer auf TOC.</li><li>Stellen Sie sicher, dass der Layer sichtbar ist.</li><li>Klicken Sie auf ein Feature des ausgewählten Layers.</li></ul>"
}
},
querybydrawpolygon: {
Expand All @@ -293,10 +288,7 @@ export default {
nolayers_visible: 'Es sind keine abfragbaren Layer sichtbar. Bitte setzen Sie mindestens einen sichtbaren wfs Layer, um die Abfrage zu starten',
help: {
title: 'Hilfe - Abfrage des BBox Layers',
message:`
<ul>
<li>Ein Quadrat auf der Karte ziehen, um unterstrichene Layer im TOC abzufragen</li>
</ul>`
message: "<ul><li>Ein Quadrat auf der Karte ziehen, um unterstrichene Layer im TOC abzufragen</li></ul>"
}
},
addlayer: {
Expand Down
12 changes: 2 additions & 10 deletions src/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,7 @@ export default {
no_geometry: 'No geometry on response',
help: {
title:'Guide - Query By Polygon',
message: `
<ul>
<li>Select a polygon layer on TOC.</li>
<li>Be sure that layer is visible.</li>
<li>Click on a feature of selected layer.</li>
</ul>`
message: "<ul><li>Select a polygon layer on TOC.</li><li>Be sure that layer is visible.</li><li>Click on a feature of selected layer.</li></ul>"
}
},
querybydrawpolygon: {
Expand All @@ -293,10 +288,7 @@ export default {
nolayers_visible: 'No querable layers are visible. Please set at least one visible wfs layer to run query',
help: {
title: 'Guide - Query BBox layer',
message:`
<ul>
<li>Draw a square on map to query underlined layers on TOC</li>
</ul>`
message: "<ul><li>Draw a square on map to query underlined layers on TOC</li></ul>"
}
},
addlayer: {
Expand Down
12 changes: 2 additions & 10 deletions src/locales/fi.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,7 @@ export default {
no_geometry: 'No geometry on response',
help: {
title: 'Ohje - Kysely monikulmiolla',
message: `
<ul>
<li>Valitse monikulmiotaso luettelosta.</li>
<li>Tarkista, että taso on näkyvillä.</li>
<li>Valitse ominaisuus valitulla tasolla.</li>
</ul>`
message: "<ul><li>Valitse monikulmiotaso luettelosta.</li><li>Tarkista, että taso on näkyvillä.</li><li>Valitse ominaisuus valitulla tasolla.</li></ul>"
}
},
querybydrawpolygon: {
Expand All @@ -293,10 +288,7 @@ export default {
nolayers_visible: 'Ei kyseltäviä tasoja näkyvillä. Aseta vähintään yksi WFS-taso näkyväksi suorittaaksesi haun.',
help: {
title: 'Ohje - Tasoon kohdistuva BBox-kysely',
message:`
<ul>
<li>Piirrä suorakulmio kartalle suorittaaksesi kyselyn luettelossa alleviivatuille tasoille.</li>
</ul>`
message: "<ul><li>Piirrä suorakulmio kartalle suorittaaksesi kyselyn luettelossa alleviivatuille tasoille.</li></ul>"
}
},
addlayer: {
Expand Down
13 changes: 2 additions & 11 deletions src/locales/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,7 @@ export default {
no_geometry: 'La réponse ne contient pas de géométrie',
help: {
title: 'Aide - Requête par polygone',
message:`
<ul>
<li>Sélectionnez un layer de polygone dans la légende.</li>
<li>Vérifiez que le layer est visible dans la carte.</li>
<li>Cliquez sur une géométrie du layer sélectionné.</li>
</ul>`
message: "<ul><li>Sélectionnez un layer de polygone dans la légende.</li><li>Vérifiez que le layer est visible dans la carte.</li><li>Cliquez sur une géométrie du layer sélectionné.</li></ul>"
}
},
querybydrawpolygon: {
Expand All @@ -292,11 +287,7 @@ export default {
nolayers_visible: "Aucun layer requêtable n'est visible. Assurez-vous qu'au moins un layer wfs est visible pour exécuter la requête",
help: {
title:'Aide - Requête BBox',
message:`
<ul>
<li>Dessinez un rectangle pour interroger les couches surlignées en jaune</li>
</ul>
`
message: "<ul><li>Dessinez un rectangle pour interroger les couches surlignées en jaune</li></ul>"
},
},
addlayer: {
Expand Down
2 changes: 2 additions & 0 deletions src/locales/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import se from './se';
import fr from './fr';
import de from './de';
import ro from './ro';
import pl from './pl';

const translations = {
it,
Expand All @@ -14,6 +15,7 @@ const translations = {
fr,
de,
ro,
pl,
};

export default translations;
13 changes: 2 additions & 11 deletions src/locales/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,7 @@ export default {
no_geometry: 'Non contiene la geometria nella risposta',
help: {
title: 'Guida - Interrogazione con Poligono',
message:`
<ul>
<li>Seleziona uno strato poligonale in legenda.</li>
<li>Assicurati che lo strato sia visibile in mappa.</li>
<li>Clicca su una geometria dello strato selezionato.</li>
</ul>`
message: "<ul><li>Seleziona uno strato poligonale in legenda.</li><li>Assicurati che lo strato sia visibile in mappa.</li><li>Clicca su una geometria dello strato selezionato.</li></ul>"
}
},
querybydrawpolygon: {
Expand All @@ -294,11 +289,7 @@ export default {
nolayers_visible: "Nessun layer interrogabile è visibile. Assicurarsi che almeno un layer wfs sia visibile per eseguire l'interrogazione",
help: {
title:'Guida - Interrogazione BBox',
message:`
<ul>
<li>Disegna un rettangolo per interrogare gli strati evidenziati in giallo</li>
</ul>
`
message: "<ul><li>Disegna un rettangolo per interrogare gli strati evidenziati in giallo</li></ul>"
},
},
addlayer: {
Expand Down
Loading

0 comments on commit da1d9d2

Please sign in to comment.