MCPcopy Create free account

hub / github.com/lokalise/i18n-ally / functions

Functions901 in github.com/lokalise/i18n-ally

↓ 135 callersMethodt
(key: string, ...args: any[])
src/i18n.ts:25
↓ 84 callersMethodgetConfig
(key: string, scope?: ConfigurationScope | undefined)
src/core/Config.ts:516
↓ 79 callersMethodfilter
(node: Node, root = false)
src/views/providers/LocalesTreeProvider.ts:48
↓ 47 callersMethodinfo
(message: string, indent = 0)
src/utils/Log.ts:18
↓ 31 callersMethoderror
(err: Error | string | any = {}, prompt = true, indent = 0)
src/utils/Log.ts:28
↓ 24 callersMethodfire
(src?: string)
src/core/loaders/ComposedLoader.ts:112
↓ 22 callersMethodtrack
(key: TelemetryKey, properties?: Record<string, any>, immediate = false)
src/core/Telemetry.ts:60
↓ 21 callersMethodget
(key: string, field: string, locale?: string)
src/core/Review.ts:47
↓ 19 callersMethodparse
(text: string)
src/parsers/po.ts:13
↓ 14 callersMethodgetTreeNodeByKey
(keypath: string, tree?: LocaleTree)
src/core/loaders/ComposedLoader.ts:88
↓ 13 callersMethodgetValueByKey
(keypath: string, locale?: string, maxLength = 0, stringifySpace?: number)
src/core/loaders/ComposedLoader.ts:104
↓ 12 callersMethoddispose
()
src/webview/panel.ts:216
↓ 12 callersMethodsetConfig
(key: string, value: any, isGlobal = false)
src/core/Config.ts:531
↓ 11 callersFunctionopenFile
(name: string)
test/e2e/ctx.ts:22
↓ 11 callersMethodset
(key: string, field: string, value?: any, locale?: string, save = true)
src/core/Review.ts:36
↓ 11 callersMethodupdate
(e?: ConfigurationChangeEvent)
src/core/Global.ts:319
↓ 11 callersMethodwrite
(pendings: PendingWrite | PendingWrite[])
src/core/loaders/VueSfcLoader.ts:85
↓ 10 callersMethodgetKeys
(document: TextDocument | string, regs?: RegExp[], dotEnding?: boolean, scopes?: ScopeRange[])
src/core/KeyDetector.ts:97
↓ 8 callersMethodisLanguageIdSupported
(languageId: string)
src/core/Global.ts:150
↓ 8 callersMethodnormalizeLocale
(locale: string, fallback?: string, strict?: boolean)
src/core/Config.ts:83
↓ 8 callersMethodpostMessage
(message: Message)
src/protocol/index.ts:56
↓ 7 callersFunctioncreateRunner
(dir: string)
test/e2e/runner.ts:6
↓ 7 callersFunctiongetExt
()
test/e2e/ctx.ts:18
↓ 7 callersMethodgetKeys
()
src/views/items/CurrentFileInUseItem.ts:27
↓ 7 callersMethodgetValue
(locale?: string, interpolate = false, visitedStack: string[] = [])
src/core/Nodes.ts:61
↓ 7 callersMethodload
()
src/core/Review.ts:216
↓ 7 callersMethodsave
()
src/core/Review.ts:232
↓ 7 callersFunctionset
(obj: any, key: string, value: any, override = true)
src/utils/utils.ts:47
↓ 7 callersFunctionsetupTest
(name: string, fn: () => void)
test/e2e/ctx.ts:27
↓ 7 callersMethodshow
()
src/utils/Log.ts:52
↓ 7 callersMethodsort
(elements: LocaleTreeItem[])
src/views/providers/LocalesTreeProvider.ts:82
↓ 6 callersMethodgetComments
(key: string, locale: string, hideResolved = true)
src/core/Review.ts:146
↓ 6 callersMethodinit
(extensionPath: string)
src/i18n.ts:9
↓ 6 callersMethodload
(root: string)
src/frameworks/custom.ts:35
↓ 6 callersFunctionresolve
(lang: string)
src/translators/engines/base.ts:26
↓ 6 callersFunctionresolveFlattenRootKeypath
(keypath: string)
src/utils/utils.ts:29
↓ 6 callersMethodrewriteKeys
(key: string)
src/frameworks/ui5.ts:37
↓ 6 callersFunctiontimeout
(ms = 1000)
test/e2e/ctx.ts:14
↓ 6 callersMethodupdate
()
src/core/loaders/LocaleLoader.ts:605
↓ 6 callersMethodwarn
(message: string, prompt = false, indent = 0)
src/utils/Log.ts:22
↓ 6 callersMethodwrite
(filepath: string, data: any, opts?: FileEncoding)
src/utils/File.ts:62
↓ 5 callersMethodend
(keypath: string, locale: string, update = true)
src/core/Translator.ts:45
↓ 5 callersFunctionflatten
(data: any)
src/utils/flat.ts:6
↓ 5 callersMethodgetChild
(key: string)
src/core/Nodes.ts:114
↓ 5 callersFunctionlog
(inspector: boolean, ...args: any[])
src/translators/engines/deepl.ts:49
↓ 5 callersFunctionmakeMarkdownCommand
(command: Commands, args: any)
src/editor/hover.ts:9
↓ 5 callersMethodopenKey
(keypath: string, locale?: string, index?: number)
src/webview/panel.ts:178
↓ 5 callersFunctionshouldExtract
(str: string, rules: ExtractionRule[] = DefaultExtractionRules)
src/extraction/shouldExtract.ts:3
↓ 5 callersFunctionstringConcatenationToTemplate
(text: string)
src/extraction/parseHardString.ts:5
↓ 5 callersMethodupdateRootPath
()
src/core/Global.ts:288
↓ 4 callersFunctiondecorateLocale
(locale: string)
src/utils/UnicodeDecorator.ts:40
↓ 4 callersMethoddiscardTranslationCandidate
(key: string, locale: string, save?: boolean)
src/core/Review.ts:108
↓ 4 callersMethodgetDocumentSelectors
()
src/core/Global.ts:194
↓ 4 callersMethodgetKey
(document: TextDocument, position: Position, dotEnding?: boolean)
src/core/KeyDetector.ts:53
↓ 4 callersMethodgetKeys
()
src/views/items/CurrentFileNotFoundItem.ts:27
↓ 4 callersMethodgetMatchedParser
(ext: string)
src/core/Global.ts:421
↓ 4 callersMethodgetTranslationCandidate
(key: string, locale: string)
src/core/Review.ts:68
↓ 4 callersMethodgetUsageMatchRegex
(languageId?: string, filepath?: string)
src/core/Global.ts:61
↓ 4 callersFunctionhandler
(type: 'displayLanguage' | 'sourceLanguage')
src/commands/configLanguages.ts:27
↓ 4 callersMethodhasFeatureEnabled
(name: keyof OptionalFeatures)
src/core/Global.ts:235
↓ 4 callersFunctionkeypathValidate
(keypath: string)
src/utils/keypathValidate.ts:1
↓ 4 callersMethodload
()
src/core/loaders/VueSfcLoader.ts:30
↓ 4 callersFunctionoverrideConfirm
(keypath: string, allowSkip = false, allowRenter = false)
src/commands/overrideConfirm.ts:5
↓ 4 callersMethodrequestKeyStyle
()
src/core/Global.ts:83
↓ 4 callersFunctionshouldExtract
(str: string)
src/extraction/rules/base.ts:13
↓ 4 callersFunctionunflatten
(data: any)
src/utils/flat.ts:36
↓ 4 callersMethodupdate
(uri?: Uri)
src/core/CurrentFile.ts:48
↓ 4 callersMethodupdate
(document?: TextDocument)
src/editor/problems.ts:26
↓ 4 callersMethodvalue
()
src/core/Nodes.ts:95
↓ 3 callersFunctionactivate
(locale: string)
examples/by-frameworks/lingui-nextjs/lingui-example/i18n.ts:12
↓ 3 callersMethodanalyzeUsage
(useCache = true)
src/core/Analyst.ts:118
↓ 3 callersMethodapplyTranslationCandidate
(key: string, locale: string, override?: string)
src/core/Review.ts:94
↓ 3 callersFunctioncleanObject
(obj: any)
src/utils/cleanObject.ts:18
↓ 3 callersMethodcreateComment
(reply: CommentReply, type: 'comment'|'approve'|'request_change')
src/editor/reviewComments.ts:96
↓ 3 callersFunctiondeepDirname
(dir: string, depth = 1)
test/fixture-scripts/index.ts:11
↓ 3 callersFunctionextract
(keypath: string, checkOverride = true)
src/commands/extractString.ts:130
↓ 3 callersMethodgetActionSource
(item?: LocaleTreeItem | ProgressSubmenuItem | CommandOptions)
src/core/Telemetry.ts:81
↓ 3 callersFunctiongetAvatarFromEmail
(email?: string)
src/utils/shared.ts:5
↓ 3 callersMethodgetFilepathByKey
(keypath: string, locale?: string)
src/core/loaders/ComposedLoader.ts:96
↓ 3 callersMethodgetMtime
(filepath: string)
src/core/loaders/LocaleLoader.ts:508
↓ 3 callersFunctiongetNodeOrRecord
(item?: LocaleTreeItem | CommandOptions)
src/commands/manipulations/common.ts:15
↓ 3 callersFunctiongetPickItems
(input?: string)
src/commands/extractString.ts:83
↓ 3 callersMethodgetUsages
(document: TextDocument, loader?: Loader)
src/core/KeyDetector.ts:124
↓ 3 callersFunctionhandlePath
(path: any, type: DetectionResult['source'])
src/extraction/parsers/babel.ts:37
↓ 3 callersMethodinterpretRefactorTemplates
(keypath: string, args?: string[], document?: TextDocument, detection?: DetectionResult)
src/core/Global.ts:115
↓ 3 callersMethodinvalidate
()
src/core/CurrentFile.ts:104
↓ 3 callersMethodisEditable
(node: Node)
src/utils/NodeHelper.ts:35
↓ 3 callersMethodisOpenable
(node: Node)
src/utils/NodeHelper.ts:30
↓ 3 callersMethodloadFile
(dirpath: string, relativePath: string)
src/core/loaders/LocaleLoader.ts:444
↓ 3 callersMethodnavigateKey
(data: KeyInDocument & {filepath: string; keyIndex: number})
src/webview/panel.ts:200
↓ 3 callersMethodnormalize
(locale?: string, fallback = 'en', strict = false)
src/tagSystems/bcp47.ts:7
↓ 3 callersMethodonFileChanged
(type: string, { fsPath: filepath }: { fsPath: string })
src/core/loaders/LocaleLoader.ts:532
↓ 3 callersFunctionparseHardString
(text = '', languageId?: string, isDynamic = false)
src/extraction/parseHardString.ts:26
↓ 3 callersMethodpreprocessData
(data: any, context: DataProcessContext)
src/frameworks/ruby-rails.ts:40
↓ 3 callersFunctionpromptEdit
(keypath: string, locale: string, value?: string)
src/utils/prompts.ts:6
↓ 3 callersMethodpromptPathToSave
(paths: string[], keypath: string)
src/core/loaders/LocaleLoader.ts:203
↓ 3 callersFunctionrecordIgnore
(path: any)
src/extraction/parsers/babel.ts:70
↓ 3 callersFunctionresolveFlattenRoot
(node?: Node)
src/utils/utils.ts:41
↓ 3 callersMethodsetChild
(key: string, value: LocaleTree | LocaleNode)
src/core/Nodes.ts:124
↓ 3 callersFunctionunicodeDecorate
(text: string, to: FontNames)
src/utils/UnicodeDecorator.ts:36
next →1–100 of 901, ranked by callers