diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index ed8c7d4e..457106b6 100755
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -414,7 +414,11 @@
"resume_seeding": "Resume seeding",
"options": "Manage",
"extract": "Extract files",
- "extracting": "Extracting files…"
+ "extracting": "Extracting files…",
+ "network": "Network",
+ "peak": "Peak",
+ "seeds": "Seeds",
+ "peers": "Peers"
},
"settings": {
"downloads_path": "Downloads path",
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index 4a582ef8..f8da405c 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -414,7 +414,11 @@
"resume_seeding": "Continuar sembrando",
"options": "Administrar",
"extract": "Extraer archivos",
- "extracting": "Extrayendo archivos…"
+ "extracting": "Extrayendo archivos…",
+ "network": "Red",
+ "peak": "Pico",
+ "seeds": "Seeds",
+ "peers": "Peers"
},
"settings": {
"downloads_path": "Ruta de descarga",
diff --git a/src/locales/pt-BR/translation.json b/src/locales/pt-BR/translation.json
index 6702c310..0e85e8f8 100755
--- a/src/locales/pt-BR/translation.json
+++ b/src/locales/pt-BR/translation.json
@@ -402,7 +402,11 @@
"resume_seeding": "Semear",
"options": "Gerenciar",
"extract": "Extrair arquivos",
- "extracting": "Extraindo arquivos…"
+ "extracting": "Extraindo arquivos…",
+ "network": "Rede",
+ "peak": "Pico",
+ "seeds": "Seeds",
+ "peers": "Peers"
},
"settings": {
"downloads_path": "Diretório dos downloads",
diff --git a/src/locales/pt-PT/translation.json b/src/locales/pt-PT/translation.json
index e48e1458..9b5fb9cf 100644
--- a/src/locales/pt-PT/translation.json
+++ b/src/locales/pt-PT/translation.json
@@ -229,7 +229,13 @@
"seeding": "A semear",
"stop_seeding": "Parar de semear",
"resume_seeding": "Semear",
- "options": "Opções"
+ "options": "Opções",
+ "extract": "Extrair ficheiros",
+ "extracting": "A extrair ficheiros…",
+ "network": "Rede",
+ "peak": "Pico",
+ "seeds": "Seeds",
+ "peers": "Peers"
},
"settings": {
"downloads_path": "Local das transferências",
diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json
index 1cf7ae2f..a55e12f7 100644
--- a/src/locales/ru/translation.json
+++ b/src/locales/ru/translation.json
@@ -414,7 +414,11 @@
"resume_seeding": "Продолжить раздачу",
"options": "Управлять",
"extract": "Распаковать файлы",
- "extracting": "Распаковка файлов…"
+ "extracting": "Распаковка файлов…",
+ "network": "Сеть",
+ "peak": "Пик",
+ "seeds": "Seeds",
+ "peers": "Peers"
},
"settings": {
"downloads_path": "Путь загрузок",
diff --git a/src/renderer/src/pages/downloads/download-group.tsx b/src/renderer/src/pages/downloads/download-group.tsx
index bcecbc7c..7adec38b 100644
--- a/src/renderer/src/pages/downloads/download-group.tsx
+++ b/src/renderer/src/pages/downloads/download-group.tsx
@@ -358,7 +358,7 @@ function HeroDownloadView({
- {t("network")}:
+ {t("network")}
{isGameDownloading ? formatSpeed(downloadSpeed) : "0 B/s"}
@@ -371,37 +371,38 @@ function HeroDownloadView({
- {t("peak")}:
+ {t("peak")}
{peakSpeed > 0 ? formatSpeed(peakSpeed) : "0 B/s"}
- {game.download?.downloader === Downloader.Torrent &&
- isGameDownloading &&
- lastPacket &&
- (lastPacket.numSeeds > 0 || lastPacket.numPeers > 0) && (
-
-
-
- Seeds:{" "}
-
- {lastPacket.numSeeds}
-
- , Peers:{" "}
-
- {lastPacket.numPeers}
-
-
-
-
- )}
-
{game.download?.downloader && (
-
+
{DOWNLOADER_NAME[game.download.downloader]}
+ {game.download?.downloader === Downloader.Torrent &&
+ isGameDownloading &&
+ lastPacket &&
+ (lastPacket.numSeeds > 0 || lastPacket.numPeers > 0) && (
+
+ {t("seeds")}{" "}
+
+ {lastPacket.numSeeds}
+
+ , {t("peers")}{" "}
+
+ {lastPacket.numPeers}
+
+
+ )}
)}
@@ -436,6 +437,7 @@ export function DownloadGroup({
seedingStatus,
}: Readonly
) {
const { t } = useTranslation("downloads");
+ const navigate = useNavigate();
const userPreferences = useAppSelector(
(state) => state.userPreferences.value
@@ -867,12 +869,36 @@ export function DownloadGroup({
{downloadInfo.map(({ game, size, progress, isSeeding: seeding }) => {
return (
-
+
+
-
{game.title}
+
{DOWNLOADER_NAME[game.download!.downloader]}
diff --git a/src/renderer/src/pages/profile/profile-content/library-tab.tsx b/src/renderer/src/pages/profile/profile-content/library-tab.tsx
index 1bc78c05..be7c6061 100644
--- a/src/renderer/src/pages/profile/profile-content/library-tab.tsx
+++ b/src/renderer/src/pages/profile/profile-content/library-tab.tsx
@@ -87,12 +87,16 @@ export function LibraryTab({
{pinnedGames?.map((game) => (
- -
+
-
@@ -134,6 +138,9 @@ export function LibraryTab({
diff --git a/src/renderer/src/pages/profile/profile-content/user-library-game-card.tsx b/src/renderer/src/pages/profile/profile-content/user-library-game-card.tsx
index 81db6334..f3682170 100644
--- a/src/renderer/src/pages/profile/profile-content/user-library-game-card.tsx
+++ b/src/renderer/src/pages/profile/profile-content/user-library-game-card.tsx
@@ -25,16 +25,12 @@ import "./user-library-game-card.scss";
interface UserLibraryGameCardProps {
game: UserGame;
statIndex: number;
- onMouseEnter: () => void;
- onMouseLeave: () => void;
sortBy?: string;
}
export function UserLibraryGameCard({
game,
statIndex,
- onMouseEnter,
- onMouseLeave,
sortBy,
}: UserLibraryGameCardProps) {
const { userProfile, isMe, getUserLibraryGames } =
@@ -130,17 +126,12 @@ export function UserLibraryGameCard({
return (
<>
- - navigate(buildUserGameDetailsPath(game))}
title={isTooltipHovered ? undefined : game.title}
>
-