update: translate protocol

This commit is contained in:
Mohammad Foroughi
2022-10-31 12:33:16 +03:30
parent 441ae56a4b
commit 061e005ee1
8 changed files with 21 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
{{define "form/trojan"}}
<a-form layout="inline">
<a-form-item label="密码">
<a-form-item label='{{ i18n "password" }}'>
<a-input v-model.trim="inbound.settings.clients[0].password"></a-input>
</a-form-item>
<a-form-item v-if="inbound.xtls" label="flow">
<a-select v-model="inbound.settings.clients[0].flow" style="width: 150px">
<a-select-option value=""></a-select-option>
<a-select-option value="" v-text='{{ i18n "none" }}'></a-select-option>
<a-select-option v-for="key in FLOW_CONTROL" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>