harn-stdlib 0.10.191

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_225(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 == "ru" {
    return "только пробный запуск"
  }
  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_226(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 "Einsatzabschätzung: " + (values[0] ?? "") + "/" + (values[1] ?? "")
      + " Routen konnten überhaupt nicht gemessen werden; es liegt kein Katalogergebnis vor"
  }
  if locale == "es" {
    return "no se pudieron medir en absoluto las rutas de effort-probe: " + (values[0] ?? "") + "/"
      + (values[1] ?? "")
      + "; no hay una conclusión de catálogo disponible"
  }
  if locale == "fr" {
    return "probe d’effort : " + (values[0] ?? "") + "/" + (values[1] ?? "")
      + " routes n’ont pas pu être mesurées du tout ; aucune conclusion de catalogue n’est disponible"
  }
  if locale == "it" {
    return "effort-probe: " + (values[0] ?? "") + "/" + (values[1] ?? "")
      + " i percorsi non hanno potuto essere misurati affatto; non è disponibile alcuna conclusione del catalogo"
  }
  if locale == "ja" {
    return "エフォートプローブ: " + (values[0] ?? "") + "/" + (values[1] ?? "")
      + " ルートは一切測定できませんでした。カタログの結論はありません"
  }
  if locale == "ko" {
    return "effort-probe: 경로 " + (values[1] ?? "") + "개 중 " + (values[0] ?? "")
      + "개를 전혀 측정하지 못했습니다. 카탈로그에 대한 결론을 내릴 수 없습니다"
  }
  if locale == "pt-BR" {
    return "sonda de esforço: " + (values[0] ?? "") + "/" + (values[1] ?? "")
      + " rotas não puderam ser medidas de forma alguma; nenhuma conclusão de catálogo está disponível"
  }
  if locale == "ru" {
    return "effort-probe: " + (values[0] ?? "") + "/" + (values[1] ?? "")
      + " маршрутов не удалось измерить вовсе; заключение по каталогу недоступно"
  }
  if locale == "zh-Hans" {
    return "努力探测:无法对 " + (values[0] ?? "") + "/" + (values[1] ?? "")
      + " 路由进行任何测量;无法获得目录结论"
  }
  return "effort-probe: " + (values[0] ?? "") + "/" + (values[1] ?? "")
    + " routes could not be measured at all; no catalog conclusion is available"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_227(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: --columns kann nicht mit --json kombiniert werden; JSON gibt immer vollständige Katalogzeilen zurück"
  }
  if locale == "es" {
    return "error: --columns no puede combinarse con --json; JSON siempre devuelve filas completas del catálogo"
  }
  if locale == "fr" {
    return "erreur : --columns ne peut pas être combiné avec --json ; JSON renvoie toujours des lignes de catalogue complètes"
  }
  if locale == "it" {
    return "errore: --columns non può essere combinato con --json; JSON restituisce sempre righe complete del catalogo"
  }
  if locale == "ja" {
    return "エラー: --columns は --json と組み合わせられません。JSON は常に完全なカタログ行を返します"
  }
  if locale == "ko" {
    return "오류: --columns와 --json은 함께 사용할 수 없습니다. JSON은 항상 완전한 카탈로그 행을 반환합니다"
  }
  if locale == "pt-BR" {
    return "erro: --columns não pode ser combinado com --json; JSON sempre retorna linhas completas do catálogo"
  }
  if locale == "ru" {
    return "ошибка: --columns нельзя использовать вместе с --json; JSON всегда возвращает полные строки каталога"
  }
  if locale == "zh-Hans" {
    return "错误:--columns 不能与 --json 组合使用;JSON 始终返回完整的目录行"
  }
  return "error: --columns cannot be combined with --json; JSON always returns complete catalog rows"
}

/**
 * Render one registered CLI message from literal argument values.
 * @effects: []
 * @errors: ["CLI localization argument count does not match its registered template"]
 */
pub fn message_228(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 "Fehler: " + (values[0] ?? "")
  }
  if locale == "fr" {
    return "erreur : " + (values[0] ?? "")
  }
  if locale == "it" {
    return "errore: " + (values[0] ?? "")
  }
  if locale == "ja" {
    return "エラー: " + (values[0] ?? "")
  }
  if locale == "pt-BR" {
    return "erro: " + (values[0] ?? "")
  }
  if locale == "ru" {
    return "ошибка: " + (values[0] ?? "")
  }
  if locale == "zh-Hans" {
    return "错误:" + (values[0] ?? "")
  }
  return "error: " + (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_229(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 == "ru" {
    return "ошибки"
  }
  if locale == "zh-Hans" {
    return "错误"
  }
  return "errors"
}