Skip to content

Commit

Permalink
Add Polish language "selector" (#159)
Browse files Browse the repository at this point in the history
* Update services.yaml

* Add pl locale to ApexChart
  • Loading branch information
jbelien authored Nov 11, 2021
1 parent 73f5931 commit a049b19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion assets/typescript/list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import fr from 'apexcharts/dist/locales/fr.json';
import it from 'apexcharts/dist/locales/it.json';
import ja from 'apexcharts/dist/locales/ja.json';
import nl from 'apexcharts/dist/locales/nl.json';
import pl from 'apexcharts/dist/locales/pl.json';

import 'leaflet/dist/leaflet.css';

const locales = [en, es, fr, it, ja, nl];
const locales = [en, es, fr, it, ja, nl, pl];

const mapElement = document.getElementById('map-region');
if (mapElement !== null) {
Expand Down
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:
osmcha.api.url: 'https://osmcha.org/api/v1/'
osmcha.api.key: '%env(OSMCHA_API_KEY)%'
osm.api.url: 'https://api.openstreetmap.org/api/0.6/'
app.locales: en|fr|it|nl|bg|es|ja
app.locales: en|fr|it|nl|bg|es|ja|pl
app.userAgent: 'OpenStreetMap Welcome Tool'
app.title: 'OpenStreetMap Welcome Tool'

Expand Down

0 comments on commit a049b19

Please sign in to comment.