TraktPlugin.GUI.GUISearch.GetSearchListName C# (CSharp) Method

GetSearchListName() private method

private GetSearchListName ( SearchType type ) : string
type SearchType
return string
        private string GetSearchListName(SearchType type)
        {
            string listName = string.Empty;

            switch (type)
            {
                case SearchType.movies:
                    listName = Translation.Movies;
                    break;

                case SearchType.shows:
                    listName = Translation.TVShows;
                    break;

                case SearchType.episodes:
                    listName = Translation.Episodes;
                    break;

                case SearchType.people:
                    listName = Translation.People;
                    break;

                case SearchType.users:
                    listName = Translation.Users;
                    break;

                case SearchType.lists:
                    listName = Translation.Lists;
                    break;
            }

            return listName;
        }