diff --git a/sources/Data/Collections/Collection.uc b/sources/Data/Collections/Collection.uc index f0db70a..a6dafb3 100644 --- a/sources/Data/Collections/Collection.uc +++ b/sources/Data/Collections/Collection.uc @@ -450,7 +450,7 @@ public final function string GetFormattedStringBy( } asText = BaseText(result); if (asText != none) { - return _.text.ToFormattedString(asText); + return _.text.IntoFormattedString(asText); } _.memory.Free(result); return defaultValue; @@ -805,7 +805,7 @@ public final function string GetFormattedStringByJSON( } asText = BaseText(result); if (asText != none) { - return _.text.ToFormattedString(asText); + return _.text.IntoFormattedString(asText); } _.memory.Free(result); return defaultValue; diff --git a/sources/Text/TextAPI.uc b/sources/Text/TextAPI.uc index dbeb43d..9424298 100644 --- a/sources/Text/TextAPI.uc +++ b/sources/Text/TextAPI.uc @@ -336,7 +336,7 @@ public final function string IntoString(/*take*/ BaseText toConvert) * @return `string` representation of passed `BaseText` as a colored `string`. * Empty `string`, if `toConvert == none`. */ -public final function string ToColoredString(/*take*/ Text toConvert) +public final function string IntoColoredString(/*take*/ BaseText toConvert) { local string result; if (toConvert != none) { @@ -358,7 +358,7 @@ public final function string ToColoredString(/*take*/ Text toConvert) * @return `string` representation of passed `BaseText` as a formatted `string`. * Empty `string`, if `toConvert == none`. */ -public final function string ToFormattedString(/*take*/ BaseText toConvert) +public final function string IntoFormattedString(/*take*/ BaseText toConvert) { local string result; if (toConvert != none) {