harn-stdlib 0.10.190

Embedded Harn standard library source catalog
Documentation
/**
 * Generated by scripts/generate_cli_localization.mjs. Do not edit.
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_140(locale: string, values: list<string>) -> string {
  if len(values) != 4 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  Tool-Aufrufe: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "") + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "es" {
    return "  llamadas a herramientas: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "")
      + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "fr" {
    return "  appels d’outils : json=" + (values[0] ?? "") + " text=" + (values[1] ?? "")
      + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "it" {
    return "  chiamate agli strumenti: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "")
      + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "ja" {
    return "  ツール呼び出し: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "")
      + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "ko" {
    return "  도구 호출: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "") + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "pt-BR" {
    return "  chamadas de ferramenta: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "")
      + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "ru" {
    return "  вызовы инструмента: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "")
      + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  if locale == "zh-Hans" {
    return "  工具调用:json=" + (values[0] ?? "") + " text=" + (values[1] ?? "") + " unknown="
      + (values[2] ?? "")
      + " malformed_json="
      + (values[3] ?? "")
  }
  return "  tool calls: json=" + (values[0] ?? "") + " text=" + (values[1] ?? "") + " unknown="
    + (values[2] ?? "")
    + " malformed_json="
    + (values[3] ?? "")
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_141(locale: string, values: list<string>) -> string {
  if len(values) != 1 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  Tool-Katalog-Hash: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  hash del catálogo de herramientas: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  hachage du catalogue d’outils : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  hash del catalogo degli strumenti: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  ツールカタログのハッシュ: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  hash do catálogo de ferramentas: " + (values[0] ?? "")
  }
  if locale == "ru" {
    return "  хэш каталога инструментов: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  工具目录哈希:" + (values[0] ?? "")
  }
  return "  tool catalog hash: " + (values[0] ?? "")
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_142(locale: string, values: list<string>) -> string {
  if len(values) != 1 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  Tool-Katalog-ID: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  id del catálogo de herramientas: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  identifiant du catalogue d’outils : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  ID del catalogo degli strumenti: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  ツールカタログID: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  ID do catálogo de ferramentas: " + (values[0] ?? "")
  }
  if locale == "ru" {
    return "  ID каталога инструментов: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  工具目录 ID:" + (values[0] ?? "")
  }
  return "  tool catalog id: " + (values[0] ?? "")
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_143(locale: string, values: list<string>) -> string {
  if len(values) != 1 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  Tool-Katalog-Richtlinie: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  política del catálogo de herramientas: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  politique du catalogue d’outils : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  policy del catalogo degli strumenti: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  ツールカタログのポリシー: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  política do catálogo de ferramentas: " + (values[0] ?? "")
  }
  if locale == "ru" {
    return "  политика каталога инструментов: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  工具目录策略:" + (values[0] ?? "")
  }
  return "  tool catalog policy: " + (values[0] ?? "")
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_144(locale: string, values: list<string>) -> string {
  if len(values) != 2 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  Tool-Katalog: " + (values[0] ?? "") + " Schemas, Hash " + (values[1] ?? "")
  }
  if locale == "es" {
    return "  catálogo de herramientas: " + (values[0] ?? "") + " esquemas, hash "
      + (values[1] ?? "")
  }
  if locale == "fr" {
    return "  catalogue d’outils : " + (values[0] ?? "") + " schémas, hachage " + (values[1] ?? "")
  }
  if locale == "it" {
    return "  catalogo degli strumenti: " + (values[0] ?? "") + " schemi, hash " + (values[1] ?? "")
  }
  if locale == "ja" {
    return "  ツールカタログ: " + (values[0] ?? "") + " スキーマ、ハッシュ " + (values[1] ?? "")
  }
  if locale == "pt-BR" {
    return "  catálogo de ferramentas: " + (values[0] ?? "") + " schemas, hash " + (values[1] ?? "")
  }
  if locale == "ru" {
    return "  каталог инструментов: " + (values[0] ?? "") + " схем, хэш " + (values[1] ?? "")
  }
  if locale == "zh-Hans" {
    return "  工具目录:" + (values[0] ?? "") + " 个 schema,哈希 " + (values[1] ?? "")
  }
  return "  tool catalog: " + (values[0] ?? "") + " schemas, hash " + (values[1] ?? "")
}