diff --git a/src/components/profile/profile-item.tsx b/src/components/profile/profile-item.tsx index be55643e..d29cdcf4 100644 --- a/src/components/profile/profile-item.tsx +++ b/src/components/profile/profile-item.tsx @@ -436,7 +436,7 @@ export const ProfileItem = (props: Props) => { open={confirmOpen} onOpenChange={setConfirmOpen} onConfirm={onDelete} - title={t(`Delete Profile ${name}?`)} + title={t('Delete Profile', { name })} description={t("This action cannot be undone.")} /> diff --git a/src/locales/en.json b/src/locales/en.json index 43cd38c6..abe9feb3 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -639,5 +639,10 @@ "AppHiddenTitle": "APP Hidden", "AppHiddenBody": "APP window hidden by hotkey", "Invalid Profile URL": "Invalid profile URL. Please enter a URL starting with http:// or https://", - "Saved Successfully": "Saved successfully" + "Saved Successfully": "Saved successfully", + "Connected": "Connected", + "Menu": "Menu", + "Add New Profile": "Add New Profile", + "Delete Profile": "Delete Profile {{name}}?", + "This action cannot be undone.": "This action cannot be undone." } diff --git a/src/locales/ru.json b/src/locales/ru.json index ca58c2a9..ff1dad66 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -588,5 +588,10 @@ "TUN requires Service Mode or Admin Mode": "TUN режим требует Режима Службы или прав Администратора", "Menu": "Меню", "Proxy enabled": "Прокси включено", - "Proxy disabled": "Прокси выключено" + "Proxy disabled": "Прокси выключено", + "Connecting...": "Подключение...", + "Disconnecting...": "Отключение...", + "Add New Profile": "Добавить новый профиль", + "Delete Profile": "Удалить профиль {{name}}?", + "This action cannot be undone.": "Это действие не может быть отменено" }