From 53638cf1227bdf0e4414d98605ea33151bc0da08 Mon Sep 17 00:00:00 2001 From: orohi Date: Tue, 28 Jul 2026 14:00:43 +0300 Subject: [PATCH] Show Mieru higher in server marketplace templates and add missing i18n keys. Co-authored-by: Cursor --- templates/server.html | 52 +++++++++++++++++++++---------------------- translations/fa.json | 6 +++++ translations/fr.json | 6 +++++ translations/zh.json | 6 +++++ 4 files changed, 44 insertions(+), 26 deletions(-) diff --git a/templates/server.html b/templates/server.html index e46a33e..e0c8996 100644 --- a/templates/server.html +++ b/templates/server.html @@ -314,6 +314,31 @@ + +
+
+
{{ icon('zap') }}
+
+
+
Mieru v3.28.0
+
+ {{ _('mieru_desc') }} +
+
+ {{ _('not_checked') }} +
+ +
+ +
+
+
@@ -363,31 +388,6 @@
- -
-
-
{{ icon('zap') }}
-
-
-
Mieru v3.28.0
-
- {{ _('mieru_desc') }} -
-
- {{ _('not_checked') }} -
- -
- -
-
-
@@ -1199,9 +1199,9 @@ { proto: 'awg_legacy', category: 'protocols', icon: 'radio', title: 'AmneziaWG Legacy', descKey: 'awg_legacy_desc' }, { proto: 'xray', category: 'protocols', icon: 'zap', title: 'Xray (VLESS-Reality)', descKey: 'xray_desc' }, { proto: 'telemt', category: 'protocols', icon: 'plane', title: 'Telemt (Telegram Proxy)', descKey: 'telemt_desc' }, + { proto: 'mieru', category: 'protocols', icon: 'zap', title: 'Mieru', descKey: 'mieru_desc', badge: 'v3.28.0' }, { proto: 'hysteria', category: 'protocols', icon: 'refresh', title: 'Hysteria 2', descKey: 'hysteria_desc' }, { proto: 'naiveproxy', category: 'protocols', icon: 'link', title: 'NaiveProxy', descKey: 'naiveproxy_desc', badge: 'STABLE' }, - { proto: 'mieru', category: 'protocols', icon: 'zap', title: 'Mieru', descKey: 'mieru_desc', badge: 'v3.28.0' }, { proto: 'wireguard', category: 'protocols', icon: 'lock', title: 'WireGuard', descKey: 'wireguard_desc' }, { proto: 'dns', category: 'services', icon: 'search', title: 'AmneziaDNS', descKey: 'dns_desc' }, { proto: 'adguard', category: 'services', icon: 'shield-check', title: 'AdGuard Home', descKey: 'adguard_desc' }, diff --git a/translations/fa.json b/translations/fa.json index 4c26d6c..247af22 100644 --- a/translations/fa.json +++ b/translations/fa.json @@ -384,6 +384,12 @@ "naiveproxy_dns_hint": "قبل از نصب این رکورد DNS را بسازید:", "naiveproxy_ports_warning": "هشدار: برای کار پایدار پورت‌های TCP آزاد ۸۰ و ۴۴۳ لازم است (Let\u0027s Encrypt روی ۸۰، پروکسی HTTPS روی ۴۴۳).", "naiveproxy_client_hint": "نسخه پایدار. از v2rayN استفاده نکنید. در Karing تأیید شده. سایر کلاینت‌ها آزمایش نشده‌اند.", + "mieru_desc": "Mieru (mita v3.28.0) — پروکسی TCP بومی enfein/mieru. بدون Docker. کلاینت: mieru یا Clash.Meta/mihomo.", + "mieru_version": "نسخه", + "mieru_port_hint": "پورت TCP برای mita (۱۰۲۵–۶۵۵۳۵). در فایروال سرور باز کنید.", + "mieru_install_hint": "بسته رسمی mita را از GitHub v3.28.0 نصب می‌کند (Debian/RPM). لینوکس با systemd لازم است.", + "mieru_ports_warning": "هشدار: پورت TCP انتخابی باید آزاد و در فایروال مجاز باشد.", + "mieru_client_hint": "لینک‌ها با فرمت mierus://. در کلاینت mieru یا Clash.Meta (type: mieru) وارد کنید.", "server_ssl_domain": "دامنه SSL (پیش‌فرض)", "server_ssl_email": "ایمیل SSL (پیش‌فرض)", "server_ssl_hint": "هنگام نصب Hysteria / NGINX روی این سرور استفاده می‌شود (Let\u0027s Encrypt).", diff --git a/translations/fr.json b/translations/fr.json index e35a01c..ea21a46 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -384,6 +384,12 @@ "naiveproxy_dns_hint": "Créez cet enregistrement DNS avant l\u0027installation :", "naiveproxy_ports_warning": "Attention : les ports TCP 80 et 443 doivent être libres pour un fonctionnement stable (Let\u0027s Encrypt sur 80, proxy HTTPS sur 443).", "naiveproxy_client_hint": "Version stable. N\u0027utilisez PAS v2rayN. Fonctionne avec Karing. Autres clients non testés.", + "mieru_desc": "Mieru (mita v3.28.0) — proxy TCP natif enfein/mieru. Pas besoin de Docker. Client : mieru ou Clash.Meta/mihomo.", + "mieru_version": "Version", + "mieru_port_hint": "Port TCP pour mita (1025–65535). Ouvrez-le dans le pare-feu du serveur.", + "mieru_install_hint": "Installe le paquet officiel mita depuis GitHub v3.28.0 (Debian/RPM). Linux avec systemd requis.", + "mieru_ports_warning": "Attention : le port TCP choisi doit être libre et autorisé dans le pare-feu.", + "mieru_client_hint": "Liens au format mierus://. Importez dans le client mieru ou Clash.Meta (type: mieru).", "server_ssl_domain": "Domaine SSL (par défaut)", "server_ssl_email": "Email SSL (par défaut)", "server_ssl_hint": "Utilisé lors de l\u0027installation de Hysteria / NGINX sur ce serveur (Let\u0027s Encrypt).", diff --git a/translations/zh.json b/translations/zh.json index 9c0b4b7..35a5c2f 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -384,6 +384,12 @@ "naiveproxy_dns_hint": "安装前请创建此 DNS 记录:", "naiveproxy_ports_warning": "注意:稳定运行需要空闲的 TCP 端口 80 和 443(Let\u0027s Encrypt 使用 80,HTTPS 代理使用 443)。", "naiveproxy_client_hint": "稳定版。请勿使用 v2rayN。已确认 Karing 可用。其他客户端未测试。", + "mieru_desc": "Mieru(mita v3.28.0)— enfein/mieru 原生 TCP 代理,无需 Docker。客户端:mieru 或 Clash.Meta/mihomo。", + "mieru_version": "版本", + "mieru_port_hint": "mita 的 TCP 端口(1025–65535)。请在服务器防火墙中放行。", + "mieru_install_hint": "从 GitHub v3.28.0 安装官方 mita 包(Debian/RPM)。需要带 systemd 的 Linux。", + "mieru_ports_warning": "注意:所选 TCP 端口必须空闲,并在防火墙中允许。", + "mieru_client_hint": "分享链接为 mierus:// 格式。可导入 mieru 客户端或 Clash.Meta(type: mieru)。", "server_ssl_domain": "SSL 域名(默认)", "server_ssl_email": "SSL 邮箱(默认)", "server_ssl_hint": "安装 Hysteria / NGINX 时自动填入(Let\u0027s Encrypt)。",