mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
Merge branch 'main' into data-driven
This commit is contained in:
commit
d8f6a55ee4
2 files changed
+19
-13
No files matched your search
@@ -13,7 +13,7 @@
|
||||
"hp": "{value}од",
|
||||
"x": "x{value}",
|
||||
"percentage": "{value}%",
|
||||
"deg_s": "{value}град/c",
|
||||
"deg_s": "{value}°/c",
|
||||
"plus": "+{value}"
|
||||
},
|
||||
"gun_types": {
|
||||
@@ -37,8 +37,8 @@
|
||||
"d_1": "Вчора"
|
||||
},
|
||||
"branches": {
|
||||
"beta": "Beta",
|
||||
"development": "Development",
|
||||
"beta": "Бета",
|
||||
"development": "Розробка",
|
||||
"opentest": "Відкритий тест",
|
||||
"preview": "Preview",
|
||||
"production": "Production"
|
||||
@@ -340,8 +340,8 @@
|
||||
},
|
||||
"mixer": {
|
||||
"name": "Mixer",
|
||||
"button": "Mix and match",
|
||||
"description": "Mix tank modules",
|
||||
"button": "Змішувати та поєднувати",
|
||||
"description": "Змішані танкові модулі",
|
||||
"seo_description": "Mix and match hulls, turrets, and guns of tanks in World of Tanks Blitz",
|
||||
"screenshot": "Знімок екрану",
|
||||
"randomize": "Рандомізувати"
|
||||
@@ -501,11 +501,11 @@
|
||||
"tech_tree": {
|
||||
"title": "Звичайний",
|
||||
"battle": "1 бій",
|
||||
"battles": "{count} battles",
|
||||
"battles": "{count} битви",
|
||||
"route": "Route {index} of {count}"
|
||||
},
|
||||
"game_modes": {
|
||||
"title": "Game mode abilities"
|
||||
"title": "Здібності ігрового режиму"
|
||||
},
|
||||
"review": {
|
||||
"title": "Review videos",
|
||||
@@ -626,7 +626,7 @@
|
||||
"camouflageShootingStill": "Нерухомо",
|
||||
"camouflageShootingMoving": "У русі",
|
||||
"camouflageCaughtOnFire": "Caught on fire",
|
||||
"width": "Width",
|
||||
"width": "Ширина",
|
||||
"height": "Height",
|
||||
"length": "Length",
|
||||
"volume": "Volume",
|
||||
@@ -740,7 +740,7 @@
|
||||
}
|
||||
},
|
||||
"gallery": {
|
||||
"name": "Gallery",
|
||||
"name": "Галерея",
|
||||
"button": "Browse all",
|
||||
"description": "Blitz player avatars",
|
||||
"seo_description": "Усі World of Tanks Blitz аватари гравців",
|
||||
@@ -843,7 +843,7 @@
|
||||
"breakdown": {
|
||||
"name": "Breakdown",
|
||||
"options": {
|
||||
"width": "Width",
|
||||
"width": "Ширина",
|
||||
"height": "Height",
|
||||
"showTotal": "Show total",
|
||||
"listGap": "List gap",
|
||||
|
||||
@@ -90,15 +90,21 @@ function Content() {
|
||||
session.tracking && tankStatsB
|
||||
? deltaTankStats(session.player.stats, tankStatsB)
|
||||
.sort((a, b) => b.last_battle_time - a.last_battle_time)
|
||||
.map((entry) => {
|
||||
.flatMap((entry) => {
|
||||
if (!(entry.tank_id in tankDefinitions.tanks)) return [];
|
||||
|
||||
const tank = tankDefinitions.tanks[entry.tank_id];
|
||||
|
||||
if (!(tank.id in averageDefinitions.averages)) return [];
|
||||
|
||||
const average = averageDefinitions.averages[tank.id];
|
||||
|
||||
const composite = compositeStats(
|
||||
{ ...entry.all, battle_life_time: entry.battle_life_time },
|
||||
average?.mu!,
|
||||
average.mu!,
|
||||
);
|
||||
|
||||
return { tank, composite };
|
||||
return [{ tank, composite }];
|
||||
})
|
||||
: undefined,
|
||||
[session.tracking && session.player, tankStatsB],
|
||||
|
||||
Reference in new issue
Block a user