From 3462a98ad1cc304ddd09acc684947a492c19503e Mon Sep 17 00:00:00 2001 From: Anderson Silva Date: Thu, 9 Mar 2023 15:09:27 -0300 Subject: [PATCH 1/2] feat: Added Muerta Strings --- lang/en-us.json | 1 + lang/es-es.json | 1 + lang/ja-jp.json | 1 + lang/pt-br.json | 1 + lang/ru-ru.json | 1 + lang/th-th.json | 1 + lang/uk-ua.json | 1 + 7 files changed, 7 insertions(+) diff --git a/lang/en-us.json b/lang/en-us.json index 04bdbf2..753235b 100644 --- a/lang/en-us.json +++ b/lang/en-us.json @@ -142,6 +142,7 @@ "npc_dota_hero_monkey_king": "Monkey King", "npc_dota_hero_monkey_king_2": "Monkey King", "npc_dota_hero_morphling": "Morphling", + "npc_dota_hero_muerta": "Muerta", "npc_dota_hero_naga_siren": "Naga Siren", "npc_dota_hero_furion": "Nature's Prophet", "npc_dota_hero_necrolyte": "Necrophos", diff --git a/lang/es-es.json b/lang/es-es.json index 0628c19..2cf88c4 100644 --- a/lang/es-es.json +++ b/lang/es-es.json @@ -142,6 +142,7 @@ "npc_dota_hero_monkey_king": "Monkey King", "npc_dota_hero_monkey_king_2": "Monkey King", "npc_dota_hero_morphling": "Morphling", + "npc_dota_hero_muerta": "Muerta", "npc_dota_hero_naga_siren": "Naga Siren", "npc_dota_hero_furion": "Nature's Prophet", "npc_dota_hero_necrolyte": "Necrophos", diff --git a/lang/ja-jp.json b/lang/ja-jp.json index e20bd6f..08ae222 100644 --- a/lang/ja-jp.json +++ b/lang/ja-jp.json @@ -142,6 +142,7 @@ "npc_dota_hero_monkey_king": "Monkey King", "npc_dota_hero_monkey_king_2": "Monkey King", "npc_dota_hero_morphling": "Morphling", + "npc_dota_hero_muerta": "Muerta", "npc_dota_hero_naga_siren": "Naga Siren", "npc_dota_hero_furion": "Nature's Prophet", "npc_dota_hero_necrolyte": "Necrophos", diff --git a/lang/pt-br.json b/lang/pt-br.json index f0982d0..02dc880 100644 --- a/lang/pt-br.json +++ b/lang/pt-br.json @@ -142,6 +142,7 @@ "npc_dota_hero_monkey_king": "Monkey King", "npc_dota_hero_monkey_king_2": "Monkey King", "npc_dota_hero_morphling": "Morphling", + "npc_dota_hero_muerta": "Muerta", "npc_dota_hero_naga_siren": "Naga Siren", "npc_dota_hero_furion": "Nature's Prophet", "npc_dota_hero_necrolyte": "Necrophos", diff --git a/lang/ru-ru.json b/lang/ru-ru.json index 11df74f..85a2a98 100644 --- a/lang/ru-ru.json +++ b/lang/ru-ru.json @@ -142,6 +142,7 @@ "npc_dota_hero_monkey_king": "Monkey King", "npc_dota_hero_monkey_king_2": "Monkey King", "npc_dota_hero_morphling": "Morphling", + "npc_dota_hero_muerta": "Muerta", "npc_dota_hero_naga_siren": "Naga Siren", "npc_dota_hero_furion": "Nature's Prophet", "npc_dota_hero_necrolyte": "Necrophos", diff --git a/lang/th-th.json b/lang/th-th.json index 7e729ce..3d65e6f 100644 --- a/lang/th-th.json +++ b/lang/th-th.json @@ -142,6 +142,7 @@ "npc_dota_hero_monkey_king": "Monkey King", "npc_dota_hero_monkey_king_2": "Monkey King", "npc_dota_hero_morphling": "Morphling", + "npc_dota_hero_muerta": "Muerta", "npc_dota_hero_naga_siren": "Naga Siren", "npc_dota_hero_furion": "Nature's Prophet", "npc_dota_hero_necrolyte": "Necrophos", diff --git a/lang/uk-ua.json b/lang/uk-ua.json index fdf1588..d98b375 100644 --- a/lang/uk-ua.json +++ b/lang/uk-ua.json @@ -142,6 +142,7 @@ "npc_dota_hero_monkey_king": "Monkey King", "npc_dota_hero_monkey_king_2": "Monkey King", "npc_dota_hero_morphling": "Morphling", + "npc_dota_hero_muerta": "Muerta", "npc_dota_hero_naga_siren": "Naga Siren", "npc_dota_hero_furion": "Nature's Prophet", "npc_dota_hero_necrolyte": "Necrophos", From 2488f7540d1a9754a5c359702a2292024c75b3ea Mon Sep 17 00:00:00 2001 From: Anderson Silva Date: Thu, 9 Mar 2023 15:15:17 -0300 Subject: [PATCH 2/2] fix: removed wearables list in stdout --- src/services/DotaService.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/services/DotaService.cpp b/src/services/DotaService.cpp index c77a1fd..ddf074c 100644 --- a/src/services/DotaService.cpp +++ b/src/services/DotaService.cpp @@ -114,8 +114,6 @@ std::string DotaService::getHeroName(Json::Value data) if (data["wearables"].isNull()) return name; - std::cout << data["wearables"] << std::endl; - for (int i = 0;; i++) { std::string key = "wearable" + std::to_string(i);