Skip to main content

TranslationKeyUtils

Functions

getTranslationKey

TranslationKeyUtils.getTranslationKey(
prefixstring,
textstring
) → string

Converts a string to a translation key in a fixed format, with a maximum length

Show raw api
{
    "functions": [
        {
            "name": "getTranslationKey",
            "desc": "Converts a string to a translation key in a fixed format, with a maximum length",
            "params": [
                {
                    "name": "prefix",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "text",
                    "desc": "",
                    "lua_type": "string"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "string"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 19,
                "path": "src/clienttranslator/src/Shared/Utils/TranslationKeyUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "TranslationKeyUtils",
    "desc": "",
    "source": {
        "line": 5,
        "path": "src/clienttranslator/src/Shared/Utils/TranslationKeyUtils.lua"
    }
}