From 6e914caabcdefb514d0402d3e3b004394fd02da3 Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Mon, 23 Dec 2024 05:15:54 +0300 Subject: [PATCH] refactor: translate error to russia --- src/pages/schedule/schedule.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/schedule/schedule.component.ts b/src/pages/schedule/schedule.component.ts index a058a1c..0c2534c 100644 --- a/src/pages/schedule/schedule.component.ts +++ b/src/pages/schedule/schedule.component.ts @@ -165,7 +165,7 @@ export class ScheduleComponent { protected openDialog() { if (this.lastRequest == null) { - this.notify.error("It is not possible to make an import request because the table data has not been selected", "Import error"); + this.notify.error("Запрос на импорт невозможен, поскольку данные таблицы не были выбраны", "Ошибка импорта"); return; } const dialogRef = this.dialog.open(ConfirmDialogComponent); @@ -185,7 +185,7 @@ export class ScheduleComponent { }, error: _ => { this.excelImportLoader = false; - this.notify.error("Failed to import Excel file"); + this.notify.error("Не удалось импортировать файл Excel"); } }); }