Restore missing Hysteria server translations

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2026-08-12 12:21:00 +08:00
parent 619844da49
commit b454f3c98b
3 changed files with 34 additions and 0 deletions
+9
View File
@@ -36,6 +36,15 @@ import copy
__all__ = ['HYSTERIA1_PROTOCOL_HANDLERS']
def _placeholder(x):
return x
_ = _placeholder
_TRANSLATABLE = (_('Add Hysteria1 Server...'),)
class Hysteria1ProtocolHandler(ProtocolHandler):
"""Own Hysteria 1 URI, mapping, validation, and export behavior."""
+9
View File
@@ -36,6 +36,15 @@ import copy
__all__ = ['HYSTERIA2_PROTOCOL_HANDLERS']
def _placeholder(x):
return x
_ = _placeholder
_TRANSLATABLE = (_('Add Hysteria2 Server...'),)
class Hysteria2ProtocolHandler(ProtocolHandler):
"""Own Hysteria 2 URI, mapping, validation, and export behavior."""
+16
View File
@@ -2151,6 +2151,22 @@ TRANSLATION = {
"ZH": "添加Trojan服务器...",
"isReviewed": "True"
},
"Add Hysteria1 Server...": {
"source": [
"Furious.Backends.Hysteria1.Protocols"
],
"RU": "Добавить сервер Hysteria 1...",
"ZH": "添加Hysteria1服务器...",
"isReviewed": "True"
},
"Add Hysteria2 Server...": {
"source": [
"Furious.Backends.Hysteria2.Protocols"
],
"RU": "Добавить сервер Hysteria 2...",
"ZH": "添加Hysteria2服务器...",
"isReviewed": "True"
},
"Add SOCKS Server...": {
"source": [
"Furious.Backends.Xray.Protocols"