From 0caec3e4dad91f936b111200ec903486ac2da412 Mon Sep 17 00:00:00 2001 From: "sijie.sun" Date: Sun, 9 Feb 2025 21:41:51 +0800 Subject: [PATCH] fix label translate --- .github/workflows/docker.yml | 10 +++++++- easytier-web/frontend-lib/src/locales/cn.yaml | 4 ++-- easytier-web/frontend-lib/src/locales/en.yaml | 23 +++++++++++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d62de61..192b489 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -39,6 +39,12 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: login github container registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Download artifact id: download-artifact uses: dawidd6/action-download-artifact@v6 @@ -58,4 +64,6 @@ jobs: platforms: linux/amd64,linux/arm64 push: true file: .github/workflows/Dockerfile - tags: easytier/easytier:${{ inputs.image_tag }}${{ inputs.mark_latest && ',easytier/easytier:latest' || '' }}, + tags: | + easytier/easytier:${{ inputs.image_tag }}${{ inputs.mark_latest && ',easytier/easytier:latest' || '' }}, + ghcr.io/${{ github.actor }}/easytier:${{ inputs.image_tag }}${{ inputs.mark_latest && ',easytier/easytier:latest' || '' }}, diff --git a/easytier-web/frontend-lib/src/locales/cn.yaml b/easytier-web/frontend-lib/src/locales/cn.yaml index c9d93ba..67a8339 100644 --- a/easytier-web/frontend-lib/src/locales/cn.yaml +++ b/easytier-web/frontend-lib/src/locales/cn.yaml @@ -75,13 +75,13 @@ latency_first: 开启延迟优先模式 latency_first_help: 忽略中转跳数,选择总延迟最低的路径 use_smoltcp: 使用用户态协议栈 -use_smoltcp_help: 使用用户态 TCP/IP 协议栈,避免操作系统防火墙问题导致无法子网代理。 +use_smoltcp_help: 使用用户态 TCP/IP 协议栈,避免操作系统防火墙问题导致无法子网代理 / KCP代理。 enable_kcp_proxy: 启用 KCP 代理 enable_kcp_proxy_help: 将 TCP 流量转为 KCP 流量,降低传输延迟,提升传输速度。 disable_kcp_input: 禁用 KCP 输入 -disable_kcp_input_help: 禁用 KCP 入站流量,其他开启 KCP 代理的节点无法连接到本节点。 +disable_kcp_input_help: 禁用 KCP 入站流量,其他开启 KCP 代理的节点仍然使用 TCP 连接到本节点。 disable_p2p: 禁用 P2P disable_p2p_help: 禁用 P2P 模式,所有流量通过手动指定的服务器中转。 diff --git a/easytier-web/frontend-lib/src/locales/en.yaml b/easytier-web/frontend-lib/src/locales/en.yaml index 23bfdf7..c157d4d 100644 --- a/easytier-web/frontend-lib/src/locales/en.yaml +++ b/easytier-web/frontend-lib/src/locales/en.yaml @@ -68,6 +68,29 @@ upload_bytes: Upload download_bytes: Download loss_rate: Loss Rate +flags_switch: Feature Switch + +latency_first: Enable Latency-First Mode +latency_first_help: Ignore hop count and select the path with the lowest total latency + +use_smoltcp: Use User-Space Protocol Stack +use_smoltcp_help: Use a user-space TCP/IP stack to avoid issues with operating system firewalls blocking subnet or KCP proxy functionality. + +enable_kcp_proxy: Enable KCP Proxy +enable_kcp_proxy_help: Convert TCP traffic to KCP traffic to reduce latency and boost transmission speed. + +disable_kcp_input: Disable KCP Input +disable_kcp_input_help: Disable inbound KCP traffic, while nodes with KCP proxy enabled continue to connect using TCP. + +disable_p2p: Disable P2P +disable_p2p_help: Disable P2P mode; route all traffic through a manually specified relay server. + +bind_device: Bind to Physical Device Only +bind_device_help: Use only the physical network interface to prevent EasyTier from connecting via virtual networks. + +no_tun: No TUN Mode +no_tun_help: Do not use a TUN interface, suitable for environments without administrator privileges. This node is only accessible; accessing other nodes requires SOCKS5. + status: version: Version local: Local