|
@@ -5096,7 +5096,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));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -7696,6 +7696,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);
|