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 "  Empfangs-sha256: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  sha256 del recibo: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  sha256 du reçu : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  sha256 della ricevuta: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  receipt sha256: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "  수신증 sha256: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  sha256 do recibo: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  回执 sha256: " + (values[0] ?? "")
  }
  return "  receipt sha256: " + (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) != 1 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "Batch-Download-Dry-Run geschrieben: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "Descarga en modo simulación por lotes escrita: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "Téléchargement par lot en simulation écrit : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "Download batch dry run scritto: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "バッチダウンロードのドライランを書き込みました: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "배치 다운로드 시험 실행 작성됨: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "Download em lote de execução simulada gravado: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "已写入批量下载演练运行:" + (values[0] ?? "")
  }
  return "Batch download dry run written: " + (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_7(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 "Batch-Download fehlgeschlagen"
  }
  if locale == "es" {
    return "Error en la descarga por lotes"
  }
  if locale == "fr" {
    return "Échec du téléchargement par lot"
  }
  if locale == "it" {
    return "Download batch non riuscito"
  }
  if locale == "ja" {
    return "バッチダウンロードに失敗しました"
  }
  if locale == "ko" {
    return "배치 다운로드 실패"
  }
  if locale == "pt-BR" {
    return "Falha no download em lote"
  }
  if locale == "zh-Hans" {
    return "批量下载失败"
  }
  return "Batch download failed"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_8(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-Empfangsbestätigung geschrieben: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "Recibo de resultados por lotes escrito: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "Reçu de résultats par lot écrit : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "Ricevuta dei risultati batch scritta: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "バッチ結果の受領書を書き込みました: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "배치 결과 영수증 작성됨: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "Recibo de resultados em lote gravado: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "已写入批量结果收据:" + (values[0] ?? "")
  }
  return "Batch results receipt written: " + (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_9(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"
}