Files
clash-verge-rev/src/locales/jp/layout.json
T
Tunglies 4038a76218 feat(linux): reinstall an existing Service during package upgrades
The deb and rpm packages never refreshed an installed Service, and the
previous package's prerm/%preun uninstalls it unconditionally. When the
Service unit existed before the upgrade, the new postinst/%post now
reinstalls it with its group and restores disabled, enabled-runtime,
masked-runtime and stopped states. First installs and explicit removals
never add a Service.

rpm runs the new %post before the old %preun. %post records the
transaction process (pid and start time) in /run, and
/usr/bin/clash-verge-service-uninstall becomes a wrapper that skips only
that %preun call and otherwise runs the real uninstaller, now under
/usr/lib/clash-verge-rev. deb has no such ordering: an upgrade from a
released version still loses the Service, and later deb upgrades reinstall
it in place only once the prerm upgrade guard from #8240 ships.

The scripts exit 0, because a failing postinst or %post cannot restore the
Service. On failure they write /run/clash-verge-service-upgrade instead;
package script output never reaches the GUI. At startup the app offers a
reinstall if the Service is not ready and warns if its previous state was
not restored. Both notices replay when a window subscribes, and the marker
is acknowledged only after both are taken. In-app updates stop a
Service-run core and hold the core lifecycle until the package manager
exits, including after the 30-second startup timeout.

Refs #8515
2026-11-10 07:54:05 +08:00

63 lines
4.8 KiB
JSON

{
"components": {
"navigation": {
"tabs": {
"home": "ホーム",
"proxies": "プロキシ",
"profiles": "プロファイル",
"connections": "接続",
"rules": "ルール",
"logs": "ログ",
"unlock": "テスト",
"settings": "設定"
},
"menu": {
"reorderMode": "Menu reorder mode",
"restoreDefaultOrder": "Restore default order",
"unlock": "Unlock menu order",
"lock": "Lock menu order",
"collapseNavBar": "Collapse navigation bar",
"expandNavBar": "Expand navigation bar"
}
},
"serviceMigration": {
"locationRefusedMessage": "サービスのインストール先またはフォルダーのアクセス許可がセキュリティチェックに合格しなかったため、コアを起動できません。サービスを再インストールしてファイルとアクセス許可を復元し、再試行してください。Windows が管理者の承認を求める場合があります。",
"notAutoStartedMessage": "Clash Verge サービスのスタートアップの種類が「手動」または「無効」に変更されたため(最適化ツールによることが多い)、Windows の起動時に開始されません。このセッションは Sidecar で動作しています。サービスを再インストールすると自動起動に戻ります。Windows が管理者の承認を求める場合があります。",
"upgradeIncompleteMessage": "Clash Verge はアップグレードされましたが、インストール済みの Clash Verge サービスが準備できていません。引き続き使用するにはサービスを再インストールしてください。管理者認証を求められる場合があります。",
"title": "Service update required",
"message": "The Clash Verge service version does not match the version required by this app. Choose Reinstall Service to uninstall the existing service and install the required version, or continue with Sidecar for this session.",
"checkingMessage": "Checking the system service status and current running mode. Please wait…",
"unavailableMessage": "The required Clash Verge service is not available. Install or repair it, or continue with Sidecar for this session.",
"reinstall": "Reinstall service",
"repair": "Repair service",
"continueSidecar": "Continue with Sidecar",
"success": "The Clash Verge service was updated successfully",
"errors": {
"actionFailed": "サービス操作に失敗しました",
"stateRefreshFailed": "サービス状態の更新に失敗しました",
"restartFailed": "コアの再起動に失敗しました",
"revalidationFailed": "実行状態の更新に失敗しました",
"sidecarFailed": "Sidecar での続行に失敗しました"
}
},
"sysproxyPrivilege": {
"title": "システムプロキシを設定できません",
"message": "権限が不足しているため、macOS がこの変更を拒否しました。Clash Verge サービスをインストールすると、サービスが管理者としてプロキシを設定するようになり、この通知は表示されなくなります。",
"serviceReadyMessage": "Clash Verge サービスは準備できていますが、コアがまだ sidecar として動作しているため、システムプロキシの設定が拒否されました。サービスモードに切り替えれば、再インストールせずに解決します。",
"alternative": "別の方法として、システム設定 → プライバシーとセキュリティ → 詳細で、システム全体の設定に管理者パスワードを要求するオプションをオフにしてください。",
"later": "後で",
"installing": "システムサービスをインストールしています。管理者パスワードを求められる場合があります。",
"restarting": "サービスをインストールしました。サービス経由でコアを再起動しています…",
"applying": "システムプロキシの変更を適用しています…",
"tunTitle": "TUN モードにはシステムサービスが必要です",
"tunMessage": "TUN モードがネットワークトラフィックを処理するには Clash Verge システムサービスが必要です。インストールが完了すると TUN モードが自動で有効になります。"
}
},
"feedback": {
"errors": {
"restartCoreStopFailed": "コアを安全に停止できなかったため、再起動をキャンセルしました",
"quitCoreStopFailed": "コアを安全に停止できなかったため、終了をキャンセルしました"
}
}
}