Compare commits

...
7 Commits
Author SHA1 Message Date
TrèsAbhi 1e996cb970 New Crowdin updates (#172) 2025-10-04 22:15:25 -05:00
TrèsAbhi 8639b31b8f feat: logs 2025-10-04 22:13:50 -05:00
TrèsAbhi 889a92e98b fix: lighting toggler no longer fires on unload 2025-10-04 22:05:36 -05:00
TrèsAbhi e7fe3a4baf fix: signs of tankiopedia transofmr controls 2025-10-04 22:02:24 -05:00
TrèsAbhi ab10343704 fix: clearer controls of tankoepdia 2025-10-04 21:53:18 -05:00
TrèsAbhi 9412be2d7c feat: filter owned tanks 2025-10-04 21:35:12 -05:00
TrèsAbhi 66cf590f1c fix: hook call outside parent hook 2025-10-04 21:33:28 -05:00
24 changed files with 1244 additions and 1265 deletions

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# BlitzKit 1.28.3
## Features
- Turrets and guns can now be rotated in Mixer without any pitch or yaw limits
- Added nation icons to the search results for Guesser
- The table now occupies the whole screen in Compare
- Added the ability to log in with a Wargaming account in the navbar
- Added owned/unowned filters in the Tankopedia filters
- Revamped Tankopedia quick controls to be more accessible and obvious
## Fixes
- Missing tank icons across the website have been fixed
- Events of starting and stopping of the transform tanks now use an asynchronous event instead of a reactive state, making them faster
- Removed a hook call on root context, speeding up load times
- Tankopedia's pitch input now follows the same sign convention as the pitch and yaw visualizer
- Shadows are no longer disabled when the scene is unloaded when the user scrolls away from the canvas
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "blitzkit",
"private": true,
"version": "1.28.2",
"version": "1.28.3",
"description": "🎉 Tools for everything World of Tanks Blitz",
"type": "module",
"types": "./types.d.ts",
+1 -1
View File
@@ -750,6 +750,7 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "Clear filters",
"login": "Login to use this",
"search_bar_hint": "Search tanks...",
"recent": "Recently viewed",
"select_all": "Select all",
@@ -968,7 +969,6 @@
},
"advanced": "Advanced highlighting",
"shooter": "Shooter:",
"shot_card": {
"element": {
+76 -93
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "test",
"long": "Esta es una cadena de prueba larga. NO DEBES verla NUNCA en la interfaz de usuario. Mi fruta favorita es %s1 porque tiene el color %s2. ¡Me gusta tanto que diré su nombre 3 veces! ¡ %s1! ¡ %s1! ¡ %s1! Una vez más, es %s2, no %s3.",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "El rápido zorro marrón salta sobre el perro perezoso."
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1m",
"mm": "%s1mm",
"deg": "%s1°",
"hp": "%s1pv",
"x": "x%s1",
"percentage": "%s1%",
"deg_s": "%s1°/s"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "Auto cargador",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# No se pudo encontrar el clan\nNo se pudo encontrar \"%s\". Prueba seleccionando un clan de los resultados de búsqueda.",
"player_not_found": "# No se pudo encontrar el usuario\nNo pude encontrar al usuario \"%s\". Prueba eligiendo un usuario de los resultados de búsqueda, escribiendo un nombre de usuario aceptable o usando el comando `/vincular`.",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "# Usa `/vincular` para empezar\n¡No sé quién eres, pero puedes decírmelo hoy!",
"tank_name_not_found": "# No se pudo encontrar el tanque\nNo se pudo encontrar el tanque con el nombre \"%s\".",
"tank_id_not_found": "# Tanque no encontrado\nNo se pudo encontrar al tanque del ID \"%s\". Prueba escribiendo el nombre del tanque en vez de un número.",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# No hay estadísticas de tanque disponibles\nEste jugador no tiene estadísticas disponibles. Este podría no ser el jugador que estás buscando.",
"get_help": "Servidor de ayuda de Discord",
"uncaught_error": "# ¡Blitzkrieg sufrió un error!\nLo sentimos mucho. Siéntete libre de [unirte al servidor oficial de Discord](https://discord.gg/nDt7AjGJQH) para obtener ayuda.",
@@ -284,19 +284,19 @@
"name": "tier",
"description": "Nivel",
"choices": {
"tier": "Nivel %s - %s"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "Carrera",
"today": "Hoy",
"days": "%s días",
"custom": "%s - %s días"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "Sin filtros",
"tier": "Nivel %s"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "No hay batallas jugadas en este período",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "subasta",
"description": "Tanques disponibles ahora mismo en la subasta",
"body": {
"title": "Subasta Blitz",
"subtitle": "%s disponible • siguientes precios %s\nPujar ahora: %s",
"next": "Siguiente precio: %s",
"available": "Disponible: %s / %s"
},
"errors": {
"no_auction": "# No hay ninguna subasta\nActualmente no hay tanques disponibles para comprar en la subasta. Si crees que esto es un error, por favor, reporta esta discrepancia en [el servidor oficial de Discord](https://discord.gg/nDt7AjGJQH)."
},
"actions": {
"bid": "Pujar ahora"
}
},
"replay": {
"name": "repetición",
"description": "Mostrar resultados de la repetición"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "Investigar",
"total": "Total",
"research": "Investigar: %s",
"upgrades": "Mejoras: %s",
"purchase": "Comprar: %s",
"equipment": "Equipamiento: %s",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# ¡Esto es una estimación!\n\nEsta lista podría incluir tanques ya investigados debido a la información errónea que proporciona Wargaming. Si puedes, prueba proporcionando un `tanque-inicial` de la línea al usar el comando."
},
"errors": {
"non_tech_tree": "# %s no está en el árbol tecnológico\n\nNo puedes investigar un tanque prémium o coleccionista.",
"tier_1": "# %s es un nivel I\n\nLos tanque de nivel I están siempre desbloqueados gratuitamente para todos los jugadores.",
"already_researched": "# %s ya está investigado\n\nPrueba proporcionando un `tanque-inicial` al usar el comando para ver los totales para una línea que ya has investigado.",
"start_end_equal": "# %s fue proporcionado dos veces\n\nAsegúrate de que `tanque-inicial` y `tanque-objetivo` son diferentes.",
"tanks_not_on_line": "# %s y %s no están en la misma línea\n\nAsegúrate de que `tanque-inicial` y `tanque-objetivo` están en la misma línea del árbol tecnológico.",
"unordered": "# %s de nivel superior a %s\n\nAsegúrate de proporcionar %s como el `tanque-inicial` en su lugar ya que es el tanque de nivel inferior."
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "Tasa de victorias",
"damage": "Daño",
"unknown_tank": "Tanque desconocido %s"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "umbral",
"description": "El número de días inactivo (predeterminado: %s días)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "Inactivo por %s+ días",
"listing": "%s días"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "Cuentas vinculadas",
"no_role_permissions": {
"title": "%s1 no se pudo verificar",
"title": "{name} failed to verify",
"description": "No tengo permiso para administrar roles."
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "límite",
"description": "El número máximo de resultados de clanes (predeterminado: %s)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "Búsqueda del clan %s en la región %s",
"title": "Clan search for {search} in region {region}",
"no_results": "No se encontraron clanes"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "límite",
"description": "El número máximo para resultados de jugador (predeterminado: %s)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "Búsqueda del jugador %s en la región %s",
"title": "Player search for {search} in region {region}",
"no_results": "No se encontraron jugadores"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "limite",
"description": "Cuántos vecinos a mostrar (predeterminado: %s)"
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "temporada",
"description": "Número de temporada (predeterminado: actual)",
"choices": {
"current": "%s (actual)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "Mejores %s jugadores",
"no_participation": "# %s no jugó clasificatoria en la temporada %s\n\nEste jugador no participó en esta temporada o no pasó de la calibración.",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "# No hay temporada en curso\n\nActualmente no hay ninguna temporada de clasificatoria.",
"deleted_player": "%s eliminado",
"deleted_player": "Deleted {id}",
"neighbors": "Vecinos de clasificatoria",
"more": "+ %s más"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "tanques en propiedad",
"description": "Muestra todos los tanques propios en un nivel",
"body": {
"title": "# Tanques de %s de nivel %s\n\n"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "permisos",
"description": "Comprueba si el bot tiene los permisos requeridos para funcionar",
"body": {
"title": "# Permisos\n\n%s",
"title": "# Permissions\n\n{body}",
"view_channels": "Ver canales: necesario para encontrar el mensaje en el cual el botón \"actualizar\" fue usado",
"read_message_history": "Leer historial de mensajes: necesario para encontrar el mensaje a actualizar",
"attach_files": "Adjuntar archivos: necesario para añadir imágenes a los comandos basados en estas",
@@ -601,7 +585,7 @@
"description": "Comprueba si el bot está vivo.",
"body": {
"pong": "Pong 🏓",
"pong_with_time": "Pong 🏓 - %s1ms"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "info del jugador",
"description": "Información básica sobre un jugador",
"body": {
"title": "Información de %s",
"title": "{name}'s information",
"nickname": "Apodo",
"battles": "Batallas",
"winrate": "Tasa de victorias",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s no ha jugado clasificatoria\n\nEste jugador no ha participado en el modo clasificatoria esta temporada.",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# Estadísticas no disponibles actualmente\n\nWargaming podría estar sufriendo una caída del servidor. Si hay alguna temporada en curso, las estadísticas deberían estar disponibles en 24 horas."
}
}
@@ -675,12 +659,13 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "Clear filters",
"login": "Login to use this",
"search_bar_hint": "Buscar tanques...",
"recent": "Visto recientemente",
"select_all": "Seleccionar todo",
"count_singular": "1 tanque",
"count_plural": "%s1 tanques",
"sorting_by": "Ordenar por %s1",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "No se encontraron tanques.",
"search_again": "Intenta buscar de nuevo.",
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "Por %s1 ❤️"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "Tanques populares",
"subtitle": "Últimos %s1 días"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "Otros proyectos interesantes"
},
"help_translate": "¡Por favor ayuda a traducir %s1 a %s2!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "Herramientas para todo lo que es World of Tanks Blitz"
},
"docs": {
@@ -795,7 +780,7 @@
"next": "Next",
"no_results": "Sin resultados"
},
"stats": "%s1 / %s2 guessed correctly"
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "Search a stat...",
@@ -803,8 +788,8 @@
"button": "Encuentra tanques",
"description": "Enciclopedia de tanques de WOTB",
"seo_description": "Estadísticas, armaduras y más para todos los tanques en World of Tanks Blitz",
"tank_seo_title": "%s1 - Nivel %s2 %s3 %s4 | %s5 Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "%s1 blindaje, estadisticas, equipamiento, proviciones y mas.\n%s2 DPM, %3hp alfa, %s4mm penetracion, %s5kph velocidad maxima, %s6 hp salud",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "Skip"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "Camo",
"percentage": "%s1%",
"ghost_factory": "Ghost Factory",
"dead_rail": "Dead Rail"
},
@@ -873,7 +857,6 @@
"reset": "Restablecer"
},
"advanced": "Resaltado avanzado",
"shooter": "Tirador:",
"shot_card": {
"element": {
"primary": "Primario",
@@ -884,15 +867,15 @@
"track": "Orugas"
},
"status": {
"penetration": "%s1pv penetracion",
"penetration": "{damage}hp penetration",
"blocked": "Bloqueado",
"ricochet": "Rebote",
"splash": "%s1pv splash"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "%s1mm %s2°",
"nominal": "%s1mm nominal",
"ricochet_loss": "%s1% penetracion"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "Árbol tecnológico",
"battle": "1 batalla",
"battles": "%s1 batallas",
"route": "Ruta %s1 de %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "Habilidades del modo de juego"
},
"review": {
"title": "Vídeos de reseña",
"join": "Aplica para el programa de YouTube de %s1"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "",
@@ -974,15 +957,15 @@
"title": "Características",
"compare": {
"label": "Comparar con",
"class": "Nivel %s1 - %s2",
"tier": "Todos de nivel %s1",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "Todos los tanques"
},
"values": {
"shell_index": "Proyectil %s1",
"at_distance": "A %s1m",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "Distancia",
"dispersion_at_distance": "Dispersión a %s1m",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "Flexibilidad del arma",
"speed": "Velocidad",
"terrain_coefficients": "Coeficientes de terreno",
@@ -1131,9 +1114,9 @@
"description": "Estadísticas de rendimiento del tanque",
"seo_description": "Los mejores tanques y su rendimiento en World of Tanks Blitz",
"estimation": {
"body": "Estadísticas estimadas basadas en %s1 jugadores. Actualizado hace %s2.",
"hours": "%s1 horas",
"minutes": "%s1 minutos"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "Contador de jugadores"
@@ -1165,10 +1148,10 @@
"button": "Explorar todo",
"description": "Avatares para los jugadores de WOTB",
"seo_description": "Todos los avatares del jugador en World of Tanks Blitz",
"last_updated": "Última actualización el %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "Buscar avatares...",
"results": "%s1 avatares"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "No se encontraron jugadores"
},
"controls": {
"title": "Siguiendo a %s1",
"subtitle": "Desde %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "Restablecer",
"change": "Change"
},
@@ -1244,7 +1227,7 @@
"cancel": "Cancelar",
"success": {
"title": "Copiar URL",
"info": "Se generó la URL para %s1. El embebido comenzará a rastrear tan pronto como se pegue. Restablece en cualquier momento haciendo clic derecho en PC o manteniendo presionado en móvil y luego seleccionando \"Restablecer\".",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "Volver",
"copy": "Copiar URL"
}
+76 -93
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "teste",
"long": "Ceci est une longue chaîne de test. Vous ne DEVEZ JAMAIS le voir dans l'interface utilisateur. Mon fruit préféré est %s1, car il a la couleur %s2. Je l'aime tellement que je vais dire son nom 3 fois ! %s1! %s1! %s1 ! Encore une fois, c'est %s2, pas %s3.",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "Le renard brun et rapide saute par-dessus le chien paresseux."
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1m",
"mm": "%s1mm",
"deg": "%s1°",
"hp": "%s1ps",
"x": "x%s1",
"percentage": "%s1%",
"deg_s": "%s1°/s"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "Chargement auto",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# Impossible de trouver le clan\nImpossible de trouver «%s1 ». Essayez de sélectionner un clan dans le résultat de la recherche.",
"player_not_found": "# Impossible de trouver l'utilisateur\nJe n'ai pas pu trouver l'utilisateur \"%s1\". Essayez de choisir un utilisateur dans le résultat de la recherche, en tapant un nom d'utilisateur valide, ou en utilisant la commande `/link`.",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "# Utilisez `/link` pour commencer\nJe ne sais pas qui vous êtes, mais vous pouvez me le dire aujourd'hui !",
"tank_name_not_found": "Impossible de trouver le char sous le nom \"%s1\".",
"tank_id_not_found": "# Réservoir introuvable\nImpossible de trouver le char avec l'ID \"%s1\". Essayez de taper le nom du char au lieu d'un nombre.",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# Aucune statistique de tank disponible\nCe joueur n'a pas de statistiques disponibles. Ce n'est peut-être pas le joueur que vous cherchez.",
"get_help": "Aidez le serveur Discord",
"uncaught_error": "# Blitzkit a rencontré une erreur !\nNous sommes désolés de cela. N'hésitez pas à [rejoindre le serveur officiel Discord](https://discord.gg/nDt7AjGJQH) pour obtenir de l'aide.",
@@ -284,19 +284,19 @@
"name": "rang",
"description": "Rang",
"choices": {
"tier": "Rang %s1 - %s2"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "Carrière",
"today": "Aujourd'hui",
"days": "%s1 jour",
"custom": "%s1 - %s2 jours"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "Aucun filtre",
"tier": "Rang %s1"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "Char cible",
"description": "Des chars sont disponibles dès maintenant dans la vente aux enchères",
"body": {
"title": "Enchères Blitz",
"subtitle": "%s1 disponible • prochains prix %s2\nOffre : %s3",
"next": "Prochain prix : %s1",
"available": "Disponible : %s1 / %s2"
},
"errors": {
"no_auction": "# Pas de vente aux enchères\n\nActuellement, il n'y a pas de chars disponibles à l'achat dans la vente aux enchères. Si vous pensez qu'il s'agit d'une erreur, veuillez signaler cette anomalie dans [le serveur officiel Discord](https://discord.gg/nDt7AjGJQH)."
},
"actions": {
"bid": "Enchérir maintenant"
}
},
"replay": {
"name": "rejouer",
"description": "Afficher les résultats de la relecture"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "Recherche",
"total": "Total",
"research": "Recherche: %s1",
"upgrades": "Améliorations : %s1",
"purchase": "Achat : %s1",
"equipment": "Equipment: %s1",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# Ceci est une estimation !\n\nCette liste peut inclure des chars déjà recherchés en raison de l'information inexacte fournie par Wargaming. Essayez de fournir un `char de départ` depuis la ligne lorsque vous utilisez la commande si vous le pouvez."
},
"errors": {
"non_tech_tree": "# %s1 n'est pas dans l'arbre technologique\n\nVous ne pouvez pas rechercher un char prenium/de collection.",
"tier_1": "# %s1 est un char de tier I\n\nLe char de tier 1 sont déverrouillé gratuitement pour tous les joueurs.",
"already_researched": "# %s1 est déjà recherché\n\nEssayez de fournir un `char de départ` en utilisant la commande pour voir la progression d'une lignée.",
"start_end_equal": "# %s1 a été fourni deux fois\n\nAssurez-vous que `starting-tank` et `target-tank` sont différents.",
"tanks_not_on_line": "%s1 et %s2 ne sont pas sur la même ligne \n\nAssurez-vous que « starting-tank » et « target-tank » sont sur la même ligne d'arbre technologique.",
"unordered": "# %s1 niveau supérieur à %s2\n\nAssurez-vous de fournir %s3 comme le `starting-tank` à la place car c'est le réservoir de niveau inférieur."
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "Taux de victoires",
"damage": "Dégâts",
"unknown_tank": "Char %s1 inconnu"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "seuil",
"description": "Le nombre de jours inactifs (par défaut: %s1 jours)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "Inactif depuis %s1+ de jours",
"listing": "%s1 jour"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "Comptes liés",
"no_role_permissions": {
"title": "La vérification de %s1 a échoué",
"title": "{name} failed to verify",
"description": "Je n'ai pas l'autorisation de gérer les rôles."
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "limite",
"description": "Nombre maximum de résultats du clan (par défaut: %s1)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "Recherche de clan %s1 dans la région %s2",
"title": "Clan search for {search} in region {region}",
"no_results": "Pas de clan trouvé"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "limite",
"description": "Le nombre maximum de résultats de joueur (par défaut: %s1)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "Recherche de %s1 dans la région %s2",
"title": "Player search for {search} in region {region}",
"no_results": "Pas de joueur de trouvé"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "limite",
"description": "Combien de voisins afficher (par défaut : %s1)"
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "saison",
"description": "Numéro de saison (défaut : courant)",
"choices": {
"current": "%s1 (actuel)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "Top %s1 joueurs",
"no_participation": "%s1 n'a pas joué au classement dans la saison %s2",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "Pas de saison en cours\n\nIl n'y a pas de saison de notation en cours actuellement.",
"deleted_player": "%s1 supprimé",
"deleted_player": "Deleted {id}",
"neighbors": "évaluer les voisins",
"more": "+ %s1 de plus"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "chars possédés",
"description": "Affiche tous les chars d'un niveau",
"body": {
"title": "# %s1 possédait des chars de rang %s2"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "permissions",
"description": "Vérifie si le bot a les permissions nécessaires pour fonctionner",
"body": {
"title": "# Permissions\n\n%s1",
"title": "# Permissions\n\n{body}",
"view_channels": "Afficher les canaux : nécessaire pour trouver le message sur lequel le bouton d'actualisation a été utilisé",
"read_message_history": "Lire l'historique des messages : nécessaire pour trouver le message à rafraîchir",
"attach_files": "Joindre des fichiers : nécessaire pour ajouter des images à des commandes basées sur l'image",
@@ -601,7 +585,7 @@
"description": "Vérifiez si le bot est en vie.",
"body": {
"pong": "Pong 🏓",
"pong_with_time": "Pong 🏓 - %s1ms"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "info-joueur",
"description": "Informations de base sur un joueur",
"body": {
"title": "Informations de %s1",
"title": "{name}'s information",
"nickname": "Nickname",
"battles": "Batailles",
"winrate": "Taux de victoires",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s1 hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# Statistics currently unavailable\n\nWargaming may be currently be facing server downtime. If there is an on-going season, statistics should be available withing 24 hours."
}
}
@@ -675,12 +659,13 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "Clear filters",
"login": "Login to use this",
"search_bar_hint": "Search tanks...",
"recent": "Recently viewed",
"select_all": "Select all",
"count_singular": "1 tank",
"count_plural": "%s1 tanks",
"sorting_by": "Sorting by %s1",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "No tanks found.",
"search_again": "Try searching again.",
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "By %s1 ❤️"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "Popular tanks",
"subtitle": "Last %s1 days"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "Other cool projects"
},
"help_translate": "Please help translate %s1 to %s2!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "Tools for everything World of Tanks Blitz"
},
"docs": {
@@ -795,7 +780,7 @@
"next": "Next",
"no_results": "No results"
},
"stats": "%s1 / %s2 guessed correctly"
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "Search a stat...",
@@ -803,8 +788,8 @@
"button": "Find tanks",
"description": "Blitz tank encyclopedia",
"seo_description": "Statistics, armor, and more for all tanks in World of Tanks Blitz",
"tank_seo_title": "%s1 - Tier %s2 %s3 %s4 | %s5 Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "%s1 armor, statistics, equipment, provisions, and more. %s2 DPM, %s3hp alpha, %s4mm penetration, %s5kph top speed, %s6hp health.",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "Skip"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "Camo",
"percentage": "%s1%",
"ghost_factory": "Ghost Factory",
"dead_rail": "Dead Rail"
},
@@ -873,7 +857,6 @@
"reset": "Reset"
},
"advanced": "Advanced highlighting",
"shooter": "Shooter:",
"shot_card": {
"element": {
"primary": "Primary",
@@ -884,15 +867,15 @@
"track": "Tracks"
},
"status": {
"penetration": "%s1hp penetration",
"penetration": "{damage}hp penetration",
"blocked": "Blocked",
"ricochet": "Ricochet",
"splash": "%s1hp splash"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "%s1mm %s2°",
"nominal": "%s1mm nominal",
"ricochet_loss": "%s1% penetration"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "Arbre technologique",
"battle": "1 battle",
"battles": "%s1 battles",
"route": "Route %s1 of %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "Game mode abilities"
},
"review": {
"title": "Review videos",
"join": "Apply to %s1 YouTuber program"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "Configuration",
@@ -974,15 +957,15 @@
"title": "Characteristics",
"compare": {
"label": "Compare against",
"class": "Tier %s1 %s2",
"tier": "All of tier %s1",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "All tanks"
},
"values": {
"shell_index": "Shell %s1",
"at_distance": "At %s1m",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "Distance",
"dispersion_at_distance": "Dispersion at %s1m",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "Gun flexibility",
"speed": "Speed",
"terrain_coefficients": "Terrain coefficients",
@@ -1131,9 +1114,9 @@
"description": "Tank performance statistics",
"seo_description": "Best tanks and their performances in World of Tanks Blitz",
"estimation": {
"body": "Estimated stats based on %s1 players. Updated %s2 ago.",
"hours": "%s1 hours",
"minutes": "%s1 minutes"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "Player count"
@@ -1165,10 +1148,10 @@
"button": "Browse all",
"description": "Blitz player avatars",
"seo_description": "All World of Tanks Blitz player avatars",
"last_updated": "Last updated on %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "Search avatars...",
"results": "%s1 avatars"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "Pas de joueur de trouvé"
},
"controls": {
"title": "Tracking %s1",
"subtitle": "Since %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "Reset",
"change": "Change"
},
@@ -1244,7 +1227,7 @@
"cancel": "Cancel",
"success": {
"title": "Copy URL",
"info": "Generated the URL for %s1. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "Back",
"copy": "Copy URL"
}
+76 -93
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "test",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is %s1 because it has the color of %s2. I like it so much that I will say its name 3 times! %s1! %s1! %s1! Once again, it's %s2, not %s3.",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "すばしっこい茶色のキツネが怠け者の犬を飛び越した。"
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1m",
"mm": "%s1mm",
"deg": "%s1°",
"hp": "%s1hp",
"x": "x%s1",
"percentage": "%s1%",
"deg_s": "%s1°/s"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "自動装填砲",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# クランが見つかりませんでした\n\"%s1\"は見つかりませんでした。検索結果からクランを選択してください。",
"player_not_found": "# ユーザーが見つかりませんでした\nユーザー「\"%s1\"」は見つかりませんでした。検索結果からユーザーを選択するか、有効な名前を入力してください。`/link`コマンドを使用することも可能です。",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "# `/link`を使用して始めましょう\nはじめまして!あなたが誰か、私に教えてください。",
"tank_name_not_found": "# 車輌が見つかりませんでした\n\"%s1\"という名前の車輌は見つかりませんでした。",
"tank_id_not_found": "# 車輌が見つかりませんでした\n\"%s1\"というIDの車輌は見つかりませんでした。番号ではなく名前で検索してください。",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# 利用可能な車輌統計がありません\nこのプレイヤーには利用可能な統計がありません。あなたが探しているプレイヤーではない可能性があります。",
"get_help": "Discordサーバーに参加する",
"uncaught_error": "# BlitzKitがエラーに遭遇しました!\n申し訳ありません。お気軽に[公式Discordサーバー](https://discord.gg/nDt7AjGJQH)にお問い合わせください。",
@@ -284,19 +284,19 @@
"name": "tier",
"description": "Tier",
"choices": {
"tier": "Tier %s1 - %s2"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "Career",
"today": "Today",
"days": "%s1 days",
"custom": "%s1 - %s2 days"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "フィルターなし",
"tier": "Tier %s1"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "No battles played in this period",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "オークション",
"description": "現在オークションで購入可能な車輌",
"body": {
"title": "Blitzオークション",
"subtitle": "%s1 残り• 次の価格 %s2\n今すぐ入札: %s3",
"next": "次の価格: %s1",
"available": "残り: %s1 / %s2"
},
"errors": {
"no_auction": "# 進行中のオークションはありません\n現在、オークションで購入可能な車輌はありません。もしこれが間違いの場合、[公式Discardサーバー](https://discord.gg/nDt7AjGJQH)に報告してください。"
},
"actions": {
"bid": "今すぐ入札"
}
},
"replay": {
"name": "replay",
"description": "Display replay results"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "Research",
"total": "トータル",
"research": "Research: %s1",
"upgrades": "Upgrades: %s1",
"purchase": "Purchase: %s1",
"equipment": "Equipment: %s1",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# This is an estimation!\n\nThis list may include already researched tanks because of the inaccurate information Wargaming provides. Try providing a `starting-tank` from the line when using the command if you can."
},
"errors": {
"non_tech_tree": "# %s1 is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# %s1 is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# %s1 is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# %s1 was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# %s1 and %s2 are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# %s1 higher tiered to %s2\n\nMake sure to provide %s3 as the `starting-tank` instead as it is the lower tiered tank."
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "勝率",
"damage": "ダメージ",
"unknown_tank": "Unknown tank %s1"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "threshold",
"description": "The number of days inactive (default: %s1 days)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "Inactive for %s1+ days",
"listing": "%s1 days"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "Accounts linked",
"no_role_permissions": {
"title": "%s1 failed to verify",
"title": "{name} failed to verify",
"description": "I don't have the permission to manage roles."
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "limit",
"description": "The max number of clan results (default: %s1)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "Clan search for %s1 in region %s2",
"title": "Clan search for {search} in region {region}",
"no_results": "No clans found"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "limit",
"description": "The max number of player results (default: %s1)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "Player search for %s1 in region %s2",
"title": "Player search for {search} in region {region}",
"no_results": "No players found"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "limit",
"description": "How many neighbors to display (default: %s1)"
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "season",
"description": "Season number (default: current)",
"choices": {
"current": "%s1 (current)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "Top %s1 players",
"no_participation": "# %s1 didn't play rating in season %s2\n\nThis player did not participate in this season or did not get past calibration.",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "# No ongoing season\n\nThere isn't a currently running rating season.",
"deleted_player": "Deleted %s1",
"deleted_player": "Deleted {id}",
"neighbors": "Rating neighbors",
"more": "+ %s1 more"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "owned-tanks",
"description": "Shows all own tanks in a tier",
"body": {
"title": "# %s1's owned tier %s2 tanks\n\n"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "permissions",
"description": "Checks wether the bot has the required permissions to function",
"body": {
"title": "# Permissions\n\n%s1",
"title": "# Permissions\n\n{body}",
"view_channels": "View channels: needed to find the message the refresh button was used on",
"read_message_history": "Read message history: needed to find the message to refresh",
"attach_files": "Attach files: needed to add images to image-based commands",
@@ -601,7 +585,7 @@
"description": "Check wether the bot is alive.",
"body": {
"pong": "Pong 🏓",
"pong_with_time": "Pong 🏓 - %s1ms"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "player-info",
"description": "Basic information about a player",
"body": {
"title": "%s1's information",
"title": "{name}'s information",
"nickname": "Nickname",
"battles": "戦闘数",
"winrate": "勝率",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s1 hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# Statistics currently unavailable\n\nWargaming may be currently be facing server downtime. If there is an on-going season, statistics should be available withing 24 hours."
}
}
@@ -675,12 +659,13 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "Clear filters",
"login": "Login to use this",
"search_bar_hint": "車輌名を入力…",
"recent": "最近の閲覧",
"select_all": "全て選択",
"count_singular": "1 輌",
"count_plural": "%s1輌",
"sorting_by": ":%s1で並び替え",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "該当する車輌が存在しません。",
"search_again": "もう一度検索してください。",
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "By %s1 ❤️"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "人気の車輌",
"subtitle": "過去 %s1日間"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "他のプロジェクト"
},
"help_translate": "%s1の %s2への翻訳にご協力ください!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "World of Tanks Blitz全般のツール"
},
"docs": {
@@ -795,7 +780,7 @@
"next": "Next",
"no_results": "該当なし"
},
"stats": "%s1 / %s2 guessed correctly"
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "Search a stat...",
@@ -803,8 +788,8 @@
"button": "戦車を探す",
"description": "Blitz戦車百科",
"seo_description": "Statistics, armor, and more for all tanks in World of Tanks Blitz",
"tank_seo_title": "%s1 - Tier %s2 %s3 %s4 | %s5 Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "%s1 armor, statistics, equipment, provisions, and more. %s2 DPM, %s3hp alpha, %s4mm penetration, %s5kph top speed, %s6hp health.",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "Skip"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "Camo",
"percentage": "%s1%",
"ghost_factory": "Ghost Factory",
"dead_rail": "Dead Rail"
},
@@ -873,7 +857,6 @@
"reset": "リセット"
},
"advanced": "高度なハイライト",
"shooter": "自車両",
"shot_card": {
"element": {
"primary": "主装甲",
@@ -884,15 +867,15 @@
"track": "履帯"
},
"status": {
"penetration": "%s1hp 貫通",
"penetration": "{damage}hp penetration",
"blocked": "非貫通",
"ricochet": "跳弾",
"splash": "%s1hp 爆風ダメージ"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "%s1mm %s2°",
"nominal": "%s1mm 装甲",
"ricochet_loss": "%s1% penetration"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "技術ツリー",
"battle": "1 戦",
"battles": "%s1 戦",
"route": "ルート %s1 / %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "ゲームモードアビリティ"
},
"review": {
"title": "Review videos",
"join": "%s1 YouTuberプログラムに応募する"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "構成",
@@ -974,15 +957,15 @@
"title": "性能値",
"compare": {
"label": "比較対象",
"class": "Tier %s1 %s2",
"tier": "Tier %s1 全車輌",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "全車輌"
},
"values": {
"shell_index": "Shell %s1",
"at_distance": "At %s1m",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "距離",
"dispersion_at_distance": "%s1m での散布界",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "主砲旋回上限",
"speed": "最高速度",
"terrain_coefficients": "地形走破能力",
@@ -1131,9 +1114,9 @@
"description": "車輌の戦闘統計",
"seo_description": "Best tanks and their performances in World of Tanks Blitz",
"estimation": {
"body": "%s1 人のプレイヤーの推定統計。 %s2前に更新されました。",
"hours": "%s1 時間",
"minutes": "%s1 分"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "統計期間:"
@@ -1165,10 +1148,10 @@
"button": "全て見る",
"description": "Blitzアバター図鑑",
"seo_description": "World of Tanks Blitz の 全ての プレイヤーアバター",
"last_updated": "最終更新: %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "アバターを検索...",
"results": "検索結果: %s1 個"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "プレイヤーが見つかりませんでした"
},
"controls": {
"title": "%s1 を追跡中",
"subtitle": "開始日時: %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "リセット",
"change": "変更"
},
@@ -1244,7 +1227,7 @@
"cancel": "Cancel",
"success": {
"title": "Copy URL",
"info": "Generated the URL for %s1. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "戻る",
"copy": "Copy URL"
}
+76 -93
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "",
"long": "To jest długi ciąg testowy. NIGDY NIE ZOBACZYSZ tego w interfejsie użytkownika. Mój ulubiony owoc to %s1, ponieważ ma kolor %s2. Tak bardzo je lubię, że powiem ich nazwę 3 razy! %s1! %s1! %s1! Po raz kolejny to %s2, a nie %s3.",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "Szybki brązowy lis przeskoczył nad leniwym psem."
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1m",
"mm": "%s1mm",
"deg": "%s1°",
"hp": "%s1hp",
"x": "x%s1",
"percentage": "%s1%",
"deg_s": "%s1°/s"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "Auto loader",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# Nie można znaleźć klanu\nNie można znaleźć \"%s1\". Spróbuj wybrać klan z wyników wyszukiwania.",
"player_not_found": "# Nie można znaleźć użytkownika\nNie mogłem znaleźć użytkownika \"%s1\". Spróbuj wybrać użytkownika z wyniku wyszukiwania, wpisując poprawną nazwę użytkownika lub używając polecenia `/link`.",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "# Użyj `/link` aby zacząć\nNie wiem, kim jesteś, ale możesz mi dziś powiedzieć!",
"tank_name_not_found": "# Czołg nie został znaleziony\nNie można znaleźć czołgu o nazwie \"%s1\".",
"tank_id_not_found": "# Czołg nie został znaleziony\nNie można znaleźć czołgu o ID \"%s1\". Spróbuj wpisać nazwę czołgu zamiast liczby.",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# Brak dostępnych statystyk czołgów\nTen gracz nie ma żadnych dostępnych statystyk. Może to nie być gracz, którego szukasz.",
"get_help": "Pomóż serwerowi Discord",
"uncaught_error": "# BlitzKit wpadł w błąd!\nPrzepraszamy za to. Możesz [dołączyć do oficjalnego serwera Discord](https://discord.gg/nDt7AjGJQH), aby uzyskać pomoc.",
@@ -284,19 +284,19 @@
"name": "poziom",
"description": "Poziom",
"choices": {
"tier": "Poziom %s1 - %s2"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "Kariera",
"today": "Dzisiaj",
"days": "%s1 dzień",
"custom": "%s1 - %s2 dni"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "Brak filtrów",
"tier": "Poziom %s1"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "Brak bitew w tym okresie",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "aukcja",
"description": "Czołgi dostępne na aukcji",
"body": {
"title": "Aukcja Blitz",
"subtitle": "%s1 dostępne • następne ceny %s2\nOferta teraz: %s3",
"next": "Następna cena: %s1",
"available": "Dostępne: %s1 / %s2"
},
"errors": {
"no_auction": "# Brak bieżącej aukcji\n\nObecnie nie ma dostępnych czołgów do zakupu na aukcji. Jeśli uważasz, że to błąd, zgłoś go na [oficjalnym serwerze Discord](https://discord.gg/nDt7AjGJQH)."
},
"actions": {
"bid": "Oferta teraz"
}
},
"replay": {
"name": "powtórz",
"description": "Wyświetl wyniki powtórki"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "Rozpocznij badania",
"total": "Całkowity",
"research": "Badanie: %s1",
"upgrades": "Ulepszenie: %s1",
"purchase": "Zakup: %s1",
"equipment": "Wyposażenie: %s1",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# To jest szacunek!\n\nTa lista może zawierać już zbadane czołgi z powodu niedokładnych informacji dostarczanych przez Wargaming. Spróbuj podać `starting-tank` z wiersza podczas używania polecenia, jeśli możesz."
},
"errors": {
"non_tech_tree": "# %s1 nie jest na drzewie technologii\n\nNie możesz zbadać czołg premium/kolekcjonerski.",
"tier_1": "# %s1 jest czołgami poziomu I\n\nPoziom I są zawsze odblokowane za darmo dla wszystkich graczy.",
"already_researched": "# %s1 jest już zbadany\n\nSpróbuj podać `starting-tank` gdy użyjesz komendy aby zobaczyć sumy dla linii, którą już zbadałeś.",
"start_end_equal": "# %s1 został dostarczony dwa razy\n\nUpewnij się, że `starting-tank` i `target-tank` są inne.",
"tanks_not_on_line": "# %s i %s nie znajdują się w tej samej linii\n\nUpewnij się, że `starting-tank` i `target-tank` znajdują się na tej samej linii drzewa technicznego.",
"unordered": "# %s1 wyższy stopień %s2\n\nUpewnij się, że zamiast tego %s3 jest `starting-tank`, ponieważ jest tierowo niższym czołgiem."
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "Śr. wygranych",
"damage": "Uszkodzenia",
"unknown_tank": "Nieznany czołg %s1"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "threshold",
"description": "Liczba dni nieaktywnych (domyślnie: %s dni)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "Inactive for %s1+ days",
"listing": "%s1 dzień"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "Accounts linked",
"no_role_permissions": {
"title": "%s1 failed to verify",
"title": "{name} failed to verify",
"description": "I don't have the permission to manage roles."
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "limit",
"description": "The max number of clan results (default: %s1)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "Clan search for %s1 in region %s2",
"title": "Clan search for {search} in region {region}",
"no_results": "No clans found"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "limit",
"description": "Maksymalna liczba wyników gracza (domyślnie: %s)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "Player search for %s1 in region %s2",
"title": "Player search for {search} in region {region}",
"no_results": "No players found"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "limit",
"description": "How many neighbors to display (default: %s1)"
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "season",
"description": "Season number (default: current)",
"choices": {
"current": "%s1 (current)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "Top %s1 players",
"no_participation": "# %s1 didn't play rating in season %s2\n\nThis player did not participate in this season or did not get past calibration.",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "# No ongoing season\n\nThere isn't a currently running rating season.",
"deleted_player": "Usunięto %s1",
"deleted_player": "Deleted {id}",
"neighbors": "Rating neighbors",
"more": "+ %s1 więcej"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "posiadane czołgi",
"description": "Pokazuje wszystkie własne czołgi na poziomie",
"body": {
"title": "# %s1 posiadany poziom %s2 czołgi\n\n"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "uprawnienia",
"description": "Sprawdza, czy bot ma wymagane uprawnienia do funkcji",
"body": {
"title": "# Uprawnienia\n\n%s1",
"title": "# Permissions\n\n{body}",
"view_channels": "Wyświetl kanały: potrzebne do znalezienia wiadomości użyty przycisk odświeżania",
"read_message_history": "Przeczytaj historię wiadomości: potrzebne do znalezienia wiadomości do odświeżenia",
"attach_files": "Dołącz pliki: potrzebne do dodawania obrazów do komend opartych na obrazach",
@@ -601,7 +585,7 @@
"description": "Sprawdź, czy bot żyje.",
"body": {
"pong": "Pong 🏓",
"pong_with_time": "Pong 🏓 - %s1ms"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "informacje o graczu",
"description": "Podstawowe informacje o graczu",
"body": {
"title": "Informacje o %s1",
"title": "{name}'s information",
"nickname": "Nick",
"battles": "Bitwy",
"winrate": "Śr. wygranych",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s1 nie grał w \n\nTen gracz nie uczestniczył w grze oceniającej w tym sezonie.",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# Statistics currently unavailable\n\nWargaming may be currently be facing server downtime. If there is an on-going season, statistics should be available withing 24 hours."
}
}
@@ -675,12 +659,13 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "Clear filters",
"login": "Login to use this",
"search_bar_hint": "Search tanks...",
"recent": "Recently viewed",
"select_all": "Select all",
"count_singular": "1 tank",
"count_plural": "%s1 tanks",
"sorting_by": "Sorting by %s1",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "No tanks found.",
"search_again": "Try searching again.",
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "By %s1 ❤️"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "Popular tanks",
"subtitle": "Last %s1 days"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "Other cool projects"
},
"help_translate": "Please help translate %s1 to %s2!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "Tools for everything World of Tanks Blitz"
},
"docs": {
@@ -795,7 +780,7 @@
"next": "Next",
"no_results": "Brak wyników"
},
"stats": ""
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "Search a stat...",
@@ -803,8 +788,8 @@
"button": "Find tanks",
"description": "Blitz tank encyclopedia",
"seo_description": "Statistics, armor, and more for all tanks in World of Tanks Blitz",
"tank_seo_title": "%s1 - Tier %s2 %s3 %s4 | %s5 Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "%s1 armor, statistics, equipment, provisions, and more. %s2 DPM, %s3hp alpha, %s4mm penetration, %s5kph top speed, %s6hp health.",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "Skip"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "Camo",
"percentage": "%s1%",
"ghost_factory": "Ghost Factory",
"dead_rail": "Dead Rail"
},
@@ -873,7 +857,6 @@
"reset": "Reset"
},
"advanced": "Advanced highlighting",
"shooter": "Shooter:",
"shot_card": {
"element": {
"primary": "Primary",
@@ -884,15 +867,15 @@
"track": "Tracks"
},
"status": {
"penetration": "%s1hp penetration",
"penetration": "{damage}hp penetration",
"blocked": "Blocked",
"ricochet": "Ricochet",
"splash": "%s1hp splash"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "%s1mm %s2°",
"nominal": "%s1mm nominal",
"ricochet_loss": "%s1% penetration"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "Tech tree",
"battle": "1 battle",
"battles": "%s1 battles",
"route": "Route %s1 of %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "Game mode abilities"
},
"review": {
"title": "Review videos",
"join": "Apply to %s1 YouTuber program"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "Configuration",
@@ -974,15 +957,15 @@
"title": "Characteristics",
"compare": {
"label": "Compare against",
"class": "Tier %s1 %s2",
"tier": "All of tier %s1",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "All tanks"
},
"values": {
"shell_index": "Shell %s1",
"at_distance": "At %s1m",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "Distance",
"dispersion_at_distance": "Dispersion at %s1m",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "Gun flexibility",
"speed": "Speed",
"terrain_coefficients": "Terrain coefficients",
@@ -1131,9 +1114,9 @@
"description": "Tank performance statistics",
"seo_description": "Best tanks and their performances in World of Tanks Blitz",
"estimation": {
"body": "Estimated stats based on %s1 players. Updated %s2 ago.",
"hours": "%s1 hours",
"minutes": "%s1 minutes"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "Player count"
@@ -1165,10 +1148,10 @@
"button": "Browse all",
"description": "Blitz player avatars",
"seo_description": "All World of Tanks Blitz player avatars",
"last_updated": "Last updated on %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "Search avatars...",
"results": "%s1 avatars"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "No players found"
},
"controls": {
"title": "Tracking %s1",
"subtitle": "Since %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "Reset",
"change": "Change"
},
@@ -1244,7 +1227,7 @@
"cancel": "Cancel",
"success": {
"title": "Copy URL",
"info": "Generated the URL for %s1. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "Back",
"copy": "Copy URL"
}
+76 -93
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "teste",
"long": "Esta é uma sequência de testes longa. Você NUNCA DEVE ver isto na UI. Minha fruta favorita é %s1 porque tem a cor de %s2. Eu gosto tanto dela que vou dizer o nome dela 3 vezes! %s1! %s1! %s1! Mais uma vez, é %s2, não %s3.",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "A ágil raposa castanha salta por cima do cão preguiçoso."
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1m",
"mm": "%s1mm",
"deg": "%s1°",
"hp": "%s1hp",
"x": "x%s1",
"percentage": "%s1%",
"deg_s": "%s1°/s"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "Autocarregador",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# Não foi possível encontrar o clã\nNão foi possível encontrar \"%s1\". Tente selecionar um clã do resultado de pesquisa.",
"player_not_found": "# Não foi possível encontrar o usuário\nEu não consegui encontrar o usuário \"%s1\". Tente escolher um usuário do resultado de pesquisa, digitando um nome de usuário válido, ou usando o comando `/link`.",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "Digite \"/link\" para começar.\nEu posso não saber quem é você, mas pode-me dizer hoje sobre isso!",
"tank_name_not_found": "# Tanque não encontrado\nNão foi possível encontrar um tanque pelo nome \"%s1\".",
"tank_id_not_found": "# Tanque não encontrado\nNão foi possível encontrar o tanque pelo ID \"%s1\". Tente digitar o nome do tanque ao invés de um número.",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# Nenhuma estatística de tanques disponível\nEsse jogador não tem as suas estatísticas disponíveis. Talvez esse pode não ser o jogador que procura.",
"get_help": "Servidor de Ajuda no Discord",
"uncaught_error": "# O BlitzKit apresentou um erro!\nSentimos muito por isso. Sinta-se a vontade para [entrar no servidor oficial no Discord]\n(https://discord.gg/nDt7AjGJQH) para conseguir ajuda.",
@@ -284,19 +284,19 @@
"name": "nível",
"description": "Nível",
"choices": {
"tier": "Nível %s1 - %s2"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "Carreira",
"today": "Hoje",
"days": "%s1 dias",
"custom": "%s1 - %s2 dias"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "Sem filtros",
"tier": "Nível %s1"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "Não há batalhas jogadas neste período",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "leilão",
"description": "Tanques disponíveis agora mesmo no leilão",
"body": {
"title": "Leilão Blitz",
"subtitle": "%s1 disponível • próximos preços %s2 oferta agora: %s3",
"next": "Próximo preço: %s1",
"available": "Disponível: %s1 / %s2"
},
"errors": {
"no_auction": "# Nenhum leilão em curso\n\nNo momento, não há tanques disponíveis para compra no leilão. Se você acha que isso é um erro, relate esta discrepância no [servidor oficial do Discord](https://discord.gg/nDt7AjGJQH)."
},
"actions": {
"bid": "Ofertar agora"
}
},
"replay": {
"name": "replay",
"description": "Exibir resultados de replays"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "Pesquisa",
"total": "Total",
"research": "Pesquisa: %s1",
"upgrades": "Melhorias: %s1",
"purchase": "Compra: %s1",
"equipment": "Equipamento: %s1",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# Esta é uma estimativa!\n\nEsta lista pode incluir tanques já pesquisados devido à informação imprecisa que a Wargaming fornece. Tente fornecer um `tanque-inicial` da linha ao usar o comando, se puder."
},
"errors": {
"non_tech_tree": "# %s1 não está na árvore tecnológica\n\nVocê não pode pesquisar um tanque premium/colecionador.",
"tier_1": "# %s1 é um nível I\n\nOs tanques de nível I sempre são desbloqueados gratuitamente para todos os jogadores.",
"already_researched": "# %s1 já foi pesquisado\n\nTente fornecer um `tanque-inicial` ao usar o comando para ver os totais de uma linha que você já pesquisou.",
"start_end_equal": "# %s1 foi fornecido duas vezes\n\nCertifique-se de que `tanque-inicial` e `tanque-alvo` são diferentes.",
"tanks_not_on_line": "# %s1 e %s2 não estão na mesma linha\n\nCertifique-se de que `tanque-inicial` e `tanque-alvo` estão na mesma linha tecnológica.",
"unordered": "# %s1 de nível mais alto para %s2\n\nCertifique-se de fornecer %s3 como o `tanque-inicial` em vez disso, pois é o tanque de nível inferior."
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "Taxa de vitória",
"damage": "Dano",
"unknown_tank": "Tanque desconhecido %s1"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "limite",
"description": "O número de dias inativos (padrão: %s1 dias)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "Inativo por %s1+ dias",
"listing": "%s1 dias"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "Contas vinculadas",
"no_role_permissions": {
"title": "%s1 falhou ao verificar",
"title": "{name} failed to verify",
"description": "Eu não tenho permissão para gerenciar funções."
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "limite",
"description": "O número máximo de resultados do clã (padrão: %s1)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "Pesquisa do clã para %s1 na região %s2",
"title": "Clan search for {search} in region {region}",
"no_results": "Nenhum clã encontrado"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "limite",
"description": "O número máximo de resultados do jogador (padrão: %s1)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "Busca de jogador para %s1 na região %s2",
"title": "Player search for {search} in region {region}",
"no_results": "Nenhum jogador encontrado"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "limite",
"description": "Quantos vizinhos exibir (padrão: %s1)"
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "temporada",
"description": "Número da temporada (padrão: atual)",
"choices": {
"current": "%s1 (atual)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "Melhores %s1 jogadores",
"no_participation": "# %s1 não jogou classificação na temporada %s2\n\nEste jogador não participou nesta temporada ou não passou da calibração.",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "# Nenhuma temporada em andamento\n\nNão há uma temporada de classificação em execução no momento.",
"deleted_player": "Excluído %s1",
"deleted_player": "Deleted {id}",
"neighbors": "Classificação de vizinhos",
"more": "+ %s1 mais"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "tanques-possuídos",
"description": "Mostra todos os tanques possuídos em um nível",
"body": {
"title": "# %s1's possuía nível %s2 tanques\n\n"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "Permissões",
"description": "Verifica se o bot tem as permissões necessárias para funcionar",
"body": {
"title": "# Permissões\n\n%s1",
"title": "# Permissions\n\n{body}",
"view_channels": "Ver canais: necessário para encontrar a mensagem em que o botão atualizar foi usado",
"read_message_history": "Histórico de mensagens lidas: necessário para encontrar a mensagem para atualizar",
"attach_files": "Anexar arquivos: necessário para adicionar imagens a comandos baseados em imagens",
@@ -601,7 +585,7 @@
"description": "Verifique se o bot está vivo.",
"body": {
"pong": "Pong 🏓",
"pong_with_time": "Pong 🏓 - %s1ms"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "informação do jogador",
"description": "Informações básicas sobre um jogador",
"body": {
"title": "%s1's informações",
"title": "{name}'s information",
"nickname": "Apelido",
"battles": "Batalhas",
"winrate": "Taxa de vitória",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s1 não jogou classificação\n\nEste jogador não participou do modo de classificação nesta temporada.",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# Estatísticas atualmente indisponível\n\nWargaming pode estar no momento, enfrentando tempo de inatividade do servidor. Se houver uma temporada em curso, as estatísticas deverão ser disponibilizadas dentro de 24 horas."
}
}
@@ -675,12 +659,13 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "Clear filters",
"login": "Login to use this",
"search_bar_hint": "Procurar tanques...",
"recent": "Visto recentemente",
"select_all": "Selecionar todos",
"count_singular": "1 tanque",
"count_plural": "%s1 tanques",
"sorting_by": "Ordenando por %s1",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "Nenhum tanque encontrado.",
"search_again": "Tente pesquisar novamente.",
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "Por %s1 ❤️"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "Tanques populares",
"subtitle": "Últimos %s1 dias"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "Outros projetos legais"
},
"help_translate": "Por favor, ajude a traduzir %s1 para %s2!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "Ferramentas para tudo World of Tanks Blitz"
},
"docs": {
@@ -795,7 +780,7 @@
"next": "Next",
"no_results": "Sem resultados"
},
"stats": "%s1 / %s2 guessed correctly"
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "Search a stat...",
@@ -803,8 +788,8 @@
"button": "Encontrar tanques",
"description": "Blitz enciclopédia de tanques",
"seo_description": "Estatísticas, blindagem, e mais para todos os tanques de Wolrd of Tanks Blitz",
"tank_seo_title": "%s1 - Nível %s2 %s3 %s4 | %s5 Tanquepedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "%s1 blindagem, estatísticas, equipamentos, provisões e mais. %s2 DPM, %s3hp alfa, %s4mm de penetração, %s5km/h velocidade máxima, %s6hp vida.",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "Skip"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "Camo",
"percentage": "%s1%",
"ghost_factory": "Ghost Factory",
"dead_rail": "Dead Rail"
},
@@ -873,7 +857,6 @@
"reset": "Restaurar"
},
"advanced": "Realce avançado",
"shooter": "Atirador:",
"shot_card": {
"element": {
"primary": "Primário",
@@ -884,15 +867,15 @@
"track": "Esteiras"
},
"status": {
"penetration": "%s1HP penetração",
"penetration": "{damage}hp penetration",
"blocked": "Bloqueado",
"ricochet": "Ricochete",
"splash": "%s1hp respingo"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "%s1mm %s2°",
"nominal": "%s1mm nominal",
"ricochet_loss": "%s1% penetração"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "Árvore tecnológica",
"battle": "1 batalha",
"battles": "%s1 batalhas",
"route": "Rota %s1 de %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "Habilidades do modo de jogo"
},
"review": {
"title": "Vídeos de análise",
"join": "Candidate-se para %s1 um programa YouTuber"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "Configuração",
@@ -974,15 +957,15 @@
"title": "Características",
"compare": {
"label": "Comparar com",
"class": "Nível %s1 %s2",
"tier": "Tudo de nível %s1",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "Todos os tanques"
},
"values": {
"shell_index": "Projétil %s1",
"at_distance": "À %s1m",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "Distância",
"dispersion_at_distance": "Dispersão à %s1m",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "Flexibilidade da arma",
"speed": "Velocidade",
"terrain_coefficients": "Coeficientes do terreno",
@@ -1131,9 +1114,9 @@
"description": "Estatísticas de desempenho do tanque",
"seo_description": "Melhores tanques e suas performances no World of Tanks Blitz",
"estimation": {
"body": "Estatísticas estimadas baseadas em %s1 jogadores. Atualizado %s2 atrás.",
"hours": "%s1 horas",
"minutes": "%s1 minutos"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "Número de jogadores"
@@ -1165,10 +1148,10 @@
"button": "Procurar todos",
"description": "Avatares do jogador Blitz",
"seo_description": "Todos os avatares do jogador World of Tanks Blitz",
"last_updated": "Última atualização em %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "Procurar avatares...",
"results": "%s1 avatares"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "Nenhum jogador encontrado"
},
"controls": {
"title": "Rastreando %s1",
"subtitle": "Desde %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "Restaurar",
"change": "Mudança"
},
@@ -1244,7 +1227,7 @@
"cancel": "Cancelar",
"success": {
"title": "Copiar URL",
"info": "Gerou a URL para %s1. A incorporação começará a rastrear assim que a URL for colada. Redefina a qualquer momento clicando com o botão direito no PC ou pressionando longamente no celular e, em seguida, selecionando \"Redefinir\".",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "Voltar",
"copy": "Copiar URL"
}
+88 -105
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "тест",
"long": "Это длинная тестовая строка. Вы НИКОГДА не должны видеть её в пользовательском интерфейсе. Мой любимый фрукт — %s1, потому что это цвет %s2. Он мне так нравится, что я произнесу его имя 3 раза! %s1! %s1! %s1! И ещё раз, это %s2, а не %s3.",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "Съешь же ещё этих мягких французских булок, да выпей чаю."
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1м",
"mm": "%s1мм",
"deg": "%s1°",
"hp": "%s1hp",
"x": "x%s1",
"percentage": "%s1%",
"deg_s": "%s1°/с"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "Барабан",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# Не удалось найти клан\nНе найден «%s1». Попробуйте выбрать клан из результатов поиска.",
"player_not_found": "# Не удалось найти пользователя\nНе удалось найти пользователя «%s1». Попробуйте выбрать пользователя из результатов поиска, введя правильное имя пользователя или используя команду «/link».",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "# Используйте «/link», чтобы начать\nЯ не знаю, кто ты, но давай познакомимся сегодня!",
"tank_name_not_found": "# Танк не найден\nНе удалось найти танк по названию «%s1».",
"tank_id_not_found": "# Танк не найден\nНе удалось найти танк по ID «%s1». Попробуйте ввести название танка вместо числа.",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# Статистика танка недоступна\nУ этого игрока нет доступной статистики. Возможно, это не тот игрок, которого вы ищете.",
"get_help": "Получить помощь",
"uncaught_error": "# BlitzKit столкнулся с ошибкой!\nНам очень жаль. Не стесняйтесь и [присоединяйтесь к официальному серверу Discord](https://discord.gg/nDt7AjGJQH), чтобы получить помощь.",
@@ -284,19 +284,19 @@
"name": "уровень",
"description": "Уровень",
"choices": {
"tier": "Уровень %s1 - %s2"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "Карьера",
"today": "Cегодня",
"days": "%s1 дней",
"custom": "%s1 - %s2 дней"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "Без фильтров",
"tier": "Уровень %s1"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "За этот период боёв не было",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "аукцион",
"description": "Танки доступные на аукционе сейчас",
"body": {
"title": "Blitz аукцион",
"subtitle": "%s1 доступные • следующие цены %s2\nПокупка сейчас: %s3",
"next": "Следующая цена: %s1",
"available": "Доступно: %s1 / %s2"
},
"errors": {
"no_auction": "# Аукцион сейчас не проходит\n\nНа данный момент нет танков для покупки на аукционе. Если считаете, что это ошибка, пожалуйста о несоответствии на [официальном сервере Discord](https://discord.gg/nDt7AjGJQH)."
},
"actions": {
"bid": "Купить сейчас"
}
},
"replay": {
"name": "повтор",
"description": "Показать результаты повтора"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "Исследование",
"total": "Всего",
"research": "Исследование: %s1",
"upgrades": "Улучшения: %s1",
"purchase": "Покупка: %s1",
"equipment": "Снаряжение: %s1",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# Это приблизительная оценка!\n\nВ этот список могут входить уже исследованные танки из-за неточной информации, предоставляемой Wargaming. Попробуйте указать «стартовый-танк» в строке при использовании команды, если сможете."
},
"errors": {
"non_tech_tree": "# %s1 отсутствует в дереве танков\n\nВы не можете исследовать премиум / коллекционный танк.",
"tier_1": "# %s1 - это уровень I\n\nУровень I всегда открыт бесплатно для всех игроков.",
"already_researched": "# %s1 уже исследован\n\nПопробуйте предоставить «starting-tank» при использовании команды для просмотра итогов уже исследованной ветки.",
"start_end_equal": "# %s1 был предоставлен дважды\n\nУбедитесь, что «starting-tank» и «target-tank» различаются.",
"tanks_not_on_line": "# %s1 и %s2 находятся не в одной ветке\n\nУбедитесь, что «starting-tank» и «target-tank» находятся на той же ветке дерева танков.",
"unordered": "# У %s1 более высокий уровень чем у %s2\n\nОбязательно укажите %s3 в качестве «starting-tank», так как это танк более низкого уровня."
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "Коэффициент побед",
"damage": "Урон",
"unknown_tank": "Неизвестный танк %s1"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "порог",
"description": "Количество дней не активности (по умолчанию: %s1 дней)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "Неактивен %s1+ дней",
"listing": "%s1 дней"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "Аккаунты привязаны",
"no_role_permissions": {
"title": "%s1 не удалось проверить",
"title": "{name} failed to verify",
"description": "У меня нет разрешения на управление ролями."
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "лимит",
"description": "Максимальное количество результатов клана (по умолчанию: %s1)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "Поиск клана %s1 в регионе %s2",
"title": "Clan search for {search} in region {region}",
"no_results": "Кланов не найдено"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "лимит",
"description": "Максимальное число результатов игрока (по умолчанию: %s1)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "Поиск игрока %s1 в регионе %s2",
"title": "Player search for {search} in region {region}",
"no_results": "Игроков не найдено"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "лимит",
"description": "Количество отображаемых ближайших игроков (по умолчанию: %s1)"
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "сезон",
"description": "Номер сезона (по умолчанию: текущий)",
"choices": {
"current": "%s1 (текущая)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "Топ %s1 игроков",
"no_participation": "# %s1 не играл в рейтинг в сезоне %s2\n\nЭтот игрок не участвовал в этом сезоне или не получил прошлую калибровку.",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "# Нет текущего сезона\n\nВ данный момент нет рейтингового сезона.",
"deleted_player": "Удалено %s1",
"deleted_player": "Deleted {id}",
"neighbors": "Рейтинг ближайших игроков",
"more": "+ ещё %s1"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "cобственные-танки",
"description": "Показывает все принадлежащие танки на уровне",
"body": {
"title": "# %s1 принадлежал уровень %s2 танков\n\n"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "разрешения",
"description": "Проверяет, есть ли у бота необходимые разрешения для работы",
"body": {
"title": "# Разрешения\n\n%s1",
"title": "# Permissions\n\n{body}",
"view_channels": "Просмотр каналов: необходимо найти сообщение, на котором была использована кнопка обновления",
"read_message_history": "Просмотр истории сообщений: необходимо найти сообщение для обновления",
"attach_files": "Прикрепить файлы: необходимо для добавления изображений в команды на основе изображения",
@@ -601,7 +585,7 @@
"description": "Проверьте, что бот жив.",
"body": {
"pong": "Понг 🏓",
"pong_with_time": "Понг 🏓 - %s1мс"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "информация-об-игроке",
"description": "Основная информация о игроке",
"body": {
"title": "Информация о %s1",
"title": "{name}'s information",
"nickname": "Никнейм",
"battles": "Боёв",
"winrate": "Коэффициент побед",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s1 не получил рейтинга\n\nЭтот игрок в этом сезоне не участвовал в рейтинговом режиме.",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# Статистика недоступна в настоящее время\n\nВ настоящее время Wargaming, возможно, сталкивается с простоями сервера. Если сезон продолжается, статистика должна быть доступна в течение 24 часов."
}
}
@@ -672,15 +656,16 @@
"copied": "Скопировано!"
},
"tank_search": {
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"select_dialog_title": "Поиск танка",
"swap_dialog_title": "Заменить танк",
"clear_filters": "Сбросить фильтры",
"login": "Login to use this",
"search_bar_hint": "Поиск танков...",
"recent": "Недавние",
"select_all": "Выбрать всё",
"count_singular": "1 танк",
"count_plural": "Танков: %s1",
"sorting_by": "Сортировать по %s1",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "Танков не найдено.",
"search_again": "Попробуйте повторить поиск.",
@@ -743,11 +728,11 @@
},
"home": {
"pwa": {
"title": "Install the BlitzKit App",
"new": "NEW",
"checking": "Checking compatibility...",
"instructions": "Instructions for Apple devices.",
"install": "Install",
"title": "Установите приложение BlitzKit",
"new": "НОВИНКА",
"checking": "Проверка совместимости...",
"instructions": "Инструкция для устройств Apple.",
"install": "Установка",
"dismiss": "Отклонить"
},
"discord": {
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "От %s1 ❤️"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "Популярные танки",
"subtitle": "За последнее %s1 дней"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "Другие классные проекты"
},
"help_translate": "Пожалуйста, помогите перевести %s1 на %s2!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "Инструменты для World of Tanks Blitz"
},
"docs": {
@@ -780,8 +765,8 @@
"button": "Смешать и собрать",
"description": "Модули смешанного танка",
"seo_description": "Смешивание и сбор корпусов, башен и пушек танков из World of Tanks Blitz",
"screenshot": "Screenshot",
"randomize": "Случайный выбор"
"screenshot": "Скриншот",
"randomize": "Случайно"
},
"guess": {
"name": "Угадайте танк",
@@ -795,7 +780,7 @@
"next": "Следующий",
"no_results": "Ничего не найденo"
},
"stats": "%s1 / %s2 угадано верно"
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "Поиск характеристик...",
@@ -803,8 +788,8 @@
"button": "Поиск танков",
"description": "Танковая энциклопедия Blitz",
"seo_description": "Статистика, броня и многое другое по всем танкам World of Tanks Blitz",
"tank_seo_title": "%s1 — %s4 %s3 %s2 уровня | Танкопедия %s5 | World of Tanks Blitz (WoTB)",
"tank_seo_description": "%s1 броня, статистика, оборудование, снабжение и многое другое. %s2 УВМ, %s3hp альфа, %s4mm пробитие, %s5км/ч лучшая скорость, %s6hp здоровье.",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "Пропуск"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "Камуфляж",
"percentage": "%s1%",
"ghost_factory": "Промзона",
"dead_rail": "Эшелон"
},
@@ -873,7 +857,6 @@
"reset": "Сброс"
},
"advanced": "Продвинутая подсветка",
"shooter": "Стреляет:",
"shot_card": {
"element": {
"primary": "Броня",
@@ -884,15 +867,15 @@
"track": "Гусеницы"
},
"status": {
"penetration": "Пробитие на %s1оп",
"penetration": "{damage}hp penetration",
"blocked": "Не пробил",
"ricochet": "Рикошет",
"splash": "Урон осколками на %s1оп"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "%s1мм %s2°",
"nominal": "%s1мм номинала",
"ricochet_loss": "%s1% пробития"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "Дерево танков",
"battle": "1 бой",
"battles": "%s1 боёв",
"route": "Ветка %s1 из %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "Способности в игровых режимах"
},
"review": {
"title": "Видеообзоры",
"join": "Предложить ютубера для программы %s1"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "Конфигурация",
@@ -974,15 +957,15 @@
"title": "Характеристики",
"compare": {
"label": "Сравнивать с",
"class": "%s2 %s1 уровня",
"tier": "Все %s1 уровня",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "Все танки"
},
"values": {
"shell_index": "Снаряд %s1",
"at_distance": "На %s1м",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "Дистанция",
"dispersion_at_distance": "Разброс на %s1м",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "Углы наводки",
"speed": "Скорость",
"terrain_coefficients": "Сопротивление грунтам",
@@ -1131,9 +1114,9 @@
"description": "Статистика эффективности танков",
"seo_description": "Лучшие танки и их эффективность в World of Tanks Blitz",
"estimation": {
"body": "Примерная статистика на основе %s1 игроков. Обновлено %s2 назад.",
"hours": "%s1 часов",
"minutes": "%s1 минут"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "Количество игроков"
@@ -1165,10 +1148,10 @@
"button": "Просмотреть",
"description": "Аватары игрока Blitz",
"seo_description": "Все аватары игрока World of Tanks Blitz",
"last_updated": "Последнее обновление %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "Поиск аватаров...",
"results": "Аватаров: %s1"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "Игроков не найдено"
},
"controls": {
"title": "Отслеживание %s1",
"subtitle": "Начиная с %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "Сброс",
"change": "Изменить"
},
@@ -1244,7 +1227,7 @@
"cancel": "Отмена",
"success": {
"title": "Скопировать URL",
"info": "Сгенерирован URL для %s1. Встройка начнет отслеживание, как только URL будет вставлен. Можно сбросить, щелкнув правой кнопкой мыши на ПК или долгим нажатием на мобильном телефоне и выбором «Сброс».",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "Назад",
"copy": "Скопировать URL"
}
@@ -1329,9 +1312,9 @@
},
"api": {
"name": "API",
"button": "To the docs",
"description": "BlitzKit hosted API",
"seo_description": "BlitzKit hosted static API for World of Tanks Blitz"
"button": "К документации",
"description": "API сервера BlitzKit",
"seo_description": "Статический API сервера BlitzKit для World of Tanks Blitz"
}
},
"footer": {
+76 -93
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "тест",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is %s1 because it has the color of %s2. I like it so much that I will say its name 3 times! %s1! %s1! %s1! Once again, it's %s2, not %s3.",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "Швидка бура лисиця перестрибує через лінивого собаку."
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1м",
"mm": "%s1мм",
"deg": "%s1°",
"hp": "%s1хп",
"x": "х%s1",
"percentage": "%s1%",
"deg_s": "%s1°/с"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "Магазинна система заряджання",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# Не вдалося знайти клан\nНе вдалося знайти клан \"%s1\". Спробуйте вибрати клан з пошукового результату.",
"player_not_found": "# Не вдалося знайти користувача\nЯ не зміг знайти користувача \"%s1\". Спробуйте вибрати користувача з результату пошуку, ввести коректний нікнейм, або використати команду '/link'.",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "# Використайте команду \"/link\" щоб почати\nЯ не знаю, хто ви, але ви можете сказати мені сьогодні!",
"tank_name_not_found": "# Танк не знайдено\nНе вдалось знайти танк за ім'ям \"%s1\".",
"tank_id_not_found": "# Танк не знайдено\nНе вдалось знайти танк за ID \"%s1\". Спробуйте ввести назву танка замість числа.",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# Немає статистики для танка\nЦей гравець не має статистики.\nМожливо, це не той гравець, якого ви шукаєте.",
"get_help": "Допомогти Discord серверу",
"uncaught_error": "# Упс! BlitzKit зіткнувся з помилкою!\nНам дуже шкода. Можете попросити допомоги на [офіційному сервері Discord](https://discord.gg/nDt7AjGJQH).",
@@ -284,19 +284,19 @@
"name": "рівень",
"description": "Рівень",
"choices": {
"tier": "Рівень %s1 - %s2"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "Кар'єра",
"today": "Сьогодні",
"days": "%s1 днів",
"custom": "%s1 - %s2 днів"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "Немає фільтрів",
"tier": "Рівень %s1"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "За цей період боїв не було",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "аукціон",
"description": "Танки доступні зараз на аукціоні",
"body": {
"title": "Бліц Аукціон",
"subtitle": "%s1 доступно • наступна ціна %s2\nПоточна ставка: %s3",
"next": "Наступна ціна:%s1",
"available": "Доступно: %s1 / %s2"
},
"errors": {
"no_auction": "# Немає поточного аукціону\n\nНаразі немає танків, доступних для купівлі на аукціоні. Якщо ви вважаєте це помилкою, будь ласка, повідомте про цю невідповідність на [офіційний Дискорд сервер](https://discord.gg/nDt7AjGJQH)."
},
"actions": {
"bid": "Поточна ставка"
}
},
"replay": {
"name": "реплей",
"description": "Показати результати реплею"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "Дослідження",
"total": "Загалом",
"research": "Дослідження: %s1",
"upgrades": "Покращення: %s1",
"purchase": "Придбання: %s1",
"equipment": "Спорядження: %s1",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# Це оцінка!\n\nЦей список може включати вже досліджені танки через неточну інформацію для вантажу. Спробуйте використати \"початковий танк\" з рядка за допомогою команди."
},
"errors": {
"non_tech_tree": "# %s1 не в технічному дереві\n\nВи не можете досліджувати преміум/колекційний танк.",
"tier_1": "# %s1 це рівень I\n\nТанки рівню I завжди відкриті для всіх гравців безкоштовно.",
"already_researched": "# %s1 уже досліджено!\n\nСпробуйте забезпечити `starting-tank` коли використовуєте команду щоб подивитись підсумки гілки, яку ви вже дослідили.",
"start_end_equal": "# %s1 було надано двічі\n\nПереконайся, що `starting-tank` та `target-tank` різні.",
"tanks_not_on_line": ".",
"unordered": ""
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "Відсоток перемог",
"damage": "Шкода",
"unknown_tank": "Невідомий танк %s1"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "поріг",
"description": "Кількість днів неактивності (за замовчуванням: %s1 днів)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "Неактивний %s1+ днів",
"listing": "%s1 днів"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "Прив'язані акаунти",
"no_role_permissions": {
"title": "%s1 не вдалося перевірити",
"title": "{name} failed to verify",
"description": "У мене немає дозволу керувати ролями."
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "ліміт",
"description": "Максимальна кількість результатів клану (за замовчуванням: %s1)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "Clan search for %s1 in region %s2",
"title": "Clan search for {search} in region {region}",
"no_results": "Жодного клану не знайдено"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "ліміт",
"description": "The max number of player results (default: %s1)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "Player search for %s1 in region %s2",
"title": "Player search for {search} in region {region}",
"no_results": "Гравця не знайдено"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "ліміт",
"description": ""
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "сезон",
"description": "Базова інформація про гравця",
"choices": {
"current": "%s1 (current)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "Top %s1 players",
"no_participation": "# %s1 didn't play rating in season %s2\n\nThis player did not participate in this season or did not get past calibration.",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "# No ongoing season\n\nThere isn't a currently running rating season.",
"deleted_player": "Deleted %s1",
"deleted_player": "Deleted {id}",
"neighbors": "Rating neighbors",
"more": "+ %s1 more"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "отримані танки",
"description": "Показує всі ваші танки даного рівня",
"body": {
"title": "# %s1's owned tier %s2 tanks\n\n"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "дозволи",
"description": "Checks wether the bot has the required permissions to function",
"body": {
"title": "# Permissions\n\n%s1",
"title": "# Permissions\n\n{body}",
"view_channels": "View channels: needed to find the message the refresh button was used on",
"read_message_history": "Read message history: needed to find the message to refresh",
"attach_files": "Attach files: needed to add images to image-based commands",
@@ -601,7 +585,7 @@
"description": "Check wether the bot is alive.",
"body": {
"pong": "Pong 🏓",
"pong_with_time": "Pong 🏓 - %s1ms"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "player-info",
"description": "Базова інформація про гравця",
"body": {
"title": "%s1's information",
"title": "{name}'s information",
"nickname": "Нік",
"battles": "Бої",
"winrate": "Відсоток перемог",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s1 hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# Statistics currently unavailable\n\nWargaming may be currently be facing server downtime. If there is an on-going season, statistics should be available withing 24 hours."
}
}
@@ -675,12 +659,13 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "Clear filters",
"login": "Login to use this",
"search_bar_hint": "Шукайте техніку...",
"recent": "Недавно переглянуті",
"select_all": "Вибрати все",
"count_singular": "1 танк",
"count_plural": "%s1 танків",
"sorting_by": "Сортувати за %s1",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "Нічого не знайдено.",
"search_again": "Спробуйте шукати заново.",
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "Зроблено %s1 ❤"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "Популярні танки",
"subtitle": "Останні %s1 дні(в)"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "Інші класні проєкти"
},
"help_translate": "Будь ласка, допоможіть перекласти %s1 на %s2!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "Інструменти для всього, пов'язаного з WoT Blitz"
},
"docs": {
@@ -795,7 +780,7 @@
"next": "Next",
"no_results": "Немає результатів"
},
"stats": "%s1 / %s2 guessed correctly"
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "Search a stat...",
@@ -803,8 +788,8 @@
"button": "Знайти танки",
"description": "Танкова енциклопедія",
"seo_description": "Характеристики, броня та інше для всіх танків WoT Blitz",
"tank_seo_title": "%s1 - Рівень %s2 %s3 %s4 | %s5 Танкопедія | WoT Blitz",
"tank_seo_description": "%s1 броня, характеристики, обладнання, амуніція та більше. %s2 шкода на хвилину, %s3 разова шкода, %s4 мм пробиття, %s5 км/год максимальна швидкість, %s6 міцність.",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "Skip"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "Camo",
"percentage": "%s1%",
"ghost_factory": "Ghost Factory",
"dead_rail": "Dead Rail"
},
@@ -873,7 +857,6 @@
"reset": "Reset"
},
"advanced": "Advanced highlighting",
"shooter": "Shooter:",
"shot_card": {
"element": {
"primary": "Primary",
@@ -884,15 +867,15 @@
"track": "Tracks"
},
"status": {
"penetration": "%s1hp penetration",
"penetration": "{damage}hp penetration",
"blocked": "Blocked",
"ricochet": "Рикошет",
"splash": "%s1hp splash"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "%s1mm %s2°",
"nominal": "%s1mm nominal",
"ricochet_loss": "%s1% penetration"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "Звичайний",
"battle": "1 бій",
"battles": "%s1 battles",
"route": "Route %s1 of %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "Game mode abilities"
},
"review": {
"title": "Review videos",
"join": "Apply to %s1 YouTuber program"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "Configuration",
@@ -974,15 +957,15 @@
"title": "Characteristics",
"compare": {
"label": "Compare against",
"class": "Tier %s1 %s2",
"tier": "All of tier %s1",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "Усі танки"
},
"values": {
"shell_index": "Снаряд %s1",
"at_distance": "At %s1m",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "Відстань",
"dispersion_at_distance": "Dispersion at %s1m",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "Gun flexibility",
"speed": "Швидкість",
"terrain_coefficients": "Terrain coefficients",
@@ -1131,9 +1114,9 @@
"description": "Tank performance statistics",
"seo_description": "Best tanks and their performances in World of Tanks Blitz",
"estimation": {
"body": "Estimated stats based on %s1 players. Updated %s2 ago.",
"hours": "%s1 hours",
"minutes": "%s1 minutes"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "Player count"
@@ -1165,10 +1148,10 @@
"button": "Browse all",
"description": "Blitz player avatars",
"seo_description": "All World of Tanks Blitz player avatars",
"last_updated": "Last updated on %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "Search avatars...",
"results": "%s1 avatars"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "Гравця не знайдено"
},
"controls": {
"title": "Відстежуємо %s1",
"subtitle": "Від %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "Скинути",
"change": "Змінити"
},
@@ -1244,7 +1227,7 @@
"cancel": "Cancel",
"success": {
"title": "Copy URL",
"info": "Generated the URL for %s1. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "Назад",
"copy": "Copy URL"
}
+76 -93
View File
@@ -1,19 +1,19 @@
{
"test": {
"default": "测试",
"long": "这是一个测试用长字符串。你不会在用户界面中看见这些。我最喜欢的水果是%s1因为它的颜色是%s2。我如此喜欢它以至于我会把它的名字念3次!%s1!%s1!%s1!重申一次,它是%s2而不是%s3。",
"long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.",
"fox": "褐色的狐狸迅速地跳过那只懒狗"
},
"common": {
"name": "BlitzKit",
"units": {
"m": "%s1公尺",
"mm": "%s1毫米",
"deg": "%s1度",
"hp": "%s1生命值",
"x": "x%s1",
"percentage": "%s1%",
"deg_s": "%s1度/秒"
"m": "{value}m",
"mm": "{value}mm",
"deg": "{value}°",
"hp": "{value}hp",
"x": "x{value}",
"percentage": "{value}%",
"deg_s": "{value}°/s"
},
"gun_types": {
"auto_loader": "弹夹型战车",
@@ -186,11 +186,11 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# 找不到公会\n找不到\"%s1\"。请尝试从搜索结果中选择一个公会。",
"player_not_found": "# 找不到玩家\n无法找到玩家 “%s1”。 尝试从搜索结果中选择玩家,或输入一个有效的玩家名称, 或使用“/link”命令。",
"clan_not_found": "# Could not find clan\nCouldn't find \"{search}\". Try selecting a clan from the search result.",
"player_not_found": "# Could not find user\nI couldn't find user \"{search}\". Try picking an user from the search result, typing in a valid username, or using the `/link` command.",
"player_not_linked": "# 使用 `/link` 来开始\n我不知道你是谁,但你今天可以告诉我!",
"tank_name_not_found": "# 找不到战车\n找不到名为 “%s1 ”的战车。",
"tank_id_not_found": "# 找不到战车\n无法找到ID为 “%s1”的战车。 请尝试输入战车的名称而不是数字。",
"tank_name_not_found": "# Tank not found\nCould not find tank by the name \"{search}\".",
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"{search}\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# 没有这辆战车的数据\n这个玩家没有可用资料。 这可能不是你要找的玩家。",
"get_help": "Discord的协助服务器",
"uncaught_error": "# BlitzKit 发生错误!\n我们对此感到抱歉。 欢迎加入[官方Discord](https://discord.gg/nDt7AjGJQH),以方便帮助你解决问题。",
@@ -284,19 +284,19 @@
"name": "阶级",
"description": "阶级",
"choices": {
"tier": "%s1阶 - %s2"
"tier": "Tier {tier_1} - {tier_2}"
}
}
},
"periods": {
"career": "玩家资料",
"today": "今日:",
"days": "%s1 天",
"custom": "%s1 - %s2 天"
"days": "{days} days",
"custom": "{day_1} - {day_2} days"
},
"filters": {
"none": "无筛选器",
"tier": "%s1 阶级"
"tier": "Tier {tier}"
},
"no_data": {
"battles_in_period": "在这段时间里没有参与任何战斗",
@@ -319,22 +319,6 @@
}
},
"commands": {
"auction": {
"name": "拍卖",
"description": "目前拍卖中的战车",
"body": {
"title": "Blitz 拍卖会",
"subtitle": "%s1 可用 • 下一个价格 %s2\n现在出价: %s3",
"next": "下一个价格: %s1",
"available": "可用: %s1 / %s2"
},
"errors": {
"no_auction": "# 目前没有正在进行中的拍卖会\n\n拍卖中没有可供购买的战车。 如果您认为这是一个错误,请在[官方的 Discord服务器](https://discord.gg/nDt7AjGJQH)中报告这个问题。"
},
"actions": {
"bid": "立刻购买"
}
},
"replay": {
"name": "回放",
"description": "显示重播结果"
@@ -355,19 +339,19 @@
"body": {
"subtitle": "研发",
"total": "全部",
"research": "研发:%s1",
"upgrades": "升级:%s1",
"purchase": "购买:%s1",
"equipment": "装备:%s1",
"research": "Research: {cost}",
"upgrades": "Upgrades: {cost}",
"purchase": "Purchase: {cost}",
"equipment": "Equipment: {cost}",
"estimation": "# 这是一个估计值!\n\n这个列表可能包含已经研发过的战车,因为 Wargaming 提供了不正确的资料。 如果可以,请尝试在同一研发线路中提供一个 “起始战车” 。"
},
"errors": {
"non_tech_tree": "# \"%s1\" 不在科技树里\n\n你不能研究一个 加值/收藏家 战车。",
"tier_1": "# “%s1”是一阶战车\n\n一阶战车是可免费解锁的。",
"already_researched": "# \"%s1\" 已完成研发\n\n请尝试在同一研发线路上提供“起始战车”, 以查看全部您已研发过的战车。",
"start_end_equal": "# \"%s1\" 重复提供了\n\n请确认 \"初始战车\" 和 \"目标战车\" 是不同的。",
"tanks_not_on_line": "# “%s1” 和 “%s2” 不在同一个研发线路上\n\n请确认“起始战车” 和 “目标战车” 在同一研发线路中。",
"unordered": "# “%s1” 阶级比 “%s2” 高\n\n请以 %s3 作为起始战车,因为它的阶级更低。"
"non_tech_tree": "# {tank} is not on the tech tree\n\nYou cannot research a premium/collector tank.",
"tier_1": "# {tank} is a tier I\n\nTier I tanks are always unlocked for free for all players.",
"already_researched": "# {tank} is already researched\n\nTry providing a `starting-tank` when using the command to view the totals for a line you have already researched.",
"start_end_equal": "# {tank} was provided twice\n\nMake sure `starting-tank` and `target-tank` are different.",
"tanks_not_on_line": "# {tank_1} and {tank_2} are not on the same line\n\nMake sure `starting-tank` and `target-tank` are on the same tech-tree line.",
"unordered": "# {tank_1} higher tiered to {tank_2}\n\nMake sure to provide {tank_2} as the `starting-tank` instead as it is the lower tiered tank."
}
},
"about": {
@@ -410,7 +394,7 @@
"wn8": "WN8",
"winrate": "胜率",
"damage": "伤害",
"unknown_tank": "未知战车 %s1"
"unknown_tank": "Unknown tank {id}"
}
},
"debug": {
@@ -446,12 +430,12 @@
"options": {
"threshold": {
"name": "阈值",
"description": "未上线天数( 默认:%s1 天)"
"description": "The number of days inactive (default: {days} days)"
}
},
"body": {
"subtitle": "%s1+ 天以上未上线",
"listing": "%s1 天"
"subtitle": "Inactive for {days}+ days",
"listing": "{days} days"
}
},
"full_stats": {
@@ -494,7 +478,7 @@
"body": {
"accounts_linked": "帐号已绑定",
"no_role_permissions": {
"title": "%s1 验证失败",
"title": "{name} failed to verify",
"description": "我没有管理身份的权限。"
}
},
@@ -509,11 +493,11 @@
"options": {
"limit": {
"name": "限制",
"description": "公会结果的最大数量 (默认:%s1)"
"description": "The max number of clan results (default: {limit})"
}
},
"body": {
"title": "在 %s2 地区搜索 %s1 公会的结果",
"title": "Clan search for {search} in region {region}",
"no_results": "没有找到该公会"
}
},
@@ -523,11 +507,11 @@
"options": {
"limit": {
"name": "限制",
"description": "最大玩家结果数 (默认:%s1)"
"description": "The max number of player results (default: {limit})"
}
},
"body": {
"title": "在 %s2 地区搜索 %s1 玩家的结果",
"title": "Player search for {search} in region {region}",
"no_results": "未找到玩家"
}
},
@@ -547,13 +531,13 @@
"options": {
"limit": {
"name": "限制",
"description": "显示附近有多少玩家(默认:%s1)"
"description": "How many neighbors to display (default: {count})"
},
"season": {
"name": "赛季",
"description": "赛季数 (默认:当前)",
"choices": {
"current": "%s1 (当前)"
"current": "{season} (current)"
}
},
"league": {
@@ -562,12 +546,12 @@
}
},
"body": {
"top_players": "前 %s1 玩家",
"no_participation": "# %s1 在赛季 %s2 没有进行过评价战斗\n\n该玩家没有参加该赛季或没有完成校准。",
"top_players": "Top {count} players",
"no_participation": "# {player} didn't play rating in season {season}\n\nThis player did not participate in this season or did not get past calibration.",
"no_ongoing_season": "# 没有进行中的赛季\n\n目前没有赛季。",
"deleted_player": "已删除玩家 %s1",
"deleted_player": "Deleted {id}",
"neighbors": "对邻居进行评分",
"more": "+ %s1 更多"
"more": "+ {count} more"
}
},
"today": {
@@ -582,14 +566,14 @@
"name": "已拥有的战车",
"description": "显示该阶级中所有您已拥有的战车",
"body": {
"title": "# %s1 所拥有的 %s2 阶战车\n\n"
"title": "# {name}'s owned tier {tier} tanks\n\n"
}
},
"permissions": {
"name": "权限",
"description": "检查机器人是否拥有运行所需的权限",
"body": {
"title": "# 权限\n\n%s1",
"title": "# Permissions\n\n{body}",
"view_channels": "查看频道:需要找到重新整理按钮使用的讯息",
"read_message_history": "读取消息历史: 需要找到消息以刷新",
"attach_files": "附加文件:需要将图像添加到基于图像的命令",
@@ -601,7 +585,7 @@
"description": "检查机器人是否处于活动状态。",
"body": {
"pong": "Pong 🏓",
"pong_with_time": "Pong 🏓 - %s1ms"
"pong_with_time": "Pong 🏓 - {time}ms"
},
"subcommands": {
"blitzkit": {
@@ -618,7 +602,7 @@
"name": "玩家信息",
"description": "玩家基本信息",
"body": {
"title": "%s1的信息",
"title": "{name}'s information",
"nickname": "昵称",
"battles": "战斗场次",
"winrate": "胜率",
@@ -647,7 +631,7 @@
}
},
"errors": {
"no_participation": "# %s1 未完成评价\n\n该玩家未参与本赛季的评价战斗。",
"no_participation": "# {name} hasn't played rating\n\nThis player hasn't participated in the rating gamemode this season.",
"unrecorded_stats": "# 统计数据目前无法使用\n\nWargaming 可能暂停了服务器。 如果有连续的赛季,统计数据可能在24小时内提供。"
}
}
@@ -675,12 +659,13 @@
"select_dialog_title": "Search for tanks",
"swap_dialog_title": "Swap tank",
"clear_filters": "清除筛选",
"login": "Login to use this",
"search_bar_hint": "搜寻战车……",
"recent": "最近查看的",
"select_all": "全选",
"count_singular": "1辆战车",
"count_plural": "%s1辆战车",
"sorting_by": "按 %s1 排序",
"count_plural": "{count} tanks",
"sorting_by": "Sorting by {name}",
"no_tanks_found": {
"body": "找不到战车。",
"search_again": "请尝试重新搜索。",
@@ -756,16 +741,16 @@
"action": "Discord"
},
"hero": {
"credit": "由 %s1 制作 ❤️"
"credit": "By {name} ❤️"
},
"hot_tanks": {
"title": "受欢迎的坦克",
"subtitle": "过去 %s1 天"
"subtitle": "Last {days} days"
},
"other_projects": {
"title": "其他酷炫的项目"
},
"help_translate": "请帮忙将 %s1 翻译成 %s2!",
"help_translate": "Please help translate {name} to {language}!",
"seo_description": "战车世界闪击战 全方位工具"
},
"docs": {
@@ -795,7 +780,7 @@
"next": "下一个",
"no_results": "沒有結果"
},
"stats": "猜对了 %s1 / %s2"
"stats": "{correct} / {total} guessed correctly"
},
"tankopedia": {
"search": "搜索属性……",
@@ -803,8 +788,8 @@
"button": "搜索战车",
"description": "闪击战战车百科全书",
"seo_description": "战车世界闪击战的所有坦克参数, 装甲, 等等...",
"tank_seo_title": "%s1 - %s2 阶 %s3 %s4 | %s5 战车百科 | 战车世界闪击战 (WoTB)",
"tank_seo_description": "%s1 装甲,统计设备,装备,供给等。 %s2 每分钟伤害, %s3生命值, %s4毫米穿透, %s5kph 最高速度, %s6hp 生命值。",
"tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)",
"tank_seo_description": "{name} armor, statistics, equipment, provisions, and more. {dpm} DPM, {alpha}hp alpha, {penetration}mm penetration, {speed}kph top speed, {health}hp health.",
"visualizers": {
"reload": {
"skip": "跳过"
@@ -829,7 +814,6 @@
},
"view_range": {
"camo": "迷彩",
"percentage": "%s1%",
"ghost_factory": "幽灵工厂",
"dead_rail": "死亡铁道"
},
@@ -873,7 +857,6 @@
"reset": "重置"
},
"advanced": "进阶高亮显示",
"shooter": "主视角射击者",
"shot_card": {
"element": {
"primary": "主装甲",
@@ -884,15 +867,15 @@
"track": "履带"
},
"status": {
"penetration": "%s1生命值 击穿",
"penetration": "{damage}hp penetration",
"blocked": "抵挡伤害",
"ricochet": "跳弹",
"splash": "%s1生命值 溅射"
"splash": "{damage}hp splash"
},
"stats": {
"thickness_and_angle": "等效%s1毫米 %s2度",
"nominal": "%s1毫米 装甲厚度",
"ricochet_loss": "%s1%概率击穿"
"thickness_and_angle": "{thickness}mm {angle}°",
"nominal": "{thickness}mm nominal",
"ricochet_loss": "{loss}% penetration"
}
}
},
@@ -930,15 +913,15 @@
"tech_tree": {
"title": "科技树",
"battle": "一场比赛",
"battles": "%s1场比赛",
"route": "路线 %s1 / %s2"
"battles": "{count} battles",
"route": "Route {index} of {count}"
},
"game_modes": {
"title": "游戏模式技能"
},
"review": {
"title": "回顾影片",
"join": "应用到 %s1 YouTuber程序"
"join": "Apply to {name} YouTuber program"
},
"configuration": {
"title": "配置设定",
@@ -974,15 +957,15 @@
"title": "属性",
"compare": {
"label": "比较",
"class": "%s1阶 %s2",
"tier": "所有 %s1 阶",
"class": "Tier {tier} {class}",
"tier": "All of tier {tier}",
"all": "所有战车"
},
"values": {
"shell_index": "炮弹 %s1",
"at_distance": "在 %s1 公尺",
"shell_index": "Shell {index}",
"at_distance": "At {distance}m",
"at_distance_slider_label": "距离",
"dispersion_at_distance": "%s1 公尺扩散度",
"dispersion_at_distance": "Dispersion at {distance}m",
"gun_flexibility": "炮管转动界限",
"speed": "速度",
"terrain_coefficients": "地形系数",
@@ -1131,9 +1114,9 @@
"description": "战车性能统计",
"seo_description": "最好的战车及其在战车世界闪击战中的表现",
"estimation": {
"body": "基于 %s1 个玩家的估计数据。更新于 %s2 之前。",
"hours": "%s1 小时",
"minutes": "%s1 分钟"
"body": "Estimated stats based on {count} players. Updated {age} ago.",
"hours": "{count} hours",
"minutes": "{count} minutes"
},
"player_count": {
"label": "玩家数量"
@@ -1165,10 +1148,10 @@
"button": "浏览全部",
"description": "Blitz玩家头像",
"seo_description": "所有战车世界闪击战玩家头像",
"last_updated": "最后更新于 %s1",
"last_updated": "Last updated on {time}",
"search": {
"hint": "搜索頭像……",
"results": "%s1 头像"
"results": "{count} avatars"
}
},
"session": {
@@ -1183,8 +1166,8 @@
"no_results": "找不到玩家"
},
"controls": {
"title": "追踪 %s1",
"subtitle": "起始于 %s1",
"title": "Tracking {name}",
"subtitle": "Since {time}",
"reset": "重置",
"change": "变更"
},
@@ -1244,7 +1227,7 @@
"cancel": "取消",
"success": {
"title": "拷贝 URL",
"info": "已为 %s1 生成 URL。 当 URL 粘贴后,嵌入功能将开始追踪。 您可以随时在 PC 上点击右键或手机上长按并选择「重置」来重置。",
"info": "Generated the URL for {name}. The embed will start tracking as soon as the URL is pasted. Reset at any time by right-clicking on PC or long-pressing on mobile and then selecting \"Reset\".",
"back": "返回",
"copy": "拷贝 URL"
}
+3 -2
View File
@@ -11,6 +11,7 @@ import { getStrings } from "../core/i18n/getStrings";
import { Var } from "../core/radix/var";
import { LinkI18n } from "./LinkI18n";
import { tools } from "../constants/tools";
import { NavbarAccount } from "./NavbarAccount";
export interface Props {
integrated?: boolean;
@@ -182,7 +183,7 @@ const strings = getStrings(locale);
<GearIcon width="1em" height="1em" />
</LinkI18n>
<!-- <NavbarAccount client:idle /> -->
<NavbarAccount {locale} client:idle />
<Flex align="center" display={{ initial: "flex", sm: "none" }}>
<IconButton variant="ghost" color="gray" className="hamburger">
@@ -200,7 +201,7 @@ const strings = getStrings(locale);
display={{ initial: "flex", sm: "none" }}
>
{
toolsFiltered.map(( tool) => {
toolsFiltered.map((tool) => {
const toolStrings =
strings.website.tools[
(tool.strings ?? tool.id) as keyof typeof strings.website.tools
@@ -8,13 +8,25 @@ import {
Text,
} from "@radix-ui/themes";
import { Suspense } from "react";
import {
LocaleProvider,
type LocaleAcceptorProps,
} from "../../hooks/useLocale";
import { App } from "../../stores/app";
import { BlitzKitTheme } from "../BlitzKitTheme";
import { WargamingAccountName } from "../WargamingAccountName";
import { WargamingIcon } from "../WargamingIcon";
import { WargamingLoginButton } from "../WargamingLoginButton";
export function NavbarAccount() {
export function NavbarAccount({ locale }: LocaleAcceptorProps) {
return (
<LocaleProvider locale={locale}>
<Content />
</LocaleProvider>
);
}
function Content() {
const logins = App.use((state) => state.logins);
return (
@@ -5,6 +5,11 @@ import {
TankType,
TIER_ROMAN_NUMERALS,
} from "@blitzkit/core";
import {
ComponentBooleanIcon,
LockClosedIcon,
LockOpen2Icon,
} from "@radix-ui/react-icons";
import {
Box,
Flex,
@@ -13,15 +18,17 @@ import {
Link,
Popover,
Text,
Tooltip,
type FlexProps,
} from "@radix-ui/themes";
import { isEqual, times } from "lodash-es";
import { awaitableGameDefinitions } from "../../../core/awaitables/gameDefinitions";
import { Var } from "../../../core/radix/var";
import { useLocale } from "../../../hooks/useLocale";
import { App } from "../../../stores/app";
import { TankFilters } from "../../../stores/tankFilters";
import { TankSort } from "../../../stores/tankopediaSort";
import { classIcons } from "../../ClassIcon";
import { ExperimentIcon } from "../../ExperimentIcon";
import { GunAutoloaderIcon } from "../../GunAutoloaderIcon";
import { GunAutoreloaderIcon } from "../../GunAutoreloaderIcon";
import { GunRegularIcon } from "../../GunRegularIcon";
@@ -108,28 +115,80 @@ function ShellFilter({ index, premium }: { index: number; premium?: boolean }) {
);
}
export function FilterControl({ compact }: FilterControlProps) {
function OwnershipFilter(props: FlexProps) {
const tankFilters = TankFilters.use();
const wargaming = App.use((state) => state.logins.wargaming);
return (
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction="column"
{...props}
>
<IconButton
disabled={!wargaming}
variant={tankFilters.ownership === "all" ? "solid" : "soft"}
radius="none"
color={tankFilters.ownership === "all" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.ownership = "all";
});
}}
>
<ComponentBooleanIcon />
</IconButton>
<IconButton
disabled={!wargaming}
variant={tankFilters.ownership === "owned" ? "solid" : "soft"}
radius="none"
color={tankFilters.ownership === "owned" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.ownership = "owned";
});
}}
>
<LockOpen2Icon />
</IconButton>
<IconButton
disabled={!wargaming}
variant={tankFilters.ownership === "unowned" ? "solid" : "soft"}
radius="none"
color={tankFilters.ownership === "unowned" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.ownership = "unowned";
});
}}
>
<LockClosedIcon />
</IconButton>
</Flex>
);
}
export function FilterControl() {
const tankFilters = TankFilters.use();
const { strings } = useLocale();
const clearable = !isEqual(tankFilters, TankFilters.initial);
const wargaming = App.use((state) => state.logins.wargaming);
return (
<Flex direction="column" align="center">
<Flex
height="fit-content"
gap="2"
align={{ initial: "start", md: "center" }}
justify="center"
>
<Flex height="fit-content" gap="1" align="start" justify="center">
<Flex
flexShrink="0"
direction={compact ? "row" : { initial: "row", md: "column" }}
overflow="hidden"
style={{ borderRadius: "var(--radius-5)" }}
style={{ borderRadius: "var(--radius-4)" }}
>
<Flex
direction={compact ? "column" : { md: "row", initial: "column" }}
>
<Flex direction="column">
{times(5, (index) => {
const tier = index + 1;
const selected = tankFilters.tiers?.includes(tier);
@@ -167,9 +226,7 @@ export function FilterControl({ compact }: FilterControlProps) {
}}
/>
<Flex
direction={compact ? "column" : { md: "row", initial: "column" }}
>
<Flex direction="column">
{times(5, (index) => {
const tier = index + 6;
const selected = tankFilters.tiers?.includes(tier);
@@ -202,13 +259,10 @@ export function FilterControl({ compact }: FilterControlProps) {
<Flex
flexShrink="0"
direction={compact ? "row" : { initial: "row", md: "column" }}
overflow="hidden"
style={{ borderRadius: "var(--radius-5)" }}
style={{ borderRadius: "var(--radius-4)" }}
>
<Flex
direction={compact ? "column" : { md: "row", initial: "column" }}
>
<Flex direction="column">
{gameDefinitions.nations
.slice(0, Math.ceil(gameDefinitions.nations.length / 2))
.map((nation) => {
@@ -250,9 +304,7 @@ export function FilterControl({ compact }: FilterControlProps) {
}}
/>
<Flex
direction={compact ? "column" : { md: "row", initial: "column" }}
>
<Flex direction="column">
{gameDefinitions.nations
.slice(Math.ceil(gameDefinitions.nations.length / 2))
.map((nation) => {
@@ -289,298 +341,274 @@ export function FilterControl({ compact }: FilterControlProps) {
</Flex>
<Flex
direction={compact ? "row" : { initial: "row", md: "column" }}
align="start"
gap={{ initial: "2", md: "1" }}
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction="column"
>
<Flex gap="2" align="start">
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction={compact ? "column" : { md: "row", initial: "column" }}
>
{TANK_CLASSES.map((tankClass) => {
const Icon = classIcons[tankClass];
const selected = tankFilters.classes?.includes(tankClass);
{TANK_CLASSES.map((tankClass) => {
const Icon = classIcons[tankClass];
const selected = tankFilters.classes?.includes(tankClass);
return (
<IconButton
key={tankClass}
variant={selected ? "solid" : "soft"}
radius="none"
color={selected ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.classes.includes(tankClass)) {
draft.classes = draft.classes.filter(
(c) => c !== tankClass
);
} else {
draft.classes = [...draft.classes, tankClass];
}
});
}}
>
<Icon style={{ width: "1em", height: "1em" }} />
</IconButton>
);
})}
</Flex>
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction={compact ? "column" : { md: "row", initial: "column" }}
>
return (
<IconButton
variant={
tankFilters.gunType.includes("regular") ? "solid" : "soft"
}
key={tankClass}
variant={selected ? "solid" : "soft"}
radius="none"
color={
tankFilters.gunType.includes("regular") ? undefined : "gray"
}
color={selected ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.gunType.includes("regular")) {
draft.gunType = draft.gunType.filter(
(t) => t !== "regular"
if (tankFilters.classes.includes(tankClass)) {
draft.classes = draft.classes.filter(
(c) => c !== tankClass
);
} else {
draft.gunType = [...draft.gunType, "regular"];
draft.classes = [...draft.classes, tankClass];
}
});
}}
>
<GunRegularIcon style={{ width: "1em", height: "1em" }} />
<Icon style={{ width: "1em", height: "1em" }} />
</IconButton>
<IconButton
variant={
tankFilters.gunType.includes("auto_loader") ? "solid" : "soft"
}
radius="none"
color={
tankFilters.gunType.includes("auto_loader")
? undefined
: "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.gunType.includes("auto_loader")) {
draft.gunType = draft.gunType.filter(
(t) => t !== "auto_loader"
);
} else {
draft.gunType = [...draft.gunType, "auto_loader"];
}
});
}}
>
<GunAutoloaderIcon style={{ width: "1em", height: "1em" }} />
</IconButton>
<IconButton
variant={
tankFilters.gunType.includes("auto_reloader")
? "solid"
: "soft"
}
radius="none"
color={
tankFilters.gunType.includes("auto_reloader")
? undefined
: "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.gunType.includes("auto_reloader")) {
draft.gunType = draft.gunType.filter(
(t) => t !== "auto_reloader"
);
} else {
draft.gunType = [...draft.gunType, "auto_reloader"];
}
});
}}
>
<GunAutoreloaderIcon style={{ width: "1em", height: "1em" }} />
</IconButton>
</Flex>
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction={compact ? "column" : { md: "row", initial: "column" }}
>
<ShellFilter index={0} />
<ShellFilter index={1} premium />
<ShellFilter index={2} />
</Flex>
</Flex>
<Flex gap="2" align="start">
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction={compact ? "column" : { md: "row", initial: "column" }}
>
<IconButton
variant={
tankFilters.types?.includes(TankType.RESEARCHABLE)
? "solid"
: "soft"
}
radius="none"
color={
tankFilters.types?.includes(TankType.RESEARCHABLE)
? undefined
: "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.types.includes(TankType.RESEARCHABLE)) {
draft.types = draft.types.filter(
(t) => t !== TankType.RESEARCHABLE
);
} else {
draft.types = [...draft.types, TankType.RESEARCHABLE];
}
});
}}
>
<ResearchedIcon style={{ width: "1em", height: "1em" }} />
</IconButton>
<IconButton
variant={
tankFilters.types?.includes(TankType.PREMIUM)
? "solid"
: "soft"
}
radius="none"
color={
tankFilters.types?.includes(TankType.PREMIUM)
? "amber"
: "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.types.includes(TankType.PREMIUM)) {
draft.types = draft.types.filter(
(t) => t !== TankType.PREMIUM
);
} else {
draft.types = [...draft.types, TankType.PREMIUM];
}
});
}}
>
<Text
color={
tankFilters.types?.includes(TankType.PREMIUM)
? undefined
: "amber"
}
style={{ display: "flex", justifyContent: "center" }}
>
<ResearchedIcon style={{ width: "1em", height: "1em" }} />
</Text>
</IconButton>
<IconButton
variant={
tankFilters.types?.includes(TankType.COLLECTOR)
? "solid"
: "soft"
}
radius="none"
color={
tankFilters.types?.includes(TankType.COLLECTOR)
? "blue"
: "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.types.includes(TankType.COLLECTOR)) {
draft.types = draft.types.filter(
(t) => t !== TankType.COLLECTOR
);
} else {
draft.types = [...draft.types, TankType.COLLECTOR];
}
});
}}
>
<Text
color={
tankFilters.types?.includes(TankType.COLLECTOR)
? undefined
: "blue"
}
style={{ display: "flex", justifyContent: "center" }}
>
<ResearchedIcon style={{ width: "1em", height: "1em" }} />
</Text>
</IconButton>
</Flex>
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction={compact ? "column" : { md: "row", initial: "column" }}
>
<IconButton
variant={tankFilters.testing === "include" ? "solid" : "soft"}
radius="none"
color={tankFilters.testing === "include" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.testing = "include";
});
}}
>
<ExperimentIcon
style={{ width: "1em", height: "1em", color: "currentColor" }}
/>
</IconButton>
<IconButton
variant={tankFilters.testing === "exclude" ? "solid" : "soft"}
radius="none"
color={tankFilters.testing === "exclude" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.testing = "exclude";
});
}}
>
<ScienceOffIcon
style={{ width: "1em", height: "1em", color: "currentColor" }}
/>
</IconButton>
<IconButton
variant={tankFilters.testing === "only" ? "solid" : "soft"}
radius="none"
color={tankFilters.testing === "only" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.testing = "only";
});
}}
>
<ScienceIcon
style={{ width: "1em", height: "1em", color: "currentColor" }}
/>
</IconButton>
</Flex>
</Flex>
);
})}
</Flex>
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction="column"
>
<IconButton
variant={tankFilters.gunType.includes("regular") ? "solid" : "soft"}
radius="none"
color={tankFilters.gunType.includes("regular") ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.gunType.includes("regular")) {
draft.gunType = draft.gunType.filter((t) => t !== "regular");
} else {
draft.gunType = [...draft.gunType, "regular"];
}
});
}}
>
<GunRegularIcon style={{ width: "1em", height: "1em" }} />
</IconButton>
<IconButton
variant={
tankFilters.gunType.includes("auto_loader") ? "solid" : "soft"
}
radius="none"
color={
tankFilters.gunType.includes("auto_loader") ? undefined : "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.gunType.includes("auto_loader")) {
draft.gunType = draft.gunType.filter(
(t) => t !== "auto_loader"
);
} else {
draft.gunType = [...draft.gunType, "auto_loader"];
}
});
}}
>
<GunAutoloaderIcon style={{ width: "1em", height: "1em" }} />
</IconButton>
<IconButton
variant={
tankFilters.gunType.includes("auto_reloader") ? "solid" : "soft"
}
radius="none"
color={
tankFilters.gunType.includes("auto_reloader") ? undefined : "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.gunType.includes("auto_reloader")) {
draft.gunType = draft.gunType.filter(
(t) => t !== "auto_reloader"
);
} else {
draft.gunType = [...draft.gunType, "auto_reloader"];
}
});
}}
>
<GunAutoreloaderIcon style={{ width: "1em", height: "1em" }} />
</IconButton>
</Flex>
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction="column"
>
<ShellFilter index={0} />
<ShellFilter index={1} premium />
<ShellFilter index={2} />
</Flex>
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction="column"
>
<IconButton
variant={
tankFilters.types?.includes(TankType.RESEARCHABLE)
? "solid"
: "soft"
}
radius="none"
color={
tankFilters.types?.includes(TankType.RESEARCHABLE)
? undefined
: "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.types.includes(TankType.RESEARCHABLE)) {
draft.types = draft.types.filter(
(t) => t !== TankType.RESEARCHABLE
);
} else {
draft.types = [...draft.types, TankType.RESEARCHABLE];
}
});
}}
>
<ResearchedIcon style={{ width: "1em", height: "1em" }} />
</IconButton>
<IconButton
variant={
tankFilters.types?.includes(TankType.PREMIUM) ? "solid" : "soft"
}
radius="none"
color={
tankFilters.types?.includes(TankType.PREMIUM) ? "amber" : "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.types.includes(TankType.PREMIUM)) {
draft.types = draft.types.filter(
(t) => t !== TankType.PREMIUM
);
} else {
draft.types = [...draft.types, TankType.PREMIUM];
}
});
}}
>
<Text
color={
tankFilters.types?.includes(TankType.PREMIUM)
? undefined
: "amber"
}
style={{ display: "flex", justifyContent: "center" }}
>
<ResearchedIcon style={{ width: "1em", height: "1em" }} />
</Text>
</IconButton>
<IconButton
variant={
tankFilters.types?.includes(TankType.COLLECTOR) ? "solid" : "soft"
}
radius="none"
color={
tankFilters.types?.includes(TankType.COLLECTOR) ? "blue" : "gray"
}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
if (tankFilters.types.includes(TankType.COLLECTOR)) {
draft.types = draft.types.filter(
(t) => t !== TankType.COLLECTOR
);
} else {
draft.types = [...draft.types, TankType.COLLECTOR];
}
});
}}
>
<Text
color={
tankFilters.types?.includes(TankType.COLLECTOR)
? undefined
: "blue"
}
style={{ display: "flex", justifyContent: "center" }}
>
<ResearchedIcon style={{ width: "1em", height: "1em" }} />
</Text>
</IconButton>
</Flex>
<Flex
overflow="hidden"
style={{ borderRadius: "var(--radius-full)" }}
direction="column"
>
<IconButton
variant={tankFilters.testing === "include" ? "solid" : "soft"}
radius="none"
color={tankFilters.testing === "include" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.testing = "include";
});
}}
>
<ComponentBooleanIcon />
</IconButton>
<IconButton
variant={tankFilters.testing === "exclude" ? "solid" : "soft"}
radius="none"
color={tankFilters.testing === "exclude" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.testing = "exclude";
});
}}
>
<ScienceOffIcon
style={{ width: "1em", height: "1em", color: "currentColor" }}
/>
</IconButton>
<IconButton
variant={tankFilters.testing === "only" ? "solid" : "soft"}
radius="none"
color={tankFilters.testing === "only" ? undefined : "gray"}
highContrast
onClick={() => {
TankFilters.mutate((draft) => {
draft.testing = "only";
});
}}
>
<ScienceIcon
style={{ width: "1em", height: "1em", color: "currentColor" }}
/>
</IconButton>
</Flex>
{wargaming ? (
<OwnershipFilter />
) : (
<Tooltip content={strings.website.common.tank_search.login}>
<OwnershipFilter />
</Tooltip>
)}
</Flex>
{clearable && (
@@ -11,13 +11,15 @@ import { Callout, Flex, Link, Text, type FlexProps } from "@radix-ui/themes";
import fuzzysort from "fuzzysort";
import { times, uniq } from "lodash-es";
import { memo, useEffect, useMemo, useState } from "react";
import usePromise from "react-promise-suspense";
import { awaitableGameDefinitions } from "../../core/awaitables/gameDefinitions";
import { awaitableModelDefinitions } from "../../core/awaitables/modelDefinitions";
import { awaitableTankDefinitions } from "../../core/awaitables/tankDefinitions";
import { awaitableTankNames } from "../../core/awaitables/tankNames";
import { filterTank } from "../../core/blitzkit/filterTank";
import { filterTanks } from "../../core/blitzkit/filterTanks";
import { resolveReload } from "../../core/blitzkit/resolveReload";
import { useLocale } from "../../hooks/useLocale";
import { App } from "../../stores/app";
import { TankFilters } from "../../stores/tankFilters";
import { TankopediaPersistent } from "../../stores/tankopediaPersistent";
import { SORT_UNITS } from "../../stores/tankopediaPersistent/constants";
@@ -54,15 +56,34 @@ const [gameDefinitions, modelDefinitions, tankDefinitions, tankNames] =
export const TankSearch = memo<TankSearchProps>(
({ compact, onSelect, onSelectAll, skeleton, ...props }) => {
const { strings, locale } = useLocale();
const wargaming = App.use((state) => state.logins.wargaming);
const awaitedTanksDefinitionsArray = Object.values(tankDefinitions.tanks);
const tankopediaSort = TankSort.use();
const tankFilters = TankFilters.use();
const tanksFiltered = useMemo(() => {
const filtered = usePromise(
() => {
if (tankFilters.search === null) {
return filterTanks(
tankFilters,
awaitedTanksDefinitionsArray,
wargaming?.id
);
} else {
return Promise.resolve(
fuzzysort
.go(tankFilters.search, tankNames, {
keys: SEARCH_KEYS,
})
.map((result) => tankDefinitions.tanks[result.obj.id])
);
}
},
// react-promise-suspense has awful type annotations
[tankFilters] as any
);
const sorted = useMemo(() => {
if (tankFilters.search === null) {
const filtered = awaitedTanksDefinitionsArray.filter((tank) =>
filterTank(tankFilters, tank)
);
let sorted: TankDefinition[];
switch (tankopediaSort.by) {
@@ -396,17 +417,12 @@ export const TankSearch = memo<TankSearchProps>(
? sorted
: sorted.reverse();
} else {
const searchedRaw = fuzzysort.go(tankFilters.search, tankNames, {
keys: SEARCH_KEYS,
});
const searchedTanks = searchedRaw.map(
(result) => tankDefinitions.tanks[result.obj.id]
);
return searchedTanks;
return filtered;
}
}, [tankFilters, tankopediaSort]);
const [loadedCards, setLoadedCards] = useState(DEFAULT_LOADED_CARDS);
const tanks = tanksFiltered.slice(0, loadedCards);
const tanks = sorted.slice(0, loadedCards);
useEffect(() => {
setLoadedCards(DEFAULT_LOADED_CARDS);
@@ -420,19 +436,17 @@ export const TankSearch = memo<TankSearchProps>(
onSelect={onSelect}
/>
{!tankFilters.search && !tankFilters.searching && (
<FilterControl compact={compact} />
)}
{!tankFilters.search && !tankFilters.searching && <FilterControl />}
{!skeleton && !compact && <RecentlyViewed />}
<Flex mt="2" gap="1" align="center" justify="center" direction="column">
<Flex gap="2">
<Text color="gray">
{tanksFiltered.length === 1
{sorted.length === 1
? strings.website.common.tank_search.count_singular
: literals(strings.website.common.tank_search.count_plural, {
count: tanksFiltered.length.toLocaleString(locale),
count: sorted.length.toLocaleString(locale),
})}
</Text>
@@ -442,10 +456,10 @@ export const TankSearch = memo<TankSearchProps>(
href="#"
onClick={(event) => {
event.preventDefault();
onSelectAll(tanksFiltered);
onSelectAll(sorted);
TankopediaPersistent.mutate((draft) => {
draft.recentlyViewed = uniq([
...tanksFiltered.map(({ id }) => id),
...sorted.map(({ id }) => id),
...draft.recentlyViewed,
])
.filter((id) => id in tankDefinitions.tanks)
@@ -499,14 +513,14 @@ export const TankSearch = memo<TankSearchProps>(
))}
{times(
Math.min(PREVIEW_COUNT, tanksFiltered.length - loadedCards),
Math.min(PREVIEW_COUNT, sorted.length - loadedCards),
(index) => {
return (
<SkeletonTankCard
key={index}
onIntersection={() => {
setLoadedCards((state) =>
Math.min(state + 2, tanksFiltered.length)
Math.min(state + 2, sorted.length)
);
}}
/>
@@ -1,17 +1,17 @@
import { HeightIcon, WidthIcon } from '@radix-ui/react-icons';
import { Flex, TextField } from '@radix-ui/themes';
import type { QuicklimeEvent } from 'quicklime';
import { useEffect, useRef } from 'react';
import { degToRad, radToDeg } from 'three/src/math/MathUtils.js';
import { applyPitchYawLimits } from '../../../../../../../core/blitz/applyPitchYawLimits';
import { HeightIcon, WidthIcon } from "@radix-ui/react-icons";
import { Flex, TextField } from "@radix-ui/themes";
import type { QuicklimeEvent } from "quicklime";
import { useEffect, useRef } from "react";
import { degToRad, radToDeg } from "three/src/math/MathUtils.js";
import { applyPitchYawLimits } from "../../../../../../../core/blitz/applyPitchYawLimits";
import {
type ModelTransformEventData,
modelTransformEvent,
} from '../../../../../../../core/blitzkit/modelTransform';
import { useEquipment } from '../../../../../../../hooks/useEquipment';
import { useTankModelDefinition } from '../../../../../../../hooks/useTankModelDefinition';
import { Duel } from '../../../../../../../stores/duel';
import './index.css';
} from "../../../../../../../core/blitzkit/modelTransform";
import { useEquipment } from "../../../../../../../hooks/useEquipment";
import { useTankModelDefinition } from "../../../../../../../hooks/useTankModelDefinition";
import { Duel } from "../../../../../../../stores/duel";
import "./index.css";
export function QuickInputs() {
const protagonist = Duel.use((state) => state.protagonist);
@@ -28,12 +28,12 @@ export function QuickInputs() {
useEffect(() => {
function handleTransformEvent(
event: QuicklimeEvent<ModelTransformEventData>,
event: QuicklimeEvent<ModelTransformEventData>
) {
if (!pitchInput.current || !yawInput.current) return;
pitchInput.current.value = (
-radToDeg(event.data.pitch) +
radToDeg(event.data.pitch) +
(tankModelDefinition.initial_turret_rotation?.pitch ?? 0)
).toFixed(1);
@@ -56,11 +56,11 @@ export function QuickInputs() {
width="4rem"
direction="column"
style={{
pointerEvents: 'auto',
position: 'absolute',
top: '50%',
transform: 'translateY(-50%)',
transitionDuration: '0.2s',
pointerEvents: "auto",
position: "absolute",
top: "50%",
transform: "translateY(-50%)",
transitionDuration: "0.2s",
}}
className="quick-inputs"
>
@@ -68,14 +68,14 @@ export function QuickInputs() {
variant="classic"
size="1"
radius="full"
style={{ flex: 1, textAlign: 'right' }}
style={{ flex: 1, textAlign: "right" }}
defaultValue="0.0"
onBlur={() => {
const value = Number(yawInput.current!.value);
if (isNaN(value)) {
yawInput.current!.value = radToDeg(
modelTransformEvent.last!.yaw,
modelTransformEvent.last!.yaw
).toFixed(1);
return;
}
@@ -86,23 +86,23 @@ export function QuickInputs() {
gunModelDefinition.pitch,
turretModelDefinition.yaw,
hasImprovedVerticalStabilizer,
hasDownImprovedVerticalStabilizer,
hasDownImprovedVerticalStabilizer
);
modelTransformEvent.dispatch({ pitch, yaw });
yawInput.current!.value = radToDeg(
modelTransformEvent.last!.yaw,
modelTransformEvent.last!.yaw
).toFixed(1);
}}
onKeyDown={(event) => {
if (event.key === 'Enter') {
if (event.key === "Enter") {
yawInput.current?.blur();
}
}}
onFocus={() => yawInput.current?.focus()}
ref={yawInput}
>
<TextField.Slot style={{ userSelect: 'none' }}>
<TextField.Slot style={{ userSelect: "none" }}>
<WidthIcon />
</TextField.Slot>
<TextField.Slot />
@@ -112,31 +112,31 @@ export function QuickInputs() {
variant="classic"
size="1"
radius="full"
style={{ flex: 1, textAlign: 'right' }}
style={{ flex: 1, textAlign: "right" }}
defaultValue="0.0"
onBlur={() => {
const value = Number(pitchInput.current!.value);
if (isNaN(value)) {
pitchInput.current!.value = (
-radToDeg(modelTransformEvent.last!.pitch) + initialGunPitch
radToDeg(modelTransformEvent.last!.pitch) + initialGunPitch
).toFixed(1);
return;
}
const [pitch, yaw] = applyPitchYawLimits(
degToRad(-value + initialGunPitch),
degToRad(value + initialGunPitch),
modelTransformEvent.last!.yaw,
gunModelDefinition.pitch,
turretModelDefinition.yaw,
hasImprovedVerticalStabilizer,
hasDownImprovedVerticalStabilizer,
hasDownImprovedVerticalStabilizer
);
modelTransformEvent.dispatch({ pitch, yaw });
pitchInput.current!.value = (
-radToDeg(modelTransformEvent.last!.pitch) + initialGunPitch
radToDeg(modelTransformEvent.last!.pitch) + initialGunPitch
).toFixed(1);
}}
onKeyDown={(event) => {
if (event.key === 'Enter') {
if (event.key === "Enter") {
pitchInput.current?.blur();
}
}}
@@ -145,7 +145,7 @@ export function QuickInputs() {
>
<TextField.Slot
style={{
userSelect: 'none',
userSelect: "none",
}}
>
<HeightIcon />
@@ -6,13 +6,15 @@ import {
} from "@blitzkit/core";
import { literals } from "@blitzkit/i18n/src/literals";
import {
Crosshair1Icon,
EnterFullScreenIcon,
ExitFullScreenIcon,
EyeOpenIcon,
ShadowInnerIcon,
ShadowNoneIcon,
} from "@radix-ui/react-icons";
import {
Button,
Checkbox,
Dialog,
DropdownMenu,
Flex,
@@ -284,78 +286,100 @@ export function Options({ thicknessRange, canvas, skeleton }: OptionsProps) {
bottom={revealed ? "4" : "-100%"}
left="50%"
style={{ transform: "translateX(-50%)", transitionDuration: "200ms" }}
gap="2"
>
<Flex
direction="column"
gap="2"
align="center"
style={{ transitionDuration: "200ms" }}
position="relative"
bottom={display === TankopediaDisplay.DynamicArmor ? "0" : "-7rem"}
>
<Flex
align="center"
gap="2"
mb="1"
style={{ cursor: "pointer" }}
onClick={() => {
TankopediaPersistent.mutate((draft) => {
draft.advancedHighlighting = !draft.advancedHighlighting;
});
}}
>
<Checkbox variant="classic" checked={advancedHighlighting} />
<Text color="gray" size="2">
{strings.website.tools.tankopedia.sandbox.dynamic.advanced}
</Text>
</Flex>
<Flex align="center" gap="2">
<Text color="gray" size="2">
{strings.website.tools.tankopedia.sandbox.dynamic.shooter}
</Text>
<Dialog.Root
open={antagonistSelectorOpen}
onOpenChange={setAntagonistSelectorOpen}
>
<Dialog.Trigger>
<Button variant="ghost">
<Flex gap="2" align="center">
<SmallTankIcon id={antagonistTank.id} size={16} />
{unwrap(antagonistTank.name)}
</Flex>
</Button>
</Dialog.Trigger>
<Dialog.Content>
<Dialog.Title align="center">
{strings.website.common.tank_search.select_dialog_title}
</Dialog.Title>
<Tabs.Root
value={tab}
onValueChange={setTab}
style={{ position: "relative" }}
{disturbed && (
<>
{display === TankopediaDisplay.DynamicArmor && (
<IconButton
size="2"
highContrast
onClick={() => {
TankopediaPersistent.mutate((draft) => {
draft.advancedHighlighting = !draft.advancedHighlighting;
});
}}
color={advancedHighlighting ? undefined : "gray"}
variant={advancedHighlighting ? "solid" : "surface"}
>
<TankSearch
compact
onSelect={(tank) => {
Duel.mutate((draft) => {
draft.antagonist.tank = tank;
draft.antagonist.engine = tank.engines.at(-1)!;
draft.antagonist.track = tank.tracks.at(-1)!;
draft.antagonist.turret = tank.turrets.at(-1)!;
draft.antagonist.gun =
draft.antagonist.turret.guns.at(-1)!;
draft.antagonist.shell = draft.antagonist.gun.shells[0];
});
setAntagonistSelectorOpen(false);
}}
/>
</Tabs.Root>
</Dialog.Content>
</Dialog.Root>
</Flex>
{advancedHighlighting ? (
<ShadowInnerIcon />
) : (
<ShadowNoneIcon />
)}
</IconButton>
)}
<DropdownMenu.Root>
<DropdownMenu.Trigger>
<IconButton
size="2"
variant="surface"
highContrast
color="gray"
>
<EyeOpenIcon />
</IconButton>
</DropdownMenu.Trigger>
<DropdownMenu.Content>
<DropdownMenu.Item
onClick={() => poseEvent.emit(Pose.HullDown)}
>
{strings.website.tools.tankopedia.sandbox.poses.hull_down}
</DropdownMenu.Item>
<DropdownMenu.Item
onClick={() => poseEvent.emit(Pose.FaceHug)}
>
{strings.website.tools.tankopedia.sandbox.poses.face_hug}
</DropdownMenu.Item>
<DropdownMenu.Item
onClick={() => poseEvent.emit(Pose.Default)}
>
{strings.website.tools.tankopedia.sandbox.poses.default}
</DropdownMenu.Item>
</DropdownMenu.Content>
</DropdownMenu.Root>
<ScreenshotButton
color="gray"
size="2"
variant="surface"
highContrast
canvas={canvas}
name={protagonistTank.slug}
/>
{fullScreenAvailable && (
<IconButton
size="2"
highContrast
onClick={() => {
if (isFullScreen) {
document.exitFullscreen();
} else document.body.requestFullscreen();
}}
color={isFullScreen ? undefined : "gray"}
variant={isFullScreen ? "solid" : "surface"}
>
{isFullScreen ? (
<ExitFullScreenIcon />
) : (
<EnterFullScreenIcon />
)}
</IconButton>
)}
</>
)}
</Flex>
<Flex gap="3" align="center" mt="2">
@@ -407,61 +431,47 @@ export function Options({ thicknessRange, canvas, skeleton }: OptionsProps) {
</SegmentedControl.Item>
</SegmentedControl.Root>
{disturbed && (
<>
<DropdownMenu.Root>
<DropdownMenu.Trigger>
<IconButton variant="ghost" color="gray">
<EyeOpenIcon />
</IconButton>
</DropdownMenu.Trigger>
{display === TankopediaDisplay.DynamicArmor && (
<Dialog.Root
open={antagonistSelectorOpen}
onOpenChange={setAntagonistSelectorOpen}
>
<Dialog.Trigger>
<Button variant="solid" highContrast>
<Crosshair1Icon />
{unwrap(antagonistTank.name)}
<SmallTankIcon id={antagonistTank.id} size={16} />
</Button>
</Dialog.Trigger>
<DropdownMenu.Content>
<DropdownMenu.Item
onClick={() => poseEvent.emit(Pose.HullDown)}
>
{strings.website.tools.tankopedia.sandbox.poses.hull_down}
</DropdownMenu.Item>
<Dialog.Content>
<Dialog.Title align="center">
{strings.website.common.tank_search.select_dialog_title}
</Dialog.Title>
<DropdownMenu.Item
onClick={() => poseEvent.emit(Pose.FaceHug)}
>
{strings.website.tools.tankopedia.sandbox.poses.face_hug}
</DropdownMenu.Item>
<DropdownMenu.Item
onClick={() => poseEvent.emit(Pose.Default)}
>
{strings.website.tools.tankopedia.sandbox.poses.default}
</DropdownMenu.Item>
</DropdownMenu.Content>
</DropdownMenu.Root>
<ScreenshotButton
color="gray"
variant="ghost"
canvas={canvas}
name={protagonistTank.slug}
/>
{fullScreenAvailable && (
<IconButton
color="gray"
variant="ghost"
onClick={() => {
if (isFullScreen) {
document.exitFullscreen();
} else document.body.requestFullscreen();
}}
<Tabs.Root
value={tab}
onValueChange={setTab}
style={{ position: "relative" }}
>
{isFullScreen ? (
<ExitFullScreenIcon />
) : (
<EnterFullScreenIcon />
)}
</IconButton>
)}
</>
<TankSearch
compact
onSelect={(tank) => {
Duel.mutate((draft) => {
draft.antagonist.tank = tank;
draft.antagonist.engine = tank.engines.at(-1)!;
draft.antagonist.track = tank.tracks.at(-1)!;
draft.antagonist.turret = tank.turrets.at(-1)!;
draft.antagonist.gun =
draft.antagonist.turret.guns.at(-1)!;
draft.antagonist.shell = draft.antagonist.gun.shells[0];
});
setAntagonistSelectorOpen(false);
}}
/>
</Tabs.Root>
</Dialog.Content>
</Dialog.Root>
)}
</Flex>
</Flex>
@@ -19,6 +19,7 @@ const TARGET_FRAME_RATE = 30;
export function Lighting() {
const [cast, setCast] = useState(true);
const t0 = useRef(0);
const topLight = useRef<SpotLight>(null!);
const frontLight = useRef<SpotLight>(null!);
@@ -28,8 +29,15 @@ export function Lighting() {
const last = useRef<number>(0);
const samples = useRef<number[]>([]);
useFrame(({ clock }) => {
if (!cast || clock.elapsedTime < TARGET_FRAME_RATE * N) return;
useFrame(({ clock, frameloop }) => {
if (frameloop === "never") {
t0.current = clock.elapsedTime;
samples.current = [];
return;
}
if (!cast || clock.elapsedTime - t0.current < TARGET_FRAME_RATE * N) {
return;
}
const dt = clock.elapsedTime - last.current;
last.current = clock.elapsedTime;
@@ -1,30 +1,37 @@
import type { TankDefinition } from '@blitzkit/core';
import { times } from 'lodash-es';
import type { TankFilters } from '../../stores/tankFilters';
import type { TankDefinition } from "@blitzkit/core";
import { times } from "lodash-es";
import type { TankFilters } from "../../stores/tankFilters";
const SHELLS = times(3, (index) => index);
export function filterTank(filters: TankFilters, tank: TankDefinition) {
export async function filterTank(
filters: TankFilters,
tank: TankDefinition,
owned: number[] = []
) {
return (
(filters.ownership === "all" ||
(filters.ownership === "owned" && owned.includes(tank.id)) ||
(filters.ownership === "unowned" && !owned.includes(tank.id))) &&
(filters.tiers.length === 0 || filters.tiers.includes(tank.tier)) &&
(filters.nations.length === 0 || filters.nations.includes(tank.nation)) &&
(filters.classes.length === 0 || filters.classes.includes(tank.class)) &&
(filters.types.length === 0 || filters.types.includes(tank.type)) &&
(filters.testing === 'include' ||
(filters.testing === 'only' && tank.testing) ||
(filters.testing === 'exclude' && !tank.testing)) &&
(filters.testing === "include" ||
(filters.testing === "only" && tank.testing) ||
(filters.testing === "exclude" && !tank.testing)) &&
(filters.gunType.length === 0 ||
(filters.gunType.includes('regular') &&
(filters.gunType.includes("regular") &&
tank.turrets.some((turret) =>
turret.guns.some((gun) => gun.gun_type!.$case === 'regular'),
turret.guns.some((gun) => gun.gun_type!.$case === "regular")
)) ||
(filters.gunType.includes('auto_loader') &&
(filters.gunType.includes("auto_loader") &&
tank.turrets.some((turret) =>
turret.guns.some((gun) => gun.gun_type!.$case === 'auto_loader'),
turret.guns.some((gun) => gun.gun_type!.$case === "auto_loader")
)) ||
(filters.gunType.includes('auto_reloader') &&
(filters.gunType.includes("auto_reloader") &&
tank.turrets.some((turret) =>
turret.guns.some((gun) => gun.gun_type!.$case === 'auto_reloader'),
turret.guns.some((gun) => gun.gun_type!.$case === "auto_reloader")
))) &&
tank.turrets.some((turret) =>
turret.guns.some((gun) =>
@@ -32,9 +39,9 @@ export function filterTank(filters: TankFilters, tank: TankDefinition) {
(index) =>
filters.shells[index] === null ||
gun.shells[index] === undefined ||
gun.shells[index].type === filters.shells[index],
),
),
gun.shells[index].type === filters.shells[index]
)
)
)
);
}
@@ -0,0 +1,26 @@
import { getTankStats, idToRegion, TankDefinition } from "@blitzkit/core";
import { TankFilters } from "../../stores/tankFilters";
import { filterTank } from "./filterTank";
export async function filterTanks(
filters: TankFilters,
tanks: TankDefinition[],
player?: number
) {
const filtered: TankDefinition[] = [];
let owned: number[] | undefined;
if (player) {
const tankStats = await getTankStats(idToRegion(player), player, {
fields: "tank_id",
});
owned = tankStats?.map(({ tank_id }) => tank_id);
}
for (const tank of tanks) {
if (await filterTank(filters, tank, owned)) filtered.push(tank);
}
return filtered;
}
-10
View File
@@ -1,10 +0,0 @@
import { useRef } from 'react';
import usePromise from 'react-promise-suspense';
/**
* A more stable alternative to `use` using `usePromise`.
*/
export function useAwait<Type>(promise: Promise<Type>) {
const callback = useRef(async () => await promise);
return usePromise(callback.current, []);
}
@@ -1,7 +1,6 @@
import { fetchEquipmentDefinitions } from '@blitzkit/core';
import { useAwait } from './useAwait';
import { awaitableEquipmentDefinitions } from "../core/awaitables/equipmentDefinitions";
const equipmentDefinitions = useAwait(fetchEquipmentDefinitions());
const equipmentDefinitions = await awaitableEquipmentDefinitions;
export function useEquipmentPreset(preset: string) {
return equipmentDefinitions.presets[preset];
+1 -1
View File
@@ -6,7 +6,7 @@ export interface WargamingLogin {
expires: number;
}
interface App {
export interface App {
developerMode: boolean;
policiesAgreementIndex: number;
logins: {
@@ -22,6 +22,7 @@ export interface TankFilters {
searching: boolean;
gunType: CaseType<GunDefinition>[];
shells: [ShellType | null, ShellType | null, ShellType | null];
ownership: "all" | "owned" | "unowned";
}
export const TankFilters = new Varuna<TankFilters>({
@@ -34,4 +35,5 @@ export const TankFilters = new Varuna<TankFilters>({
searching: false,
gunType: [],
shells: [null, null, null],
ownership: "all",
});