reduceInputName

fun reduceInputName(translationKey: String): String

Reduces a full key name (e.g., "key.keyboard.a") to its minimal form (e.g., "a"). This is useful for simplifying key names for easier recognition.

Return

The reduced key name as a string.

Parameters

translationKey

The full key name as a string.