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_15(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 "nur Trockenlauf"
  }
  if locale == "es" {
    return "solo modo dry-run"
  }
  if locale == "fr" {
    return "simulation uniquement"
  }
  if locale == "it" {
    return "solo dry-run"
  }
  if locale == "ja" {
    return "ドライランのみ"
  }
  if locale == "ko" {
    return "드라이런 전용"
  }
  if locale == "pt-BR" {
    return "somente execução seca"
  }
  if locale == "zh-Hans" {
    return "仅干运行"
  }
  return "dry-run only"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_16(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_17(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 "Live-Einreichung"
  }
  if locale == "es" {
    return "envío en vivo"
  }
  if locale == "fr" {
    return "soumission en direct"
  }
  if locale == "it" {
    return "invio live"
  }
  if locale == "ja" {
    return "ライブ送信"
  }
  if locale == "ko" {
    return "실시간 제출"
  }
  if locale == "pt-BR" {
    return "envio ao vivo"
  }
  if locale == "zh-Hans" {
    return "实时提交"
  }
  return "live submit"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_18(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 "Planerrestriktionen"
  }
  if locale == "es" {
    return "restricciones del planificador"
  }
  if locale == "fr" {
    return "contraintes du planificateur"
  }
  if locale == "it" {
    return "vincoli del pianificatore"
  }
  if locale == "ja" {
    return "プランナー制約"
  }
  if locale == "ko" {
    return "플래너 제약"
  }
  if locale == "pt-BR" {
    return "restrições do planejador"
  }
  if locale == "zh-Hans" {
    return "规划器约束"
  }
  return "planner constraints"
}

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