|
|
@@ -74,11 +74,11 @@ const FormData = reactive({ reset: 0 })
|
|
|
const handleReset = async () => {
|
|
|
try {
|
|
|
await ElMessageBox.confirm(
|
|
|
- 'This operation will modify the camera configuration and restart it. Continue?',
|
|
|
- 'Warning',
|
|
|
+ t('popup.reset_tips'),
|
|
|
+ t('popup.warning'),
|
|
|
{
|
|
|
- confirmButtonText: 'OK',
|
|
|
- cancelButtonText: 'Cancel',
|
|
|
+ confirmButtonText: t('popup.confirm'),
|
|
|
+ cancelButtonText: t('popup.cancel'),
|
|
|
type: 'warning',
|
|
|
confirmButtonClass: 'el-button--danger'
|
|
|
}
|
|
|
@@ -116,11 +116,11 @@ const handleReset = async () => {
|
|
|
const handleRestart = async () => {
|
|
|
try {
|
|
|
await ElMessageBox.confirm(
|
|
|
- 'This operation will restart the camera. Continue?',
|
|
|
- 'Note',
|
|
|
+ t('popup.reboot_tips'),
|
|
|
+ t('popup.note'),
|
|
|
{
|
|
|
- confirmButtonText: 'OK',
|
|
|
- cancelButtonText: 'Cancel',
|
|
|
+ confirmButtonText: t('popup.confirm'),
|
|
|
+ cancelButtonText: t('popup.cancel'),
|
|
|
type: 'warning',
|
|
|
confirmButtonClass: 'el-button--danger'
|
|
|
}
|