harn-stdlib 0.10.182

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_10(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 "FAIL"
  }
  if locale == "es" {
    return "FAIL"
  }
  if locale == "fr" {
    return "FAIL"
  }
  if locale == "it" {
    return "FAIL"
  }
  if locale == "ja" {
    return "FAIL"
  }
  if locale == "ko" {
    return "FAIL"
  }
  if locale == "pt-BR" {
    return "FAIL"
  }
  if locale == "zh-Hans" {
    return "FAIL"
  }
  return "FAIL"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_11(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 "LoRA-Promotions-Prüfmatrix"
  }
  if locale == "es" {
    return "Matriz de sondeo de promoción de LoRA"
  }
  if locale == "fr" {
    return "Matrice de vérification de promotion LoRA"
  }
  if locale == "it" {
    return "Matrice di verifica promozione LoRA"
  }
  if locale == "ja" {
    return "LoRA プロモーションのプローブマトリクス"
  }
  if locale == "ko" {
    return "LoRA 승격 프로브 매트릭스"
  }
  if locale == "pt-BR" {
    return "Matriz de sondagem de promoção de LoRA"
  }
  if locale == "zh-Hans" {
    return "LoRA 晋升探测矩阵"
  }
  return "LoRA promotion probe matrix"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_12(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 "PASS"
  }
  if locale == "es" {
    return "PASS"
  }
  if locale == "fr" {
    return "PASS"
  }
  if locale == "it" {
    return "PASS"
  }
  if locale == "ja" {
    return "PASS"
  }
  if locale == "ko" {
    return "PASS"
  }
  if locale == "pt-BR" {
    return "PASS"
  }
  if locale == "zh-Hans" {
    return "PASS"
  }
  return "PASS"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_13(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 "Fehler"
  }
  if locale == "es" {
    return "errores"
  }
  if locale == "fr" {
    return "erreurs"
  }
  if locale == "it" {
    return "errori"
  }
  if locale == "ja" {
    return "エラー"
  }
  if locale == "ko" {
    return "오류"
  }
  if locale == "pt-BR" {
    return "erros"
  }
  if locale == "zh-Hans" {
    return "错误"
  }
  return "errors"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_14(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 "Fehler bei Prüfung " + (values[0] ?? "")
  }
  if locale == "es" {
    return "fallos del sondeo " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "échecs de la sonde " + (values[0] ?? "")
  }
  if locale == "it" {
    return "fallimenti della sonda " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "プローブ " + (values[0] ?? "") + " の失敗"
  }
  if locale == "ko" {
    return "프로브 " + (values[0] ?? "") + " 실패"
  }
  if locale == "pt-BR" {
    return "falhas da sonda " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "探测 " + (values[0] ?? "") + " 失败"
  }
  return "probe " + (values[0] ?? "") + " failures"
}