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_25(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 "  Korrektur des Tool-Formats: " + (values[0] ?? "")
  }
  if locale == "es" {
    return "  corrección del formato de herramienta: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "  correction du format d’outil : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "  correzione del formato dello strumento: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "  ツール形式の修正: " + (values[0] ?? "")
  }
  if locale == "ko" {
    return "  tool format correction: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "  correção de formato da ferramenta: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "  工具格式修正:" + (values[0] ?? "")
  }
  return "  tool format correction: " + (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_26(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_27(locale: string, values: list<string>) -> string {
  if len(values) != 2 {
    throw "CLI localization argument count does not match its registered template"
  }
  if locale == "de" {
    return "LoRA-Preflight für " + (values[0] ?? "") + " via " + (values[1] ?? "")
  }
  if locale == "es" {
    return "Comprobación previa de LoRA para " + (values[0] ?? "") + " mediante "
      + (values[1] ?? "")
  }
  if locale == "fr" {
    return "Prévol LoRA pour " + (values[0] ?? "") + " via " + (values[1] ?? "")
  }
  if locale == "it" {
    return "Preflight LoRA per " + (values[0] ?? "") + " tramite " + (values[1] ?? "")
  }
  if locale == "ja" {
    return (values[1] ?? "") + " を介した " + (values[0] ?? "") + " の LoRA 事前確認"
  }
  if locale == "ko" {
    return (values[1] ?? "") + "를 통한 " + (values[0] ?? "") + "용 LoRA 사전 점검"
  }
  if locale == "pt-BR" {
    return "Pré-checagem de LoRA para " + (values[0] ?? "") + " via " + (values[1] ?? "")
  }
  if locale == "zh-Hans" {
    return "通过 " + (values[1] ?? "") + " 为 " + (values[0] ?? "") + " 进行 LoRA 预检"
  }
  return "LoRA preflight for " + (values[0] ?? "") + " via " + (values[1] ?? "")
}

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

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_29(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"
}