1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Disable auto translation of flag names in the inspector

This commit is contained in:
Haoyu Qiu
2025-08-04 16:09:07 +08:00
parent 45509c284c
commit 0b156980f3

View File

@@ -931,6 +931,7 @@ void EditorPropertyFlags::setup(const Vector<String> &p_options) {
EditorPropertyFlags::EditorPropertyFlags() { EditorPropertyFlags::EditorPropertyFlags() {
vbox = memnew(VBoxContainer); vbox = memnew(VBoxContainer);
vbox->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
add_child(vbox); add_child(vbox);
} }