Files
UnrealEngineUWP/Engine/Source/Runtime/CoreUObject/Private/Internationalization
jamie dale 827e849807 Added an API to edit the attributes of a text property, akin to what happens when editing it in a details panel
This is needed when upgrading localized text data in an editor-like environment via a BP, as any String -> Text conversion within a BP produces an invariant (unlocalizable) text

* Moved the implementation of IEditableTextProperty::StaticStableTextId to TextNamespaceUtil::GetTextIdForEdit.
* Added TextNamespaceUtil::EditTextProperty to safely edit a given text attribute to a given value.
* Added TextNamespaceUtil::GenerateDeterministicTextKey as a way to build deterministic text keys for a given object and property pair.
* Added UKismetTextLibrary::EditTextSourceString to expose the above to BPs in a way that can safely edit the source string of a text property.

[FYI] Leon.Huang
#rb alex.thomson

[CL 30090283 by jamie dale in ue5-main branch]
2023-12-04 14:15:25 -05:00
..