From a1fc2556bb62ad96ebfe7ab6d4760962e4c3fb37 Mon Sep 17 00:00:00 2001 From: Razzmatazz Date: Tue, 12 Mar 2024 16:28:55 -0500 Subject: [PATCH 1/2] show key use count --- src/pages/player/index.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/player/index.js b/src/pages/player/index.js index da1570df3..d1a74c666 100644 --- a/src/pages/player/index.js +++ b/src/pages/player/index.js @@ -471,8 +471,13 @@ function Player() { } if (loadoutItem.upd?.Key) { const key = items.find(i => i.id === loadoutItem._tpl); - if (key && key.properties.uses) { - countLabel = `${key.properties.uses-loadoutItem.upd.Key.NumberOfUsages}/${key.properties.uses}`; + if (key) { + if (key.properties.uses) { + countLabel = `${key.properties.uses-loadoutItem.upd.Key.NumberOfUsages}/${key.properties.uses}`; + } else { + countLabel = loadoutItem.upd.Key.NumberOfUsages; + } + } } if (loadoutItem.upd?.Repairable) { From f1d58f131e271e39bd3a71a4a619b935477f5bf8 Mon Sep 17 00:00:00 2001 From: Razzmatazz Date: Tue, 12 Mar 2024 16:39:28 -0500 Subject: [PATCH 2/2] update polish translation of X --- src/translations/pl/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translations/pl/translation.json b/src/translations/pl/translation.json index 04817bca2..d2deaade8 100644 --- a/src/translations/pl/translation.json +++ b/src/translations/pl/translation.json @@ -52,7 +52,7 @@ "Tarkov.dev": "Tarkov.dev", "about-open-source-p": "<0>Cała platforma jest open source i skupia się wokół deweloperów. Cały kod jest dostępny na <1><0> GitHub.", "about-discord-p": "<0>Jeśli chcesz porozmawiać, zadać pytania lub poprosić o nowe funkcje, mamy serwer <1><0> Discord.", - "about-x-p": "<0>Obserwuj nas na <1><0> Xze dla wszystkich najnowszych aktualizacji.", + "about-x-p": "<0>Obserwuj nas na <1><0> X'ie dla wszystkich najnowszych aktualizacji.", "About": "O", "Contributors": "Współtwórcy", "Massive thanks to all the people who help build and maintain this project!": "Ogromne podziękowania dla wszystkich ludzi, którzy pomagają budować i utrzymywać ten projekt!",