Improve title of DependencyEditorOwners

(cherry picked from commit 847eee71dfb9462df69195e8415a29258994584c)
This commit is contained in:
kobewi 2022-06-03 01:56:21 +02:00 committed by Relintai
parent 8e229841be
commit bbf62e97b8

View File

@ -357,7 +357,7 @@ void DependencyEditorOwners::show(const String &p_path) {
_fill_owners(EditorFileSystem::get_singleton()->get_filesystem());
popup_centered_ratio();
set_title(TTR("Owners Of:") + " " + p_path.get_file());
set_title(vformat(TTR("Owners of: %s (Total: %d)"), p_path.get_file(), owners->get_item_count()));
}
DependencyEditorOwners::DependencyEditorOwners(EditorNode *p_editor) {