diff --git a/frontend/src/components/RequiresDocker.jsx b/frontend/src/components/RequiresDocker.jsx index 47528021..65fdde59 100644 --- a/frontend/src/components/RequiresDocker.jsx +++ b/frontend/src/components/RequiresDocker.jsx @@ -3,6 +3,10 @@ import { Boxes, Terminal } from 'lucide-react'; import { useResourceTier } from '../contexts/useResourceTier.js'; import { useTranslation } from 'react-i18next'; import InfoTip from './InfoTip'; +import CopyButton from './CopyButton'; + +// Shell commands are literal — never route them through t(). +const COMMANDS = ['curl -fsSL https://get.docker.com | sh', 'sudo systemctl restart serverkit']; /** * Explains a Dockerless install instead of letting the page fail at click time. @@ -43,12 +47,12 @@ const RequiresDocker = ({ children, what = 'This page' }) => { {t('app.requiresDocker.installItOnTheServerThen', 'Install it on the server, then restart ServerKit:')} - - {t('app.requiresDocker.curlFsslHttpsGetDockerCom', 'curl -fsSL https://get.docker.com | sh')} - - - {t('app.requiresDocker.sudoSystemctlRestartServerkit', 'sudo systemctl restart serverkit')} - + {COMMANDS.map((cmd) => ( +
+ {cmd} + +
+ ))}

diff --git a/frontend/src/i18n/locales/ar.json b/frontend/src/i18n/locales/ar.json index a1079659..6a2df08c 100644 --- a/frontend/src/i18n/locales/ar.json +++ b/frontend/src/i18n/locales/ar.json @@ -4857,15 +4857,13 @@ "title": "الزيارات" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "حليقة -fsSL https://get.docker.com | ش", "dockerIsnTAvailable": "Docker غير متوفر", "forThisInstallSProfile": "لملف تعريف التثبيت هذا.", "installItOnTheServerThen": "قم بتثبيته على الخادم، ثم أعد تشغيل ServerKit:", "needsDockerToRunContainersAnd": "يحتاج إلى Docker لتشغيل الحاويات، وقد تم تثبيت هذا الخادم مع", "profileWhichLeavesItOutNothing": "الملف الشخصي، الذي يترك ذلك. لا يوجد شيء مقفل - تؤدي إضافة Docker إلى تشغيل هذه الصفحة.", "serverkitReChecksForDockerAutomatically": "يقوم ServerKit بإعادة التحقق من Docker تلقائيًا. المراقبة والمجالات والشهادات وcron وDNS يستمرون في العمل بدونها - راجع", - "settingsSystem": "الإعدادات → النظام", - "sudoSystemctlRestartServerkit": "سودو systemctl إعادة تشغيل serverkit" + "settingsSystem": "الإعدادات → النظام" }, "resourceAdvisory": { "mbAndThisServerHas": "MB وهذا الخادم لديه", diff --git a/frontend/src/i18n/locales/bn.json b/frontend/src/i18n/locales/bn.json index be77a0f3..266a88c4 100644 --- a/frontend/src/i18n/locales/bn.json +++ b/frontend/src/i18n/locales/bn.json @@ -4857,15 +4857,13 @@ "title": "ট্রাফিক" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | শ", "dockerIsnTAvailable": "Docker উপলব্ধ নেই৷", "forThisInstallSProfile": "এই ইনস্টলের প্রোফাইলের জন্য।", "installItOnTheServerThen": "এটি সার্ভারে ইনস্টল করুন, তারপর ServerKit পুনরায় চালু করুন:", "needsDockerToRunContainersAnd": "কনটেইনার চালানোর জন্য Docker প্রয়োজন, এবং এই সার্ভারটি এর সাথে ইনস্টল করা হয়েছিল", "profileWhichLeavesItOutNothing": "প্রোফাইল, যা এটি ছেড়ে যায়। কিছুই লক করা নেই — Docker যোগ করা এই পৃষ্ঠাটি চালু করে।", "serverkitReChecksForDockerAutomatically": "ServerKit Docker স্বয়ংক্রিয়ভাবে পুনরায় পরীক্ষা করে। মনিটরিং, ডোমেইন, সার্টিফিকেট, cron এবং DNS এটি ছাড়াই কাজ করতে থাকুন — দেখুন", - "settingsSystem": "সেটিংস → সিস্টেম", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "সেটিংস → সিস্টেম" }, "resourceAdvisory": { "mbAndThisServerHas": "এমবি এবং এই সার্ভার আছে", diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index d80b0ec8..afcdc5b2 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -4857,15 +4857,13 @@ "title": "Traffic" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker ist nicht verfügbar", "forThisInstallSProfile": "für das Profil dieser Installation.", "installItOnTheServerThen": "Installieren Sie es auf dem Server und starten Sie dann ServerKit neu:", "needsDockerToRunContainersAnd": "benötigt Docker, um Container auszuführen, und dieser Server wurde mit installiert", "profileWhichLeavesItOutNothing": "Profil, das es weglässt. Nichts ist gesperrt – das Hinzufügen von Docker aktiviert diese Seite.", "serverkitReChecksForDockerAutomatically": "ServerKit sucht automatisch erneut nach Docker. Überwachung, Domänen, Zertifikate, Cron und DNS funktionieren auch ohne sie weiter – siehe", - "settingsSystem": "Einstellungen → System", - "sudoSystemctlRestartServerkit": "sudo systemctl serverkit neu starten" + "settingsSystem": "Einstellungen → System" }, "resourceAdvisory": { "mbAndThisServerHas": "MB und dieser Server hat", diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 972d8733..7c4f349a 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -5014,7 +5014,8 @@ }, "requiresDocker": { "checkedAutomatically": "Re-checked automatically.", - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | sh", + "copied": "Copied!", + "copyCommand": "Copy command", "dockerIsnTAvailable": "Docker isn't available", "forThisInstallSProfile": "for this install's profile.", "installItOnTheServerThen": "Install it on the server, then restart ServerKit:", @@ -5022,8 +5023,7 @@ "needsDockerToRunContainersAnd": "needs Docker to run containers, and this server was installed with the", "profileWhichLeavesItOutNothing": "profile, which leaves it out. Nothing is locked; adding Docker turns this page on.", "serverkitReChecksForDockerAutomatically": "ServerKit re-checks for Docker automatically. Monitoring, domains, certificates, cron and DNS keep working without it. See", - "settingsSystem": "Settings → System", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "Settings → System" }, "resourceAdvisory": { "mbAndThisServerHas": "MB and this server has", @@ -5940,6 +5940,7 @@ "failedToMoveServices": "Couldn't move the services.", "importASite": "Import a site", "lastDeploy": "Last deploy", + "loadingServices": "Loading services...", "local": "Local", "move": "Move", "moveToProject": "Move to project", @@ -5947,6 +5948,7 @@ "movedServices_other": "Moved {{count}} services", "moving": "Moving…", "newService": "New service", + "noServicesFound": "No services found", "noServicesYet": "No services yet", "noSpecificEnvironment": "No specific environment", "restartAll": "Restart all", @@ -5956,6 +5958,7 @@ "stopAll": "Stop all", "transfer": "Transfer", "transferLast30Days": "Transfer (last 30 days)", + "tryAdjustingFilter": "Try adjusting your search or filter", "unassign": "Unassign", "unassigned": "Unassigned", "unassignedServices_one": "Unassigned 1 service", diff --git a/frontend/src/i18n/locales/es.json b/frontend/src/i18n/locales/es.json index a869b470..343e8b1d 100644 --- a/frontend/src/i18n/locales/es.json +++ b/frontend/src/i18n/locales/es.json @@ -4858,15 +4858,13 @@ "title": "Tráfico" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker no está disponible", "forThisInstallSProfile": "para el perfil de esta instalación.", "installItOnTheServerThen": "Instálalo en el servidor y reinicia ServerKit:", "needsDockerToRunContainersAnd": "necesita Docker para ejecutar contenedores, y este servidor se instaló con el", "profileWhichLeavesItOutNothing": "perfil, que lo excluye. No hay nada bloqueado — añadir Docker activa esta página.", "serverkitReChecksForDockerAutomatically": "ServerKit vuelve a comprobar Docker automáticamente. La monitorización, los dominios, los certificados, cron y DNS siguen funcionando sin él — consulta", - "settingsSystem": "Configuración → Sistema", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "Configuración → Sistema" }, "resourceAdvisory": { "mbAndThisServerHas": "MB y este servidor tiene", diff --git a/frontend/src/i18n/locales/fr.json b/frontend/src/i18n/locales/fr.json index 8f581053..d6a0e697 100644 --- a/frontend/src/i18n/locales/fr.json +++ b/frontend/src/i18n/locales/fr.json @@ -4857,15 +4857,13 @@ "title": "Trafic" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | merde", "dockerIsnTAvailable": "Docker n'est pas disponible", "forThisInstallSProfile": "pour le profil de cette installation.", "installItOnTheServerThen": "Installez-le sur le serveur, puis redémarrez ServerKit :", "needsDockerToRunContainersAnd": "a besoin de Docker pour exécuter des conteneurs, et ce serveur a été installé avec le", "profileWhichLeavesItOutNothing": "profil, ce qui le laisse de côté. Rien n'est verrouillé : l'ajout de Docker active cette page.", "serverkitReChecksForDockerAutomatically": "ServerKit revérifie automatiquement Docker. La surveillance, les domaines, les certificats, cron et DNS continuent de fonctionner sans lui — voir", - "settingsSystem": "Paramètres → Système", - "sudoSystemctlRestartServerkit": "sudo systemctl redémarrer le kit de serveur" + "settingsSystem": "Paramètres → Système" }, "resourceAdvisory": { "mbAndThisServerHas": "Mo et ce serveur a", diff --git a/frontend/src/i18n/locales/id.json b/frontend/src/i18n/locales/id.json index b37d5645..d492de5c 100644 --- a/frontend/src/i18n/locales/id.json +++ b/frontend/src/i18n/locales/id.json @@ -4857,15 +4857,13 @@ "title": "Lalu lintas" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "keriting -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker tidak tersedia", "forThisInstallSProfile": "untuk profil instalasi ini.", "installItOnTheServerThen": "Instal di server, lalu restart ServerKit:", "needsDockerToRunContainersAnd": "membutuhkan Docker untuk menjalankan container, dan server ini diinstal dengan", "profileWhichLeavesItOutNothing": "profil, yang mengabaikannya. Tidak ada yang terkunci — menambahkan Docker akan mengaktifkan halaman ini.", "serverkitReChecksForDockerAutomatically": "ServerKit memeriksa ulang Docker secara otomatis. Pemantauan, domain, sertifikat, cron dan DNS tetap berfungsi tanpanya — lihat", - "settingsSystem": "Pengaturan → Sistem", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "Pengaturan → Sistem" }, "resourceAdvisory": { "mbAndThisServerHas": "MB dan server ini punya", diff --git a/frontend/src/i18n/locales/it.json b/frontend/src/i18n/locales/it.json index f2871323..7b052417 100644 --- a/frontend/src/i18n/locales/it.json +++ b/frontend/src/i18n/locales/it.json @@ -4857,15 +4857,13 @@ "title": "Traffico" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "ricciolo -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker non è disponibile", "forThisInstallSProfile": "per il profilo di questa installazione.", "installItOnTheServerThen": "Installalo sul server, quindi riavvia ServerKit:", "needsDockerToRunContainersAnd": "necessita di Docker per eseguire i contenitori e questo server è stato installato con", "profileWhichLeavesItOutNothing": "profilo, che lo lascia fuori. Niente è bloccato: l'aggiunta di Docker attiva questa pagina.", "serverkitReChecksForDockerAutomatically": "ServerKit ricontrolla automaticamente Docker. Monitoraggio, domini, certificati, cron e DNS continuano a funzionare senza di esso: vedi", - "settingsSystem": "Impostazioni → Sistema", - "sudoSystemctlRestartServerkit": "sudo systemctl riavviare serverkit" + "settingsSystem": "Impostazioni → Sistema" }, "resourceAdvisory": { "mbAndThisServerHas": "MB e questo server ha", diff --git a/frontend/src/i18n/locales/ko.json b/frontend/src/i18n/locales/ko.json index 47ffb3c2..08a6f470 100644 --- a/frontend/src/i18n/locales/ko.json +++ b/frontend/src/i18n/locales/ko.json @@ -4857,15 +4857,13 @@ "title": "트래픽" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker를 사용할 수 없습니다", "forThisInstallSProfile": "이 설치 프로필의 경우.", "installItOnTheServerThen": "서버에 설치한 후 ServerKit을 다시 시작하세요.", "needsDockerToRunContainersAnd": "컨테이너를 실행하려면 Docker가 필요하며 이 서버는", "profileWhichLeavesItOutNothing": "프로필을 삭제합니다. 아무것도 잠겨 있지 않습니다. Docker를 추가하면 이 페이지가 활성화됩니다.", "serverkitReChecksForDockerAutomatically": "ServerKit은 Docker를 자동으로 다시 확인합니다. 모니터링, 도메인, 인증서, cron 및 DNS는 그것 없이도 계속 작동합니다.", - "settingsSystem": "설정 → 시스템", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "설정 → 시스템" }, "resourceAdvisory": { "mbAndThisServerHas": "MB이고 이 서버에는", diff --git a/frontend/src/i18n/locales/pl.json b/frontend/src/i18n/locales/pl.json index 138f37df..8113f438 100644 --- a/frontend/src/i18n/locales/pl.json +++ b/frontend/src/i18n/locales/pl.json @@ -4857,15 +4857,13 @@ "title": "Ruch" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | cii", "dockerIsnTAvailable": "Docker nie jest dostępny", "forThisInstallSProfile": "dla profilu tej instalacji.", "installItOnTheServerThen": "Zainstaluj go na serwerze, a następnie uruchom ponownie ServerKit:", "needsDockerToRunContainersAnd": "potrzebuje Docker do uruchamiania kontenerów, a ten serwer został zainstalowany z pakietem", "profileWhichLeavesItOutNothing": "profil, który to pomija. Nic nie jest zablokowane — dodanie Docker włącza tę stronę.", "serverkitReChecksForDockerAutomatically": "ServerKit automatycznie ponownie sprawdza obecność Docker. Monitoring, domeny, certyfikaty cron i DNS działają bez tego — zobacz", - "settingsSystem": "Ustawienia → System", - "sudoSystemctlRestartServerkit": "sudo systemctl zrestartuj zestaw serwerów" + "settingsSystem": "Ustawienia → System" }, "resourceAdvisory": { "mbAndThisServerHas": "MB i ten serwer ma", diff --git a/frontend/src/i18n/locales/pt.json b/frontend/src/i18n/locales/pt.json index 839458a6..d0c5ce88 100644 --- a/frontend/src/i18n/locales/pt.json +++ b/frontend/src/i18n/locales/pt.json @@ -4857,15 +4857,13 @@ "title": "Tráfego" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker não está disponível", "forThisInstallSProfile": "para o perfil desta instalação.", "installItOnTheServerThen": "Instale-o no servidor e reinicie o ServerKit:", "needsDockerToRunContainersAnd": "precisa do Docker para executar contêineres, e este servidor foi instalado com o", "profileWhichLeavesItOutNothing": "perfil, o que o deixa de fora. Nada está bloqueado – adicionar o Docker ativa esta página.", "serverkitReChecksForDockerAutomatically": "O ServerKit verifica novamente o Docker automaticamente. Monitoramento, domínios, certificados, cron e DNS continuam funcionando sem ele — veja", - "settingsSystem": "Configurações → Sistema", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "Configurações → Sistema" }, "resourceAdvisory": { "mbAndThisServerHas": "MB e este servidor tem", diff --git a/frontend/src/i18n/locales/ru.json b/frontend/src/i18n/locales/ru.json index 2078448a..3e33f18b 100644 --- a/frontend/src/i18n/locales/ru.json +++ b/frontend/src/i18n/locales/ru.json @@ -4857,15 +4857,13 @@ "title": "Трафик" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker недоступен", "forThisInstallSProfile": "для профиля этой установки.", "installItOnTheServerThen": "Установите его на сервер, затем перезапустите ServerKit:", "needsDockerToRunContainersAnd": "для запуска контейнеров требуется Docker, и этот сервер был установлен с", "profileWhichLeavesItOutNothing": "профиль, который исключает его. Ничего не заблокировано — добавление Docker включает эту страницу.", "serverkitReChecksForDockerAutomatically": "ServerKit автоматически проверяет наличие Docker. Мониторинг, домены, сертификаты, cron и DNS продолжают работать и без него — см.", - "settingsSystem": "Настройки → Система", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "Настройки → Система" }, "resourceAdvisory": { "mbAndThisServerHas": "МБ и на этом сервере есть", diff --git a/frontend/src/i18n/locales/th.json b/frontend/src/i18n/locales/th.json index 784b37dc..3a6eef4b 100644 --- a/frontend/src/i18n/locales/th.json +++ b/frontend/src/i18n/locales/th.json @@ -4857,15 +4857,13 @@ "title": "ทราฟฟิก" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "ขด -fsSL https://get.docker.com | ซ", "dockerIsnTAvailable": "Docker ไม่พร้อมใช้งาน", "forThisInstallSProfile": "สำหรับโปรไฟล์การติดตั้งนี้", "installItOnTheServerThen": "ติดตั้งบนเซิร์ฟเวอร์ จากนั้นรีสตาร์ท ServerKit:", "needsDockerToRunContainersAnd": "ต้องการ Docker เพื่อเรียกใช้คอนเทนเนอร์ และเซิร์ฟเวอร์นี้ได้รับการติดตั้งพร้อมกับ", "profileWhichLeavesItOutNothing": "โปรไฟล์ซึ่งทำให้มันออกมา ไม่มีอะไรถูกล็อค — การเพิ่ม Docker จะเปิดหน้านี้", "serverkitReChecksForDockerAutomatically": "ServerKit ตรวจสอบ Docker อีกครั้งโดยอัตโนมัติ การตรวจสอบ โดเมน ใบรับรอง cron และ DNS ยังคงทำงานต่อไปได้โดยไม่ต้องใช้ — ดู", - "settingsSystem": "การตั้งค่า → ระบบ", - "sudoSystemctlRestartServerkit": "sudo systemctl รีสตาร์ทเซิร์ฟเวอร์ kit" + "settingsSystem": "การตั้งค่า → ระบบ" }, "resourceAdvisory": { "mbAndThisServerHas": "MB และเซิร์ฟเวอร์นี้มี", diff --git a/frontend/src/i18n/locales/tr.json b/frontend/src/i18n/locales/tr.json index f75f1335..4caa7671 100644 --- a/frontend/src/i18n/locales/tr.json +++ b/frontend/src/i18n/locales/tr.json @@ -4857,15 +4857,13 @@ "title": "Trafik" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "kıvrılma -fsSL https://get.docker.com | ş", "dockerIsnTAvailable": "Docker mevcut değil", "forThisInstallSProfile": "bu kurulumun profili için.", "installItOnTheServerThen": "Sunucuya yükleyin ve ardından ServerKit'yi yeniden başlatın:", "needsDockerToRunContainersAnd": "Konteynerleri çalıştırmak için Docker gerekiyor ve bu sunucu,", "profileWhichLeavesItOutNothing": "profil, bu da onu dışarıda bırakıyor. Hiçbir şey kilitli değil — Docker eklendiğinde bu sayfa açılır.", "serverkitReChecksForDockerAutomatically": "ServerKit, Docker'yi otomatik olarak yeniden kontrol eder. İzleme, etki alanları, sertifikalar, cron ve DNS onsuz çalışmaya devam eder; bkz.", - "settingsSystem": "Ayarlar → Sistem", - "sudoSystemctlRestartServerkit": "sudo systemctl sunucu kitini yeniden başlat" + "settingsSystem": "Ayarlar → Sistem" }, "resourceAdvisory": { "mbAndThisServerHas": "MB ve bu sunucunun", diff --git a/frontend/src/i18n/locales/vi.json b/frontend/src/i18n/locales/vi.json index c75801c8..52e41c90 100644 --- a/frontend/src/i18n/locales/vi.json +++ b/frontend/src/i18n/locales/vi.json @@ -4857,15 +4857,13 @@ "title": "Lưu lượng" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "cuộn tròn -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker không có sẵn", "forThisInstallSProfile": "cho hồ sơ của cài đặt này.", "installItOnTheServerThen": "Cài đặt nó trên máy chủ, sau đó khởi động lại ServerKit:", "needsDockerToRunContainersAnd": "cần Docker để chạy các container và máy chủ này đã được cài đặt với", "profileWhichLeavesItOutNothing": "profile, loại bỏ nó. Không có gì bị khóa — thêm Docker sẽ bật trang này.", "serverkitReChecksForDockerAutomatically": "ServerKit tự động kiểm tra lại Docker. Giám sát, miền, chứng chỉ, cron và DNS vẫn hoạt động mà không cần có nó — xem", - "settingsSystem": "Cài đặt → Hệ thống", - "sudoSystemctlRestartServerkit": "sudo systemctl khởi động lại bộ máy chủ" + "settingsSystem": "Cài đặt → Hệ thống" }, "resourceAdvisory": { "mbAndThisServerHas": "MB và máy chủ này có", diff --git a/frontend/src/i18n/locales/zh-Hans.json b/frontend/src/i18n/locales/zh-Hans.json index 7555c0a4..814e9d49 100644 --- a/frontend/src/i18n/locales/zh-Hans.json +++ b/frontend/src/i18n/locales/zh-Hans.json @@ -4857,15 +4857,13 @@ "title": "流量" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "卷曲-fsSL https://get.docker.com |嘘", "dockerIsnTAvailable": "Docker 不可用", "forThisInstallSProfile": "对于此安装的配置文件。", "installItOnTheServerThen": "将其安装到服务器上,然后重新启动 ServerKit:", "needsDockerToRunContainersAnd": "需要 Docker 来运行容器,并且该服务器安装了", "profileWhichLeavesItOutNothing": "配置文件,将其排除在外。没有什么是锁定的——添加 Docker 会打开此页面。", "serverkitReChecksForDockerAutomatically": "ServerKit 自动重新检查 Docker。监控、域、证书、cron 和 DNS 无需它也能继续工作 — 请参阅", - "settingsSystem": "设置→系统", - "sudoSystemctlRestartServerkit": "sudo systemctl 重新启动 serverkit" + "settingsSystem": "设置→系统" }, "resourceAdvisory": { "mbAndThisServerHas": "MB 并且该服务器有", diff --git a/frontend/src/i18n/locales/zh-Hant.json b/frontend/src/i18n/locales/zh-Hant.json index 14206dd7..264f4840 100644 --- a/frontend/src/i18n/locales/zh-Hant.json +++ b/frontend/src/i18n/locales/zh-Hant.json @@ -4857,15 +4857,13 @@ "title": "流量" }, "requiresDocker": { - "curlFsslHttpsGetDockerCom": "curl -fsSL https://get.docker.com | sh", "dockerIsnTAvailable": "Docker 不可用", "forThisInstallSProfile": "對於此安裝的設定檔。", "installItOnTheServerThen": "在伺服器上安裝,然後重新啟動 ServerKit:", "needsDockerToRunContainersAnd": "需要 Docker 才能執行容器,但此伺服器安裝時選用的", "profileWhichLeavesItOutNothing": "設定檔未包含 Docker。此頁面沒有鎖定任何功能;安裝 Docker 後即可使用。", "serverkitReChecksForDockerAutomatically": "ServerKit 自動重新檢查 Docker。監控、網域、憑證、cron 和 DNS 無需它即可繼續工作 — 請參閱", - "settingsSystem": "設定→系統", - "sudoSystemctlRestartServerkit": "sudo systemctl restart serverkit" + "settingsSystem": "設定→系統" }, "resourceAdvisory": { "mbAndThisServerHas": "MB 且該伺服器有", diff --git a/frontend/src/pages/Services.jsx b/frontend/src/pages/Services.jsx index 7b476e43..3b65c638 100644 --- a/frontend/src/pages/Services.jsx +++ b/frontend/src/pages/Services.jsx @@ -401,7 +401,7 @@ const Services = () => { { emptyDescription={<>{t('app.services.emptyShort', 'Connect a repo or install a template.')} {t('app.services.emptyFull', 'Connect a Git repository, upload files, or install a ready-made template to deploy your first service.')}} emptyAction={ } filteredEmptyIcon={Layers} - filteredEmptyTitle="No services found" - filteredEmptyDescription="Try adjusting your search or filter" + filteredEmptyTitle={t('app.services.noServicesFound', 'No services found')} + filteredEmptyDescription={t('app.services.tryAdjustingFilter', 'Try adjusting your search or filter')} >