From 9c87964e1674bf89f8a9347b1967ff5899e14329 Mon Sep 17 00:00:00 2001 From: Moyasee Date: Tue, 30 Sep 2025 19:19:39 +0300 Subject: [PATCH] fix: added missing translations --- src/locales/en/translation.json | 8 +++++++- src/locales/ru/translation.json | 9 ++++++++- .../src/pages/game-details/modals/edit-game-modal.tsx | 4 ++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 93fd5b0a..327499d0 100755 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -70,7 +70,13 @@ "edit_game_modal_icon_resolution": "Recommended resolution: 256x256px", "edit_game_modal_logo_resolution": "Recommended resolution: 640x360px", "edit_game_modal_hero_resolution": "Recommended resolution: 1920x620px", - "edit_game_modal_assets": "Assets" + "edit_game_modal_assets": "Assets", + "edit_game_modal_drop_icon_image_here": "Drop icon image here", + "edit_game_modal_drop_logo_image_here": "Drop logo image here", + "edit_game_modal_drop_hero_image_here": "Drop hero image here", + "edit_game_modal_drop_to_replace_icon": "Drop to replace icon", + "edit_game_modal_drop_to_replace_logo": "Drop to replace logo", + "edit_game_modal_drop_to_replace_hero": "Drop to replace hero" }, "header": { "search": "Search games", diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json index 03413554..8992a4a0 100644 --- a/src/locales/ru/translation.json +++ b/src/locales/ru/translation.json @@ -67,7 +67,14 @@ "edit_game_modal_image_filter": "Изображение", "edit_game_modal_icon_resolution": "Рекомендуемое разрешение: 256x256px", "edit_game_modal_logo_resolution": "Рекомендуемое разрешение: 640x360px", - "edit_game_modal_hero_resolution": "Рекомендуемое разрешение: 1920x620px" + "edit_game_modal_hero_resolution": "Рекомендуемое разрешение: 1920x620px", + "edit_game_modal_assets": "Ресурсы", + "edit_game_modal_drop_icon_image_here": "Перетащите изображение иконки сюда", + "edit_game_modal_drop_logo_image_here": "Перетащите изображение логотипа сюда", + "edit_game_modal_drop_hero_image_here": "Перетащите изображение обложки сюда", + "edit_game_modal_drop_to_replace_icon": "Перетащите для замены иконки", + "edit_game_modal_drop_to_replace_logo": "Перетащите для замены логотипа", + "edit_game_modal_drop_to_replace_hero": "Перетащите для замены обложки" }, "header": { "search": "Поиск", diff --git a/src/renderer/src/pages/game-details/modals/edit-game-modal.tsx b/src/renderer/src/pages/game-details/modals/edit-game-modal.tsx index 691dfa7c..a31ce400 100644 --- a/src/renderer/src/pages/game-details/modals/edit-game-modal.tsx +++ b/src/renderer/src/pages/game-details/modals/edit-game-modal.tsx @@ -587,7 +587,7 @@ export function EditGameModal({ /> {isDragOver && (
- Drop to replace {assetType} + {t(`edit_game_modal_drop_to_replace_${assetType}`)}
)} @@ -610,7 +610,7 @@ export function EditGameModal({ >
- Drop {assetType} image here + {t(`edit_game_modal_drop_${assetType}_image_here`)}
)}