Skip to content

Commit a7c1f27

Browse files
committed
Add missing ETR/TTR markups
1 parent 0a30831 commit a7c1f27

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

editor/animation_track_editor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5096,7 +5096,7 @@ void AnimationTrackEditor::_update_nearest_fps_label() {
50965096
nearest_fps_label->hide();
50975097
} else {
50985098
nearest_fps_label->show();
5099-
nearest_fps_label->set_text("Nearest FPS: " + itos(nearest_fps));
5099+
nearest_fps_label->set_text(vformat(TTR("Nearest FPS: %d"), nearest_fps));
51005100
}
51015101
}
51025102

@@ -7696,6 +7696,7 @@ AnimationTrackEditor::AnimationTrackEditor() {
76967696
fps_compat->connect(SceneStringName(toggled), callable_mp(this, &AnimationTrackEditor::_update_fps_compat_mode));
76977697

76987698
nearest_fps_label = memnew(Label);
7699+
nearest_fps_label->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
76997700
bottom_hf->add_child(nearest_fps_label);
77007701

77017702
step = memnew(EditorSpinSlider);

editor/connections_dialog.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,9 +871,8 @@ ConnectDialog::ConnectDialog() {
871871
hbc_method->add_child(dst_method);
872872
register_text_enter(dst_method);
873873

874-
open_method_tree = memnew(Button);
874+
open_method_tree = memnew(Button(TTRC("Pick")));
875875
hbc_method->add_child(open_method_tree);
876-
open_method_tree->set_text("Pick");
877876
open_method_tree->connect(SceneStringName(pressed), callable_mp(this, &ConnectDialog::_open_method_popup));
878877

879878
advanced = memnew(CheckButton(TTR("Advanced")));

scene/gui/color_picker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2807,7 +2807,7 @@ ColorPicker::ColorPicker() {
28072807
swatches_vbc->add_child(palette_box);
28082808

28092809
btn_preset = memnew(Button);
2810-
btn_preset->set_text("Swatches");
2810+
btn_preset->set_text(ETR("Swatches"));
28112811
btn_preset->set_flat(true);
28122812
btn_preset->set_toggle_mode(true);
28132813
btn_preset->set_focus_mode(FOCUS_ALL);

0 commit comments

Comments
 (0)