Improve title of DependencyEditorOwners

This commit is contained in:
kobewi 2022-06-03 01:56:21 +02:00
parent c0bf18e923
commit 847eee71df

View file

@ -349,7 +349,7 @@ void DependencyEditorOwners::show(const String &p_path) {
_fill_owners(EditorFileSystem::get_singleton()->get_filesystem());
popup_centered_ratio(0.3);
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() {