aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/light_occluder_2d_editor_plugin.cpp
diff options
context:
space:
mode:
authorAndreas Haas2017-08-23 22:25:14 +0200
committerRémi Verschelde2017-08-25 18:49:45 +0200
commit6134d8741d6b255751e7b2811be85b60ef916269 (patch)
tree27edc499e4ecced86630715232f7adfa62f9b3c4 /editor/plugins/light_occluder_2d_editor_plugin.cpp
parenta1c03a69d2940fb69d7221800e919f4a183fec0c (diff)
downloadgodot-6134d87.tar.gz
godot-6134d87.tar.zst
godot-6134d87.zip
Editor: Add some more translatable strings.
Diffstat (limited to 'editor/plugins/light_occluder_2d_editor_plugin.cpp')
-rw-r--r--editor/plugins/light_occluder_2d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/light_occluder_2d_editor_plugin.cpp b/editor/plugins/light_occluder_2d_editor_plugin.cpp
index 14d9f3991..e83cd779c 100644
--- a/editor/plugins/light_occluder_2d_editor_plugin.cpp
+++ b/editor/plugins/light_occluder_2d_editor_plugin.cpp
@@ -106,7 +106,7 @@ bool LightOccluder2DEditor::forward_gui_input(const Ref<InputEvent> &p_event) {
if (node->get_occluder_polygon().is_null()) {
Ref<InputEventMouseButton> mb = p_event;
if (mb.is_valid() && mb->get_button_index() == 1 && mb->is_pressed()) {
- create_poly->set_text("No OccluderPolygon2D resource on this node.\nCreate and assign one?");
+ create_poly->set_text(TTR("No OccluderPolygon2D resource on this node.\nCreate and assign one?"));
create_poly->popup_centered_minsize();
}
return (mb.is_valid() && mb->get_button_index() == 1);