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:
parent
ead8ac2c18
commit
ea4e143405
13 changed files with 7576 additions and 7534 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue