i18n: better name

This commit is contained in:
Julien Calixte
2026-03-15 00:57:38 +01:00
parent 9c49abfff2
commit da0231b427

View File

@@ -5,7 +5,7 @@ import { useTimeUntil } from "../hooks/useTimeUntil.hooks"
const props = defineProps<{ project?: string; target?: string }>()
const searchParams = useUrlSearchParams<{ project?: string; target?: string }>(
"history"
"history",
)
const projectTitle = ref(props.project)
@@ -18,7 +18,7 @@ watch(
},
{
immediate: true,
}
},
)
watch(
@@ -28,7 +28,7 @@ watch(
},
{
immediate: true,
}
},
)
const target = computed(() => targetInput.value)
@@ -42,7 +42,7 @@ const targetDate = computed(() =>
? new Date(targetInput.value).toLocaleDateString(undefined, {
dateStyle: "long",
})
: null
: null,
)
const {
@@ -129,7 +129,7 @@ const copyUrl = () => {
/>
</div>
<div>
<label for="target">Target date:</label>
<label for="target">Milestone:</label>
<input
type="date"
id="target"
@@ -138,7 +138,9 @@ const copyUrl = () => {
/>
</div>
<div>
<a :href="url" target="_blank" rel="noopener noreferrer"><button type="button">open url</button></a>
<a :href="url" target="_blank" rel="noopener noreferrer"
><button type="button">open url</button></a
>
<button @click="copyUrl">copy url</button>
</div>
<p class="hint">Shrink the window to hide this config.</p>