summaryrefslogtreecommitdiffstats
path: root/modules/multiplayer
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:31:43 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:31:43 +0200
commitc97885be7d1da7ac1e327f36b68d061d42c46a56 (patch)
tree5be7d36a130519d935033f75039f434ba6f1a3f6 /modules/multiplayer
parent27dec32699a686c69d9284a3458736680e3d2307 (diff)
parent91204f6f3f701887716d4628baa72b4f647d8857 (diff)
downloadredot-engine-c97885be7d1da7ac1e327f36b68d061d42c46a56.tar.gz
Merge pull request #89811 from timothyqiu/missing-i18n
Fix missing i18n for some editor strings
Diffstat (limited to 'modules/multiplayer')
-rw-r--r--modules/multiplayer/editor/replication_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/multiplayer/editor/replication_editor.cpp b/modules/multiplayer/editor/replication_editor.cpp
index 6000e2b1d3..8453a41473 100644
--- a/modules/multiplayer/editor/replication_editor.cpp
+++ b/modules/multiplayer/editor/replication_editor.cpp
@@ -600,7 +600,7 @@ void ReplicationEditor::_add_property(const NodePath &p_property, bool p_spawn,
item->set_text_alignment(2, HORIZONTAL_ALIGNMENT_CENTER);
item->set_cell_mode(2, TreeItem::CELL_MODE_RANGE);
item->set_range_config(2, 0, 2, 1);
- item->set_text(2, "Never,Always,On Change");
+ item->set_text(2, TTR("Never", "Replication Mode") + "," + TTR("Always", "Replication Mode") + "," + TTR("On Change", "Replication Mode"));
item->set_range(2, (int)p_mode);
item->set_editable(2, true);
}