fix: i18n bug

This commit is contained in:
a20070322 2024-05-16 15:33:46 +08:00
parent 798340a7b2
commit b52603401c
4 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@
v-model:value="temp.allowRemoteDownloadHost"
:rows="5"
style="resize: none"
placeholder="{{$tl('p.inputRemoteDownloadSecureHosts')}}://www.test.com 等"
:placeholder="`${$tl('p.inputRemoteDownloadSecureHosts')}://www.test.com 等`"
/>
</a-form-item>
<a-form-item :wrapper-col="{ span: 14, offset: 6 }">

View File

@ -125,7 +125,7 @@
<a-input
v-model:value="item.host"
:addon-before="$tl('p.host')"
placeholder="{{$tl('p.host')}}机目录"
:placeholder="`${$tl('p.host')}机目录`"
/>
</a-col>
<a-col :span="10" :offset="1">

View File

@ -211,7 +211,7 @@
<a-input
v-model:value="item.targetPort"
:addon-before="$tl('c.container')"
placeholder="{{$tl('c.container')}}端口"
:placeholder="`${$tl('c.container')}端口`"
>
<template #addonAfter>
<a-select v-model:value="item.protocol" :placeholder="$tl('p.portProtocol')">
@ -268,14 +268,14 @@
<a-input
v-model:value="item.source"
:addon-before="$tl('p.hostMachine')"
placeholder="{{$tl('p.hostMachine')}}机目录"
:placeholder="`${$tl('p.hostMachine')}机目录`"
/>
</a-col>
<a-col :span="8" :offset="1">
<a-input
v-model:value="item.target"
:addon-before="$tl('c.container')"
placeholder="{{$tl('c.container')}}目录"
:placeholder="`${$tl('c.container')}目录`"
/>
</a-col>
</a-row>
@ -437,7 +437,7 @@
v-model:value="temp.update.maxFailureRatio"
style="width: 80%"
:min="0"
placeholder="{{$tl('c.failureRate')}}{{$tl('c.failureRateDetail')}}"
:placeholder="`${$tl('c.failureRate')}${$tl('c.failureRateDetail')}`"
/>
</a-form-item>
<a-form-item :label="$tl('c.failureStrategy')" name="failureAction">
@ -487,7 +487,7 @@
v-model:value="temp.rollback.maxFailureRatio"
style="width: 80%"
:min="0"
placeholder="{{$tl('c.failureRate')}}{{$tl('c.failureRateDetail')}}"
:placeholder="`${$tl('c.failureRate')}${$tl('c.failureRateDetail')}`"
/>
</a-form-item>
<a-form-item :label="$tl('c.failureStrategy')" name="failureAction">

View File

@ -59,12 +59,12 @@
<a-input
v-model:value="item.desc"
:addon-before="$tl('p.paramDescriptionTemplate')"
placeholder="{{$tl('p.paramDescription')}},{{$tl('p.paramDescriptionNote')}},仅是用于提示参数的含义"
:placeholder="`${$tl('p.paramDescription')},${$tl('p.paramDescriptionNote')},仅是用于提示参数的含义`"
/>
<a-input
v-model:value="item.value"
:addon-before="$tl('p.paramValueTemplate')"
placeholder="{{$tl('p.paramValue')}}{{$tl('p.newParamValueNote')}}"
:placeholder="`${$tl('p.paramValue')}${$tl('p.newParamValueNote')}`"
/>
</a-space>
</a-col>