Fix i18n for array property custom add button text

This commit is contained in:
Haoyu Qiu 2025-05-19 09:40:48 +08:00
parent 037956dbc9
commit 3df6492a6e
4 changed files with 4 additions and 4 deletions

View file

@ -4115,7 +4115,7 @@ void EditorInspector::update_tree() {
bool is_const = false;
bool numbered = false;
bool foldable = use_folding;
String add_button_text = TTR("Add Element");
String add_button_text = TTRC("Add Element");
String swap_method;
for (int i = (p.type == Variant::NIL ? 1 : 2); i < class_name_components.size(); i++) {
if (class_name_components[i].begins_with("page_size") && class_name_components[i].get_slice_count("=") == 2) {