Skip to content

Commit 5a146ea

Browse files
authored
Merge pull request #345 from the-hideout/player-not-found-message
2 parents 295d1f2 + 00e071d commit 5a146ea

File tree

8 files changed

+295
-277
lines changed

8 files changed

+295
-277
lines changed

commands/player.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ const defaultFunction = {
5656
embeds.push(embed);
5757

5858
if (isNaN(accountId)) {
59-
embed.setTitle(`❌ ${t('{{accountId}} is not a valid account id', {accountId})}`);
60-
embed.setDescription(t('Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).'));
59+
embed.setTitle(`❌ ${t('Account id {{accountId}} not found', {accountId})}`);
60+
embed.setDescription(t('Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.'));
6161
embed.setFooter({text: gameModeLabel});
6262
return interaction.editReply({
6363
embeds,

translations/de.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
"🔴 Poor": "🔴 Schlecht",
88
"🛒 {{traderName}} restock in {{numMinutes}} minutes 🛒 ({{gameMode}})": "🛒 {{traderName}} neue Vorräte in {{numMinutes}} Minuten 🛒 ({{gameMode}})",
99
"❌ ERROR ❌": "❌ Fehler ❌",
10+
"{{side}} Stats": "{{side}} Stats",
1011
"{{thingName}} set to {{level}}.": "{{thingName}} auf {{level}} gesetzt.",
1112
"A Dmg": "A Dmg",
1213
"About": "Über",
1314
"Access item(s)": "Access item(s)",
1415
"Access item(s) for level >= {{playerLevel}}": "Access item(s) for level >= {{playerLevel}}",
16+
"Account id {{accountId}} not found": "Account id {{accountId}} not found",
17+
"Achievements": "Achievements",
1518
"additional results not shown.": "weitere Resultate nicht angezeigt.",
1619
"All hideout stations set to {{level}}.": "Alle Unterschlupf Ausbaumöglichkeiten auf {{level}} gesetzt.",
1720
"All traders set to {{level}}.": "Alle Händler auf {{level}} gesetzt.",
@@ -73,7 +76,7 @@
7376
"LL": "LL",
7477
"Loot Tiers": "Beutestuffen",
7578
"Loot tiers are divided primarily by the per-slot value of the item": "Beutestuffen werden primär durch ihren Ablagewert bestimmt.",
76-
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).",
79+
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.",
7780
"Map": "Karte",
7881
"Map made by {{author}}": "Erstellt von {{author}}",
7982
"minutes": "Minuten",

translations/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"🔴 Poor": "🔴 Poor",
88
"🛒 {{traderName}} restock in {{numMinutes}} minutes 🛒 ({{gameMode}})": "🛒 {{traderName}} restock in {{numMinutes}} minutes 🛒 ({{gameMode}})",
99
"❌ ERROR ❌": "❌ ERROR ❌",
10-
"{{accountId}} is not a valid account id": "{{accountId}} is not a valid account id",
1110
"{{side}} Stats": "{{side}} Stats",
1211
"{{thingName}} set to {{level}}.": "{{thingName}} set to {{level}}.",
1312
"A Dmg": "A Dmg",
1413
"About": "About",
1514
"Access item(s)": "Access item(s)",
1615
"Access item(s) for level >= {{playerLevel}}": "Access item(s) for level >= {{playerLevel}}",
16+
"Account id {{accountId}} not found": "Account id {{accountId}} not found",
1717
"Achievements": "Achievements",
1818
"additional results not shown.": "additional results not shown.",
1919
"All hideout stations set to {{level}}.": "All hideout stations set to {{level}}.",
@@ -90,7 +90,7 @@
9090
"Longest Survival Streak": "Longest Survival Streak",
9191
"Loot Tiers": "Loot Tiers",
9292
"Loot tiers are divided primarily by the per-slot value of the item": "Loot tiers are divided primarily by the per-slot value of the item",
93-
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).",
93+
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.",
9494
"Map": "Map",
9595
"Map made by {{author}}": "Map made by {{author}}",
9696
"Minimum Level": "Minimum Level",

translations/es.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
"🔴 Poor": "🔴 Pobre",
88
"🛒 {{traderName}} restock in {{numMinutes}} minutes 🛒 ({{gameMode}})": "🛒 {{traderName}} reabasteciendo en {{numMinutes}} minutos 🛒 ({{gameMode}})",
99
"❌ ERROR ❌": "❌ ERROR ❌",
10+
"{{side}} Stats": "{{side}} Stats",
1011
"{{thingName}} set to {{level}}.": "{{thingName}} ajustado a {{level}}.",
1112
"A Dmg": "Daño A",
1213
"About": "Sobre",
1314
"Access item(s)": "Access item(s)",
1415
"Access item(s) for level >= {{playerLevel}}": "Access item(s) for level >= {{playerLevel}}",
16+
"Account id {{accountId}} not found": "Account id {{accountId}} not found",
17+
"Achievements": "Achievements",
1518
"additional results not shown.": "resultados adicionales no mostrados.",
1619
"All hideout stations set to {{level}}.": "Todas las estaciones de escondite configuradas a {{level}}.",
1720
"All traders set to {{level}}.": "Todos los comerciantes configurados a {{level}}.",
@@ -73,7 +76,7 @@
7376
"LL": "LL",
7477
"Loot Tiers": "Niveles de botín",
7578
"Loot tiers are divided primarily by the per-slot value of the item": "Los niveles de botín se dividen principalmente por el valor por ranura del artículo",
76-
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).",
79+
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.",
7780
"Map": "Mapa",
7881
"Map made by {{author}}": "Mapa hecho por {{author}}",
7982
"minutes": "minutos",

translations/fr.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
"🔴 Poor": "🔴 Mauvais",
88
"🛒 {{traderName}} restock in {{numMinutes}} minutes 🛒 ({{gameMode}})": "🛒 {{traderName}} se réapprovisionne dans {{numMinutes}} minutes 🛒 ({{gameMode}})",
99
"❌ ERROR ❌": "❌ ERREUR ❌",
10+
"{{side}} Stats": "{{side}} Stats",
1011
"{{thingName}} set to {{level}}.": "{{thingName}} mise au niveau {{level}}.",
1112
"A Dmg": "A Dmg",
1213
"About": "À propos",
1314
"Access item(s)": "Access item(s)",
1415
"Access item(s) for level >= {{playerLevel}}": "Access item(s) for level >= {{playerLevel}}",
16+
"Account id {{accountId}} not found": "Account id {{accountId}} not found",
17+
"Achievements": "Achievements",
1518
"additional results not shown.": "Les résultats additionels ne sont pas montrés.",
1619
"All hideout stations set to {{level}}.": "Toutes les stations du refuge mises au niveau {{level}}.",
1720
"All traders set to {{level}}.": "Tous les marchands mis au niveau {{level}}.",
@@ -73,7 +76,7 @@
7376
"LL": "LL",
7477
"Loot Tiers": "Rang de butin",
7578
"Loot tiers are divided primarily by the per-slot value of the item": "Les niveaux de butin sont divisés principalement par la valeur de l'objet par emplacement d'inventaire.",
76-
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).",
79+
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.",
7780
"Map": "Carte",
7881
"Map made by {{author}}": "Carte réalisée par {{author}}",
7982
"minutes": "minutes",

translations/pl.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
"🔴 Poor": "🔴 Słabe",
88
"🛒 {{traderName}} restock in {{numMinutes}} minutes 🛒 ({{gameMode}})": "🛒 {{traderName}} uzupełni się za {{numMinutes}} minut 🛒 ({{gameMode}})",
99
"❌ ERROR ❌": "❌ BŁĄD ❌",
10+
"{{side}} Stats": "{{side}} Stats",
1011
"{{thingName}} set to {{level}}.": "{{thingName}} ustawiono na {{level}}.",
1112
"A Dmg": "Obr pan",
1213
"About": "O",
1314
"Access item(s)": "Access item(s)",
1415
"Access item(s) for level >= {{playerLevel}}": "Access item(s) for level >= {{playerLevel}}",
16+
"Account id {{accountId}} not found": "Account id {{accountId}} not found",
17+
"Achievements": "Achievements",
1518
"additional results not shown.": "dodatkowe wyniki nie pokazane.",
1619
"All hideout stations set to {{level}}.": "Wszystkie stacje w kryjówce ustawiono na {{level}}.",
1720
"All traders set to {{level}}.": "Wszycy handlarze ustawieni na {{level}}.",
@@ -73,7 +76,7 @@
7376
"LL": "PL",
7477
"Loot Tiers": "Rangi łupów",
7578
"Loot tiers are divided primarily by the per-slot value of the item": "Rangi łupów są podzielone przede wszystkim ze względu na wartość przedmiotu na miejsce",
76-
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players).",
79+
"Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.": "Make sure you have the right game mode active and that the profile has been viewed on [tarkov.dev](https://tarkov.dev/players). It may take up to 24 hours after the profile first being viewed on tarkov.dev to be available here.",
7780
"Map": "Mapa",
7881
"Map made by {{author}}": "Mapa zrobiona przez {{author}}",
7982
"minutes": "minuty",

0 commit comments

Comments
 (0)