UNPKG

@voerkai18n/cli

Version:

命令行工具,用来初始化/提取/编译/自动翻译等工具链

111 lines 5.58 kB
module.exports = { "116": "Configure support for vue/react/nextjs/uniapp, etc.", "117": "Start compiling language package: {}", "118": "Generate IDMap file: {}", "119": "Compile language package", "120": "Enable typescript", "121": "Module type, values: cjs, esm", "122": "Translated text has no id: {}", "123": "Compile language information:", "124": "Compile: {}", "125": "Compile paragraph:", "126": "Paragraph file not found", "127": "Compile paragraph: {}", "128": "Extract parameters:", "129": "Update mode: {}", "130": "Extraction method: {}", "131": "Extraction scope: {}", "132": "Add file matching rules via the {} parameter", "133": "You can adjust the extraction scope by modifying the {} parameter in the {} file", "134": "Start extraction:", "135": "Extracting {}", "136": "Found {} texts, {} paragraphs", "137": "Extraction results:", "138": "Namespace: {}", "139": "A total of {} texts were extracted", "140": "A total of {} paragraphs were extracted", "141": "Next steps:", "142": "Translate the {} file", "143": "Translate the {} paragraph file", "144": "Run <{}> to compile the language pack", "145": "Import the compiled language pack from <{}> in the source code", "146": "Extract the text to be translated", "147": "Update mode, values: sync, overwrite, merge", "148": "Use regular expressions to extract", "149": "File matching rules", "150": "Duplicate text id found: {}", "151": "Initialize VoerkaI18n configuration", "152": "Language directory", "153": "Whether it is a development library project", "154": "Select supported languages", "155": "Default language", "156": "Active language", "157": "Enable Typescript", "158": "Module type", "159": "Initialize language folder: {}", "160": "Install {} dependencies", "161": "Start initialization", "162": "Configuration information:", "163": "Language configuration file: {}", "164": "Intended supported languages: {}", "165": "Installed runtime: {}", "166": "Working mode : {}", "167": "Library mode", "168": "Application mode", "169": "Modify {} file to edit language parameters", "170": "Run <{}> to automatically wrap the text to be translated", "171": "Run <{}> to scan and extract the text to be translated", "172": "Run <{}> for online automatic translation", "173": "Check VoerkaI18n configuration", "174": "Management console", "175": "Prompt template {} not found", "176": "Perform automatic translation", "177": "Translation mode, values: auto=translate only untranslated, full=translate all", "178": "Translate only the specified language", "179": "Translate only the specified file, such as messages/default.json", "180": "Name or translation script of the online translation service provider, possible values: ai | baidu", "181": "Maximum number of bytes for bundling multiple texts into a single submission", "182": "API URL", "183": "API ID", "184": "AI model name", "185": "API key", "186": "API service name, declared in languages/api.json", "187": "Translation speed limit, i.e., the number of API calls allowed per second", "188": "Specify the translation API service", "189": "- Specify via {},{},{} parameters", "190": "- Configure the translation API service parameters in the {} file, see the documentation for details", "191": "Prepare for translation", "192": "Translation mode: {}", "193": "Language directory: {}", "194": "Translation service: {}", "195": "Translation speed: {}", "196": "Translation language: {}", "197": "Request data packet limit: {}", "198": "Translate {} -> {}", "199": "Translating text information, totaling {} files", "200": "Translating {}", "201": "Failed to load translation provider {}: {}", "202": "The number of lines in the translated content does not match the original content; it is recommended to change the translation provider or optimize the prompt", "203": "Scan the source code and automatically wrap content that needs translation with the t translation function", "204": "Scan matching rules", "205": "Apply wrapping modifications to the source file", "206": "Prompt template file names in the languages/prompts folder", "207": "AI large model API address", "208": "AI large model API key", "209": "AI large model", "210": "Predefined AI services in languages/api.json", "211": "Use {} to provide scanning matching rules, for example: {}", "212": "This command uses AI to analyze the code and automatically apply the t function, requiring the API address, key, and model name for accessing the AI large model.", "213": "- Provided via {},{},{} parameters", "214": " - Or declared in <{}> and then provided via {} parameter", "215": "Start automatically applying translation {} function", "216": "Application scope: {}", "217": "Total of {} files processed", "218": "Processing {}", "219": "Note:", "220": "Save results to a {} file with the same name, the original file will not be modified", "221": "You can use the {} command to update the original file next", "222": "No {} files found", "223": "Start applying {} modifications, total of {} files applied", "224": "Applying {}" }