mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-26 23:30:09 +08:00
chore: update i18n
This commit is contained in:
@@ -57,10 +57,7 @@ pub async fn restart_app() {
|
||||
|
||||
if !cleanup_result.core_stopped {
|
||||
handle::Handle::global().clear_is_exiting();
|
||||
handle::Handle::notice_message(
|
||||
"set_config::error",
|
||||
"Failed to stop the core safely; restart was cancelled",
|
||||
);
|
||||
handle::Handle::notice_message("app_restart::core_stop_failed", "");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -128,10 +128,7 @@ pub async fn quit() -> clash_verge_signal::ShutdownOutcome {
|
||||
|
||||
if should_abort_exit_after_cleanup(cleanup_result.core_stopped) {
|
||||
handle::Handle::global().clear_is_exiting();
|
||||
handle::Handle::notice_message(
|
||||
"set_config::error",
|
||||
"Failed to stop the core safely; quit was cancelled",
|
||||
);
|
||||
handle::Handle::notice_message("app_quit::core_stop_failed", "");
|
||||
return clash_verge_signal::ShutdownOutcome::Canceled;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user