1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Add missing ETR/TTR markups

(cherry picked from commit a7c1f2730f)
This commit is contained in:
Haoyu Qiu
2025-03-12 20:12:33 +08:00
committed by Rémi Verschelde
parent 4b77d8520b
commit 2f90dfef65
3 changed files with 4 additions and 4 deletions

View File

@@ -5088,7 +5088,7 @@ void AnimationTrackEditor::_update_nearest_fps_label() {
nearest_fps_label->hide();
} else {
nearest_fps_label->show();
nearest_fps_label->set_text("Nearest FPS: " + itos(nearest_fps));
nearest_fps_label->set_text(vformat(TTR("Nearest FPS: %d"), nearest_fps));
}
}
@@ -7688,6 +7688,7 @@ AnimationTrackEditor::AnimationTrackEditor() {
fps_compat->connect(SceneStringName(toggled), callable_mp(this, &AnimationTrackEditor::_update_fps_compat_mode));
nearest_fps_label = memnew(Label);
nearest_fps_label->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
bottom_hf->add_child(nearest_fps_label);
step = memnew(EditorSpinSlider);