adds missing translations
This commit is contained in:
@@ -43,22 +43,22 @@
|
||||
{
|
||||
text: $_("altitude"),
|
||||
value: "altitude",
|
||||
icon: selectedMetric == "altitude" ? "square-check" : "square",
|
||||
icon: selectedMetric == "altitude" ? "circle-dot" : "circle",
|
||||
},
|
||||
{
|
||||
text: $_("slope"),
|
||||
value: "slope",
|
||||
icon: selectedMetric == "slope" ? "square-check" : "square",
|
||||
icon: selectedMetric == "slope" ? "circle-dot" : "circle",
|
||||
},
|
||||
{
|
||||
text: $_("speed"),
|
||||
value: "speed",
|
||||
icon: selectedMetric == "speed" ? "square-check" : "square",
|
||||
icon: selectedMetric == "speed" ? "circle-dot" : "circle",
|
||||
},
|
||||
{
|
||||
text: $_("off"),
|
||||
value: false,
|
||||
icon: selectedMetric == false ? "square-check" : "square",
|
||||
icon: selectedMetric == false ? "circle-dot" : "circle",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
export let openModal: (() => void) | undefined = undefined;
|
||||
export let closeModal: (() => void) | undefined = undefined;
|
||||
export let title: string = $_("export");
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
|
||||
const fileFormats = [
|
||||
{ text: "GPX", value: "gpx" },
|
||||
{ text: "GeoJSON", value: "json" },
|
||||
@@ -21,20 +21,13 @@
|
||||
summitLog: false,
|
||||
};
|
||||
|
||||
|
||||
function exportTrail() {
|
||||
dispatch("export", exportSettings);
|
||||
closeModal!();
|
||||
}
|
||||
</script>
|
||||
|
||||
<Modal
|
||||
id="export-modal"
|
||||
title="Export trail"
|
||||
size="max-w-sm"
|
||||
bind:openModal
|
||||
bind:closeModal
|
||||
>
|
||||
<Modal id="export-modal" {title} size="max-w-sm" bind:openModal bind:closeModal>
|
||||
<div slot="content">
|
||||
<div class="mb-3">
|
||||
<Select
|
||||
|
||||
Reference in New Issue
Block a user