Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ isTranslationKey
Function
isTranslationKey
packages/editor-core/src/Services/SettingsRegistry.ts:27–29 ·
view source on GitHub ↗
(text: string)
Source
from the content-addressed store, hash-verified
25
* 检查文本是否为翻译键(以
'$'
开头)
26
*/
27
export
function
isTranslationKey(text: string): boolean {
28
return
text.startsWith(
'$'
);
29
}
30
31
/**
32
* Get the actual translation key (without
'$'
prefix)
Callers
1
resolveText
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected