You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Add missing i18n to various strings
(cherry picked from commit 25d93200c8)
This commit is contained in:
committed by
Rémi Verschelde
parent
5514126234
commit
2c3646b37b
@@ -5302,22 +5302,26 @@ void AnimationTrackEditor::_edit_menu_pressed(int p_option) {
|
||||
}
|
||||
}
|
||||
|
||||
String track_type;
|
||||
switch (animation->track_get_type(i)) {
|
||||
case Animation::TYPE_TRANSFORM:
|
||||
text += " (Transform)";
|
||||
track_type = TTR("Transform");
|
||||
break;
|
||||
case Animation::TYPE_METHOD:
|
||||
text += " (Methods)";
|
||||
track_type = TTR("Methods");
|
||||
break;
|
||||
case Animation::TYPE_BEZIER:
|
||||
text += " (Bezier)";
|
||||
track_type = TTR("Bezier");
|
||||
break;
|
||||
case Animation::TYPE_AUDIO:
|
||||
text += " (Audio)";
|
||||
track_type = TTR("Audio");
|
||||
break;
|
||||
default: {
|
||||
};
|
||||
}
|
||||
if (!track_type.empty()) {
|
||||
text += vformat(" (%s)", track_type);
|
||||
}
|
||||
|
||||
TreeItem *it = track_copy_select->create_item(troot);
|
||||
it->set_editable(0, true);
|
||||
|
||||
Reference in New Issue
Block a user