diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-25 14:27:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 14:27:20 +0200 |
commit | 21c79d75153733b84533957228d0c267ef340a80 (patch) | |
tree | b857d85a3ca8f186e533d485a846bc23cf75f113 /scene/gui/dialogs.cpp | |
parent | dd743b3c78bbf5c663a6b9590b1887b48abb7e1b (diff) | |
parent | cd02cb27afe398f40201558dcb5076becb532e34 (diff) |
Merge pull request #62311 from KoBeWi/anuluj
Replace some TTRCs with RTRs
Diffstat (limited to 'scene/gui/dialogs.cpp')
-rw-r--r-- | scene/gui/dialogs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 192d214262..a2b05ee50d 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -262,7 +262,7 @@ Button *AcceptDialog::add_button(const String &p_text, bool p_right, const Strin Button *AcceptDialog::add_cancel_button(const String &p_cancel) { String c = p_cancel; if (p_cancel.is_empty()) { - c = TTRC("Cancel"); + c = RTR("Cancel"); } Button *b = swap_cancel_ok ? add_button(c, true) : add_button(c); b->connect("pressed", callable_mp(this, &AcceptDialog::_cancel_pressed)); @@ -349,7 +349,7 @@ AcceptDialog::AcceptDialog() { hbc->add_spacer(); ok = memnew(Button); - ok->set_text(TTRC("OK")); + ok->set_text(RTR("OK")); hbc->add_child(ok); hbc->add_spacer(); |