1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-09-06 08:20:15 +02:00

translations: rename enums and avoid macros

This commit is contained in:
Alexis Murzeau 2022-08-27 22:22:09 +02:00
parent ead8ac2c18
commit ea4e143405
13 changed files with 7576 additions and 7534 deletions

View file

@ -34,7 +34,7 @@ void font_selection::RenderDialog()
ImGui::SameLine();
ImGui::InputText("", DialogInputBuffer, IM_ARRAYSIZE(DialogInputBuffer));
if (ImGui::Button(pinball::get_rc_string(translation_id_e::HIGHSCORES_Ok)))
if (ImGui::Button(pinball::get_rc_string(Msg::HIGHSCORES_Ok)))
{
options::Options.FontFileName = DialogInputBuffer;
ImGui::CloseCurrentPopup();
@ -42,7 +42,7 @@ void font_selection::RenderDialog()
}
ImGui::SameLine();
if (ImGui::Button(pinball::get_rc_string(translation_id_e::HIGHSCORES_Cancel)))
if (ImGui::Button(pinball::get_rc_string(Msg::HIGHSCORES_Cancel)))
ImGui::CloseCurrentPopup();
ImGui::EndPopup();