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 "  übersprungen: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  omitidos: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  ignoré : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  saltati: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  スキップ済み: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "  건너뜀: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  ignorados: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  已跳过: " + (values[0] ?? "")
  }
  return "  skipped: " + (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) != 1 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "Batch-Abbruch-Dry-Run geschrieben: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "Cancelación en modo simulación por lotes escrita: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "Annulation par lot en simulation écrite : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "Annullo batch dry run scritto: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "バッチキャンセルのドライランを書き込みました: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "배치 취소 시험 실행 작성됨: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "Cancelamento em lote de execução simulada gravado: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "已写入批量取消演练运行:" + (values[0] ?? "")
  }
  return "Batch cancel 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_8(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-Abbruch fehlgeschlagen"
  }
  if locale == "es" {
    return "Error en la cancelación por lotes"
  }
  if locale == "fr" {
    return "Échec de l'annulation par lot"
  }
  if locale == "it" {
    return "Annullamento batch non riuscito"
  }
  if locale == "ja" {
    return "バッチキャンセルに失敗しました"
  }
  if locale == "ko" {
    return "배치 취소 실패"
  }
  if locale == "pt-BR" {
    return "Falha no cancelamento em lote"
  }
  if locale == "zh-Hans" {
    return "批量取消失败"
  }
  return "Batch cancel 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_9(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-Abbruch-Empfangsbestätigung geschrieben: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "Recibo de cancelación por lotes escrito: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "Reçu d'annulation par lot écrit : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "Ricevuta di annullamento batch scritta: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "バッチキャンセルの受領書を書き込みました: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "배치 취소 영수증 작성됨: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "Recibo de cancelamento em lote gravado: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "已写入批量取消收据:" + (values[0] ?? "")
  }
  return "Batch cancellation receipt written: " + (values[0] ?? "")
}