Bloom.CollectionChoosing.OpenCreateCloneControl.ReportIfInvalidCollectionToEdit C# (CSharp) Method

ReportIfInvalidCollectionToEdit() public static method

public static ReportIfInvalidCollectionToEdit ( string path ) : bool
path string
return bool
        public static bool ReportIfInvalidCollectionToEdit(string path)
        {
            if (IsInvalidCollectionToEdit(path))
            {
                var msg = L10NSharp.LocalizationManager.GetString("OpenCreateCloneControl.InSourceCollectionMessage",
                    "This collection is part of your 'Sources for new books' which you can see in the bottom left of the Collections tab. It cannot be opened for editing.");
                MessageBox.Show(msg);
                return true;
            }
            return false;
        }