pub enum Mensagem {
Show 54 variants
ChaveAdicionada,
ChaveJaExistia,
NenhumaChaveArmazenada,
UsarKeysAdd,
ContadorChaves,
NenhumaChaveParaRemover,
IndiceInvalido,
ChaveRemovidaSucesso,
OperacaoCancelada,
TodasChavesRemovidas,
SistemaXdgNaoSuportado,
ChavesImportadasSucesso,
NenhumaChaveContext7NoArquivo,
ConfirmarRemoverTodas,
RespostaConfirmacao,
ChaveVaziaOuInvalida,
AvisoFormatoChave,
NenhumaBibliotecaEncontrada,
BibliotecasEncontradas,
ConfiancaScore,
NenhumaDocumentacaoEncontrada,
TituloDocumentacao,
TituloFontes,
SemConteudoDisponivel,
BuscandoBiblioteca,
ErroDeRede,
ErroDeRedeDocs,
FalhaDesserializar,
RateLimitAtingido,
ErrodoServidor,
ChaveApiInvalida,
Tentativa,
AguardandoRetry,
ErroCaminhoXdg,
FalhaLerConfig,
FalhaTomlInvalido,
FalhaEscreverConfig,
FalhaCriarDiretorio,
NenhumaChaveConfigurada,
FalhaSerializarToml,
ChavesCarregadasEnvVar,
ChavesCarregadasXdg,
FalhaLerXdgContinuando,
IniciandoComChaves,
ChavesCarregadasCompileTime,
FalhaSerializarJson,
FalhaSerializarDocs,
FalhaBuscarBiblioteca,
FalhaLerMetadados,
FalhaDefinirPermissoes,
FalhaBuscarDocumentacao,
FalhaCriarClienteHttp,
SemDocumentacaoDisponivel,
BibliotecaNaoEncontradaApi,
}Expand description
All user-facing messages indexed by variant.
Each variant maps to a pair of (English, Portuguese) strings.
Variants§
ChaveAdicionada
“Key added successfully at: {path}”
ChaveJaExistia
“Key already exists (skipping).”
NenhumaChaveArmazenada
“No key stored.”
UsarKeysAdd
“Use context7 keys add <KEY> to add a key.”
ContadorChaves
“{n} key(s) stored:”
NenhumaChaveParaRemover
“No key stored to remove.”
IndiceInvalido
“Index {i} invalid. Use a number between 1 and {n}.”
ChaveRemovidaSucesso
“Key {masked} removed successfully.”
OperacaoCancelada
“Operation cancelled.”
TodasChavesRemovidas
“All keys removed.”
SistemaXdgNaoSuportado
“System does not support XDG directories.”
ChavesImportadasSucesso
“{imported}/{total} key(s) imported successfully.”
NenhumaChaveContext7NoArquivo
“No CONTEXT7_API= key found in: {file}”
ConfirmarRemoverTodas
“Are you sure you want to remove ALL keys? [y/N] “ / “[s/N] “
RespostaConfirmacao
Accepted confirmation responses: “y”/“yes” or “s”/“sim”
ChaveVaziaOuInvalida
“API key cannot be empty. Get a key at https://context7.com”
AvisoFormatoChave
“Warning: key does not match expected format (ctx7sk-…). API calls may fail.”
NenhumaBibliotecaEncontrada
“No library found.”
BibliotecasEncontradas
“Libraries found:”
ConfiancaScore
“Trust:”
NenhumaDocumentacaoEncontrada
“No documentation found.”
TituloDocumentacao
“Documentation:”
TituloFontes
“Sources:”
SemConteudoDisponivel
“No content available.”
BuscandoBiblioteca
“Searching library: {name}”
ErroDeRede
“Network error searching library: {err}”
ErroDeRedeDocs
“Network error fetching documentation: {err}”
FalhaDesserializar
“Failed to deserialise JSON response: {err}”
RateLimitAtingido
“Rate limit reached (429), waiting for retry…”
ErrodoServidor
“Server error ({status}), retrying…”
ChaveApiInvalida
“Invalid API key (401/403), trying next…”
Tentativa
“Attempt {n}/{max}”
AguardandoRetry
“Waiting {ms}ms before retrying…”
ErroCaminhoXdg
“System does not support XDG — cannot save configuration”
FalhaLerConfig
“Failed to read XDG config at: {path}”
FalhaTomlInvalido
“Invalid TOML at: {path}”
FalhaEscreverConfig
“Failed to write config at: {path}”
FalhaCriarDiretorio
“Failed to create directory: {path}”
NenhumaChaveConfigurada
“No API key configured. Set CONTEXT7_API_KEYS or use keys add.”
FalhaSerializarToml
“Failed to serialise configuration to TOML”
ChavesCarregadasEnvVar
“Keys loaded from CONTEXT7_API_KEYS environment variable”
ChavesCarregadasXdg
“Keys loaded from XDG configuration”
FalhaLerXdgContinuando
“Failed to read XDG configuration (continuing): {err}”
IniciandoComChaves
“Starting context7 with {n} API keys available”
ChavesCarregadasCompileTime
“Keys loaded from compile-time CONTEXT7_API_KEYS”
FalhaSerializarJson
“Failed to serialise results to JSON”
FalhaSerializarDocs
“Failed to serialise documentation to JSON”
FalhaBuscarBiblioteca
“Failed to search library ‘{name}’”
FalhaLerMetadados
“Failed to read metadata of: {path}”
FalhaDefinirPermissoes
“Failed to set permissions on: {path}”
FalhaBuscarDocumentacao
“Failed to fetch documentation for: {library_id}”
FalhaCriarClienteHttp
“Failed to create HTTP client”
SemDocumentacaoDisponivel
“No documentation available”
BibliotecaNaoEncontradaApi
“Library not found. Verify the ID via context7 library <name>.”