mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-25 06:25:44 +03:00
Pull request 1720: 4940-version-check-error
Updates #4940. Squashed commit of the following: commit f8cc9aeb63478e17a7e5108e2ebacf49a79ed2a3 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Jan 26 20:23:24 2023 +0300 client: imp version check fail message
This commit is contained in:
parent
6aa93f4ae7
commit
d52f1d0e70
2 changed files with 2 additions and 1 deletions
|
@ -454,6 +454,7 @@
|
|||
"updates_checked": "A new version of AdGuard Home is available",
|
||||
"updates_version_equal": "AdGuard Home is up-to-date",
|
||||
"check_updates_now": "Check for updates now",
|
||||
"version_request_error": "Update check failed. Please check your Internet connection.",
|
||||
"dns_privacy": "DNS Privacy",
|
||||
"setup_dns_privacy_1": "<0>DNS-over-TLS:</0> Use <1>{{address}}</1> string.",
|
||||
"setup_dns_privacy_2": "<0>DNS-over-HTTPS:</0> Use <1>{{address}}</1> string.",
|
||||
|
|
|
@ -141,7 +141,7 @@ export const getVersion = (recheck = false) => async (dispatch, getState) => {
|
|||
}
|
||||
}
|
||||
} catch (error) {
|
||||
dispatch(addErrorToast({ error }));
|
||||
dispatch(addErrorToast({ error: 'version_request_error' }));
|
||||
dispatch(getVersionFailure());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue