From 1ddfe4aba3ff16df9e5006051407d2488ffe4a59 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Fri, 9 May 2025 10:46:29 +0700
Subject: chore: toasts translation refactoring
---
web/html/inbounds.html | 4 ++--
web/html/modals/warp_modal.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
(limited to 'web/html')
diff --git a/web/html/inbounds.html b/web/html/inbounds.html
index cadcb95a..f632a5cc 100644
--- a/web/html/inbounds.html
+++ b/web/html/inbounds.html
@@ -978,7 +978,7 @@
openAddInbound() {
inModal.show({
title: '{{ i18n "pages.inbounds.addInbound"}}',
- okText: '{{ i18n "pages.inbounds.create"}}',
+ okText: '{{ i18n "create"}}',
cancelText: '{{ i18n "close" }}',
confirm: async (inbound, dbInbound) => {
await this.addInbound(inbound, dbInbound, inModal);
@@ -991,7 +991,7 @@
const inbound = dbInbound.toInbound();
inModal.show({
title: '{{ i18n "pages.inbounds.modifyInbound"}}',
- okText: '{{ i18n "pages.inbounds.update"}}',
+ okText: '{{ i18n "update"}}',
cancelText: '{{ i18n "close" }}',
inbound: inbound,
dbInbound: dbInbound,
diff --git a/web/html/modals/warp_modal.html b/web/html/modals/warp_modal.html
index 14426472..4bfb7ca1 100644
--- a/web/html/modals/warp_modal.html
+++ b/web/html/modals/warp_modal.html
@@ -3,7 +3,7 @@
:confirm-loading="warpModal.confirmLoading" :closable="true" :mask-closable="true"
:footer="null" :class="themeSwitcher.currentTheme">
- {{ i18n "pages.inbounds.create" }}
+ {{ i18n "create" }}
@@ -32,7 +32,7 @@
{{ i18n "pages.inbounds.update" }}
+ :loading="warpModal.confirmLoading">{{ i18n "update" }}
--
cgit v1.2.3