trophy collection: fix one translate string missing.

- details string of npcom id
This commit is contained in:
Zangetsu38 2021-08-06 23:37:06 +02:00 committed by Nicolas Jallamion
parent db159b4762
commit c627bb335e

View File

@ -604,7 +604,7 @@ void draw_trophy_collection(GuiState &gui, HostState &host) {
ImGui::PopStyleVar();
ImGui::NextColumn();
}
// Detail for Np Com ID
// Detail of Np Com ID
} else if (detail_np_com_id) {
ImGui::SetWindowFontScale(1.5f * RES_SCALE.x);
if (gui.trophy_np_com_id_list_icons[np_com_id_selected].find(group_id_selected == "global" ? "000" : group_id_selected) != gui.trophy_np_com_id_list_icons[np_com_id_selected].end())
@ -638,7 +638,7 @@ void draw_trophy_collection(GuiState &gui, HostState &host) {
}
ImGui::PushTextWrapPos(SIZE_INFO.x - 40.f);
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + (35.f * SCALE.y));
ImGui::Text("Details");
ImGui::TextColored(GUI_COLOR_TEXT, "%s", !lang["details"].empty() ? lang["details"].c_str() : "Details");
ImGui::SameLine(260.f * SCALE.x);
ImGui::TextColored(GUI_COLOR_TEXT, "%s", np_com_id_info[np_com_id_selected].detail[group_id_selected == "global" ? "000" : group_id_selected].c_str());
ImGui::PopTextWrapPos();