/** Generated by make gen-cli-localization. Do not edit. */
import { MESSAGE_4 } from "std/cli/localization/messages/part_0"
import { MESSAGE_6 } from "std/cli/localization/messages/part_1"
import { MESSAGE_72 } from "std/cli/localization/messages/part_14"
import { MESSAGE_78 } from "std/cli/localization/messages/part_15"
import { MESSAGE_88, MESSAGE_89 } from "std/cli/localization/messages/part_17"
import { MESSAGE_90 } from "std/cli/localization/messages/part_18"
import { MESSAGE_10 } from "std/cli/localization/messages/part_2"
import { MESSAGE_113 } from "std/cli/localization/messages/part_22"
import { MESSAGE_146 } from "std/cli/localization/messages/part_29"
import { MESSAGE_18 } from "std/cli/localization/messages/part_3"
import { MESSAGE_162 } from "std/cli/localization/messages/part_32"
import { MESSAGE_233 } from "std/cli/localization/messages/part_46"
import { MESSAGE_244 } from "std/cli/localization/messages/part_48"
import { MESSAGE_247 } from "std/cli/localization/messages/part_49"
import { MESSAGE_25, MESSAGE_26 } from "std/cli/localization/messages/part_5"
import { MESSAGE_276 } from "std/cli/localization/messages/part_55"
import { MESSAGE_291, MESSAGE_294 } from "std/cli/localization/messages/part_58"
import { MESSAGE_33 } from "std/cli/localization/messages/part_6"
import { MESSAGE_309 } from "std/cli/localization/messages/part_61"
import { MESSAGE_35, MESSAGE_37, MESSAGE_38 } from "std/cli/localization/messages/part_7"
import { MessageTemplate, render_message } from "std/cli/message_template"
const MESSAGES: dict<string, MessageTemplate> = {
" LoRA module format: {0}": MESSAGE_4,
" adapter contract id: {0}": MESSAGE_6,
" adapter: {0}": MESSAGE_10,
" base match: {0}": MESSAGE_18,
" catalog LoRA launch flags: {0}": MESSAGE_25,
" catalog LoRA rank flag: {0}": MESSAGE_26,
" contract manifest: {0}": MESSAGE_33,
" contract route: base={0} provider={1} tool_format={2} adapter={3} modules_to_save={4}":
MESSAGE_35,
" contract status: {0}": MESSAGE_37,
" contract: {0}": MESSAGE_38,
" launch:": MESSAGE_72,
" max LoRA rank: {0}": MESSAGE_78,
" modules to save: none": MESSAGE_88,
" modules to save: {0}": MESSAGE_89,
" native tools: {0}, preferred: {1}": MESSAGE_90,
" request model: {0}": MESSAGE_113,
" tool format: {0}": MESSAGE_146,
" warning: {0}": MESSAGE_162,
exact: MESSAGE_233,
mismatch: MESSAGE_244,
no: MESSAGE_247,
"same basename": MESSAGE_276,
unknown: MESSAGE_291,
yes: MESSAGE_294,
"{0} -> {1} via {2}": MESSAGE_309,
}
/**
* Select a registered CLI template without interpreting argument text.
* @effects: []
* @errors: ["Unregistered CLI localization message", "CLI localization argument count does not match its registered template"]
*/
pub fn cli_message(locale: string, source: string, values: list<string>) -> string {
const template = MESSAGES[source]
guard template != nil else {
throw "Unregistered CLI localization message"
}
return render_message(template, locale, values)
}