Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextText ¶
type ContextText struct {
Preferences string
ToolPrefs string
Workflow string
WhatWorks string
Corrections string
Insights string
Notes string
}
ContextText contains all context-related text
type I18n ¶
type I18n struct {
// contains filtered or unexported fields
}
I18n manages internationalization
func (*I18n) AllTexts ¶
func (i *I18n) AllTexts() map[Language]TextResources
AllTexts returns text resources for all languages (for multi-language support)
func (*I18n) GetLanguage ¶
GetLanguage returns the current language setting
func (*I18n) Texts ¶
func (i *I18n) Texts() TextResources
Texts returns the text resources for the configured language
func (*I18n) TextsForLang ¶
func (i *I18n) TextsForLang(lang Language) TextResources
TextsForLang returns text resources for a specific language
type Language ¶
type Language string
Language represents a supported language
func DetectLanguage ¶
DetectLanguage attempts to detect the language from the given text
type SuggestionsText ¶
type SuggestionsText struct {
ToolLowSuccess TitleDesc
ToolUserPreference TitleDesc
ToolUsageTrend TitleDesc
WorkflowPattern TitleDesc
ImproveAdaptation TitleDesc
ResponseQuality TitleDesc
FrequentCorrection TitleDesc
ConfirmPreference TitleDesc
}
SuggestionsText contains all suggestion-related text
type TextResources ¶
type TextResources struct {
Suggestions SuggestionsText
Context ContextText
}
TextResources contains all localized text resources
Click to show internal directories.
Click to hide internal directories.