GPX labels.

This commit is contained in:
Eric van der Vlist 2022-11-30 14:46:05 +01:00
parent 3fd43b09a4
commit b5cd2cd58b
3 changed files with 16 additions and 3 deletions

View File

@ -72,7 +72,7 @@ const Infos: Component<{}> = (props) => {
</DialogTitle>
<Stack spacing={1}>
<For each={selectedFeatures}>
{(feature) => <Item>{feature.get('type')}</Item>}
{(feature) => <Item>{t(feature.get('type'))}</Item>}
</For>
</Stack>
</Dialog>

View File

@ -1,9 +1,15 @@
const dict = {
close: 'Close',
close: 'close',
chooseYourMap: 'Choose your map',
nearby: 'Nearby',
wpt: 'place',
trk: 'track',
trkseg: 'track segment',
'trkseg-start': 'start',
'trkseg-finish': 'end',
};
export default dict;

View File

@ -1,11 +1,18 @@
// cSpell:includeRegExp string
const dict = {
close: 'Quitter',
close: 'quitter',
chooseYourMap: 'Choisissez votre carte',
nearby: 'À proximité',
wpt: 'lieu',
trk: 'trace',
trkseg: 'segment de trace',
'trkseg-start': 'début',
'trkseg-finish': 'fin',
};
export default dict;