Bloom.Book.SizeAndOrientation.GetDisplayName C# (CSharp) Method

GetDisplayName() public static method

THe normal descriptors are things like "a5portrait". This would turn that in "A5 Portrait" (in the current UI lang, eventually)
public static GetDisplayName ( string sizeAndOrientationDescriptor ) : string
sizeAndOrientationDescriptor string
return string
        public static string GetDisplayName(string sizeAndOrientationDescriptor)
        {
            var so = FromString(sizeAndOrientationDescriptor);
            return so.PageSizeName.ToUpperFirstLetter() + " " + so.OrientationName.ToUpperFirstLetter();
        }