mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
minor fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
if [ ! -z $ENV_NEKORAY ]; then
|
||||
export COMMIT_SING_BOX_EXTRA="03df5df5b343c2d6da6bfd27656a12353cc457dd"
|
||||
export COMMIT_MATSURI_XRAY="3c826392b6c830de88aef209b56782dee0b6fbb5"
|
||||
export COMMIT_MATSURI_XRAY="f6843e4e1442341e88ac34c09ca2d243cdcc09f6"
|
||||
fi
|
||||
|
||||
if [ ! -z $ENV_SING_BOX_EXTRA ]; then
|
||||
|
||||
@@ -926,9 +926,13 @@ This needs to be run NekoBox with administrator privileges.</source>
|
||||
<translation>پلاگین</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Server support is required</source>
|
||||
<source>Version of UDP over TCP protocol, server support is required.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Off</source>
|
||||
<translation type="unfinished">خاموش</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSocksHttp</name>
|
||||
|
||||
@@ -923,7 +923,15 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Server support is required</source>
|
||||
<translation>Необходима поддержка со стороны сервера</translation>
|
||||
<translation type="vanished">Необходима поддержка со стороны сервера</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Version of UDP over TCP protocol, server support is required.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Off</source>
|
||||
<translation type="unfinished">Выкл</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
||||
@@ -924,8 +924,12 @@ This needs to be run NekoBox with administrator privileges.</source>
|
||||
<translation>插件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Server support is required</source>
|
||||
<translation>需要服务器支持</translation>
|
||||
<source>Version of UDP over TCP protocol, server support is required.</source>
|
||||
<translation>UDP over TCP 协议版本,需要服务器支持。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Off</source>
|
||||
<translation>关闭</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
||||
@@ -19,7 +19,7 @@ void EditShadowSocks::onStart(std::shared_ptr<NekoGui::ProxyEntity> _ent) {
|
||||
auto bean = this->ent->ShadowSocksBean();
|
||||
|
||||
ui->method->setCurrentText(bean->method);
|
||||
ui->uot->setCurrentText(Int2String(bean->uot));
|
||||
ui->uot->setCurrentIndex(bean->uot);
|
||||
ui->password->setText(bean->password);
|
||||
auto ssPlugin = bean->plugin.split(";");
|
||||
if (!ssPlugin.empty()) {
|
||||
@@ -33,7 +33,7 @@ bool EditShadowSocks::onEnd() {
|
||||
|
||||
bean->method = ui->method->currentText();
|
||||
bean->password = ui->password->text();
|
||||
bean->uot = ui->uot->currentText().toInt();;
|
||||
bean->uot = ui->uot->currentIndex();
|
||||
bean->plugin = ui->plugin->currentText();
|
||||
if (!bean->plugin.isEmpty()) {
|
||||
bean->plugin += ";" + ui->plugin_opts->text();
|
||||
|
||||
@@ -77,13 +77,13 @@
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="uot_l">
|
||||
<property name="toolTip">
|
||||
<string>Server support is required</string>
|
||||
<string>Version of UDP over TCP protocol, server support is required.</string>
|
||||
</property>
|
||||
<property name="locale">
|
||||
<locale language="English" country="UnitedStates"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>UDP over TCP version</string>
|
||||
<string notr="true">UoT</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -91,17 +91,17 @@
|
||||
<widget class="QComboBox" name="uot">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
<string>Off</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>1</string>
|
||||
<string notr="true">1</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>2</string>
|
||||
<string notr="true">2</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
@@ -123,4 +123,4 @@
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
</ui>
|
||||
|
||||
Reference in New Issue
Block a user