i18n: better name
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user