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_5(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 "Batch-Ergebnis-Zusammenführung: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "Reunión de resultados por lotes: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "Réunion des résultats par lot : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "Riunione risultati batch: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "バッチ結果の再結合: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "배치 결과 재결합: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "Rejunção do resultado em lote: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "批量结果重新合并:" + (values[0] ?? "")
  }
  return "Batch result rejoin: " + (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_6(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 "Quarantäne"
  }
  if locale == "es" {
    return "cuarentena"
  }
  if locale == "fr" {
    return "quarantaine"
  }
  if locale == "it" {
    return "quarantena"
  }
  if locale == "ja" {
    return "隔離"
  }
  if locale == "ko" {
    return "격리"
  }
  if locale == "pt-BR" {
    return "quarentena"
  }
  if locale == "zh-Hans" {
    return "隔离"
  }
  return "quarantine"
}