From 4ac40d8b0102a355961877ed398b395d47e2a684 Mon Sep 17 00:00:00 2001 From: bludnic Date: Thu, 9 Jan 2025 01:05:30 +0000 Subject: [PATCH] feat(ipfs): localize image/file loading errors --- src/components/AChat/AChatAttachment/AChatFile.vue | 6 +++++- src/components/AChat/AChatAttachment/AChatImage.vue | 6 +++++- src/locales/en.json | 2 ++ src/locales/ru.json | 2 ++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/components/AChat/AChatAttachment/AChatFile.vue b/src/components/AChat/AChatAttachment/AChatFile.vue index 083ffaf90..9f1f4390b 100644 --- a/src/components/AChat/AChatAttachment/AChatFile.vue +++ b/src/components/AChat/AChatAttachment/AChatFile.vue @@ -9,7 +9,7 @@ - Failed to load the image + {{ t('chats.file_loading_error') }} @@ -60,6 +60,7 @@