harn-stdlib 0.10.191

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_55(locale: string, values: list<string>) -> string {
  if len(values) != 3 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  Anpassung: " + (values[0] ?? "") + "/" + (values[1] ?? "") + " (" + (values[2] ?? "")
      + ")"
  }
  if locale == "es" {
    return "  ajuste: " + (values[0] ?? "") + "/" + (values[1] ?? "") + " (" + (values[2] ?? "")
      + ")"
  }
  if locale == "fr" {
    return "  ajustement : " + (values[0] ?? "") + "/" + (values[1] ?? "") + " ("
      + (values[2] ?? "")
      + ")"
  }
  if locale == "it" {
    return "  adattamento: " + (values[0] ?? "") + "/" + (values[1] ?? "") + " ("
      + (values[2] ?? "")
      + ")"
  }
  if locale == "ja" {
    return "  適合: " + (values[0] ?? "") + "/" + (values[1] ?? "") + " (" + (values[2] ?? "") + ")"
  }
  if locale == "ko" {
    return "  적합: " + (values[0] ?? "") + "/" + (values[1] ?? "") + " (" + (values[2] ?? "") + ")"
  }
  if locale == "pt-BR" {
    return "  ajuste: " + (values[0] ?? "") + "/" + (values[1] ?? "") + " (" + (values[2] ?? "")
      + ")"
  }
  if locale == "zh-Hans" {
    return "  适配:" + (values[0] ?? "") + "/" + (values[1] ?? "") + " (" + (values[2] ?? "") + ")"
  }
  return "  fit: " + (values[0] ?? "") + "/" + (values[1] ?? "") + " (" + (values[2] ?? "") + ")"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_56(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 "  Gruppen: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  grupos: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  groupes : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  gruppi: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  グループ: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "  그룹: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  grupos: " + (values[0] ?? "")
  }
  if locale == "ru" {
    return "  группы: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  分组:" + (values[0] ?? "")
  }
  return "  groups: " + (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_57(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 "  harte Token-Schätzgrenze: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  límite duro de estimación de tokens: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  limite dure d'estimation des jetons : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  limite duro di stima dei token: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  ハードなトークン推定上限: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "  하드 토큰 추정 한도: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  limite rígido de estimativa de tokens: " + (values[0] ?? "")
  }
  if locale == "ru" {
    return "  жёсткий предел оценки токенов: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  硬性 token 估计上限:" + (values[0] ?? "")
  }
  return "  hard token estimate limit: " + (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_58(locale: string, values: list<string>) -> string {
  if len(values) != 0 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  harn doctor              # lokale Umgebung überprüfen"
  }
  if locale == "es" {
    return "  harn doctor              # verifica el entorno local"
  }
  if locale == "fr" {
    return "  harn doctor              # vérifier l'environnement local"
  }
  if locale == "it" {
    return "  harn doctor              # verifica l'ambiente locale"
  }
  if locale == "ja" {
    return "  harn doctor              # ローカル環境を確認する"
  }
  if locale == "ko" {
    return "  harn doctor              # 로컬 환경 확인"
  }
  if locale == "pt-BR" {
    return "  harn doctor              # verificar o ambiente local"
  }
  if locale == "ru" {
    return "  harn doctor              # проверить локальное окружение"
  }
  if locale == "zh-Hans" {
    return "  harn doctor              # 验证本地环境"
  }
  return "  harn doctor              # verify the local environment"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_59(locale: string, values: list<string>) -> string {
  if len(values) != 0 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "  harn fmt main.harn       # Code formatieren"
  }
  if locale == "es" {
    return "  harn fmt main.harn       # formatea el código"
  }
  if locale == "fr" {
    return "  harn fmt main.harn       # mettre en forme le code"
  }
  if locale == "it" {
    return "  harn fmt main.harn       # formatta il codice"
  }
  if locale == "ja" {
    return "  harn fmt main.harn       # コードを整形する"
  }
  if locale == "ko" {
    return "  harn fmt main.harn       # 코드 포맷"
  }
  if locale == "pt-BR" {
    return "  harn fmt main.harn       # formatar o código"
  }
  if locale == "ru" {
    return "  harn fmt main.harn       # форматировать код"
  }
  if locale == "zh-Hans" {
    return "  harn fmt main.harn       # 格式化代码"
  }
  return "  harn fmt main.harn       # format code"
}