mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
Fixed button translate issue
This commit is contained in:
parent
4b8fc755be
commit
b3a5fd91b9
3 changed files with 7 additions and 3 deletions
|
@ -183,7 +183,9 @@ watch(params, () => {
|
||||||
>
|
>
|
||||||
<template #action>
|
<template #action>
|
||||||
<div class="reset-btn">
|
<div class="reset-btn">
|
||||||
<a-button @click="reset_search" v-translate>Reset</a-button>
|
<a-button @click="reset_search">
|
||||||
|
<translate>Reset</translate>
|
||||||
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</std-data-entry>
|
</std-data-entry>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,9 @@ const {$gettext} = useGettext()
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h1 class="title">{{ $route.meta.status_code || 404 }}</h1>
|
<h1 class="title">{{ $route.meta.status_code || 404 }}</h1>
|
||||||
<p>{{ $route.meta.error?.() ?? $gettext('File Not Found') }}</p>
|
<p>{{ $route.meta.error?.() ?? $gettext('File Not Found') }}</p>
|
||||||
<a-button type="primary" v-translate @click="$router.push('/')">Back Home</a-button>
|
<a-button type="primary" @click="$router.push('/')">
|
||||||
|
<translate>Back Home</translate>
|
||||||
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue