Add lobe-i18n setup and translation scripts and update translation files for consistency (#1751)

* refactor: convert translation files from TS to JSON format

* feat: add lobe-i18n setup and translation scripts

* chore: update translation files for consistency

* chore: refine translations in ja_JP.json for natural phrasing

* refactor: revert locale file names to original simpler format (e.g., en_US → en)
This commit is contained in:
Yuki Shindo
2024-12-02 10:03:17 +09:00
committed by GitHub
parent 5c6eecd660
commit 9ef40189f9
14 changed files with 5155 additions and 725 deletions

11
.i18nrc.cjs Normal file
View File

@@ -0,0 +1,11 @@
// This file is intentionally kept in CommonJS format (.cjs)
// to resolve compatibility issues with dependencies that require CommonJS.
// Do not convert this file to ESModule format unless all dependencies support it.
const { defineConfig } = require('@lobehub/i18n-cli');
module.exports = defineConfig({
entry: 'src/locales/en.json',
entryLocale: 'en',
output: 'src/locales',
outputLocales: ['zh', 'ru', 'ja'],
});

View File

@@ -496,21 +496,42 @@ Our project supports multiple languages using `vue-i18n`. This allows users arou
We welcome the addition of new languages. You can add a new language by following these steps: We welcome the addition of new languages. You can add a new language by following these steps:
#### 1. Create a Locale File #### 1. Generate language files
We use [lobe-i18n](https://github.com/lobehub/lobe-cli-toolbox/blob/master/packages/lobe-i18n/README.md) as our translation tool, which integrates with LLM for efficient localization.
Navigate to the `src/locales` directory. Update the configuration file to include the new language(s) you wish to add:
Duplicate the existing `src/locales/en.ts` file and rename it to your target language code (e.g., `src/locales/ja.ts` for Japanese).
#### 2. Provide Translations
Translate the contents into your target language. ```javascript
If there are items that are not applicable, you can delete those items. In that case, the default language set in `en (src/locales/en.ts)` will be loaded. const { defineConfig } = require('@lobehub/i18n-cli');
#### 3. Update i18n Configuration module.exports = defineConfig({
entry: 'src/locales/en.json', // Base language file
entryLocale: 'en',
output: 'src/locales',
outputLocales: ['zh', 'ru', 'ja'], // Add the new language(s) here
});
```
Import the new locale file in the `src/i18n.ts` file. Set your OpenAI API Key by running the following command:
#### 4. Enable Selection of the New Language ```sh
npx lobe-i18n --option
```
Once configured, generate the translation files with:
```sh
npx lobe-i18n locale
```
This will create the language files for the specified languages in the configuration.
#### 2. Update i18n Configuration
Import the newly generated locale file(s) in the `src/i18n.ts` file to include them in the application's i18n setup.
#### 3. Enable Selection of the New Language
Add the newly added language to the following item in `src/constants/coreSettings.ts`: Add the newly added language to the following item in `src/constants/coreSettings.ts`:
@@ -519,12 +540,14 @@ Add the newly added language to the following item in `src/constants/coreSetting
id: 'Comfy.Locale', id: 'Comfy.Locale',
name: 'Locale', name: 'Locale',
type: 'combo', type: 'combo',
options: ['en', 'zh', 'ru', 'ja'], options: ['en', 'zh', 'ru', 'ja'], // Add the new language(s) here
defaultValue: navigator.language.split('-')[0] || 'en' defaultValue: navigator.language.split('-')[0] || 'en'
}, },
``` ```
#### 5. Test the Translations This will make the new language selectable in the application's settings.
#### 4. Test the Translations
Start the development server, switch to the new language, and verify the translations. Start the development server, switch to the new language, and verify the translations.
You can switch languages by opening the ComfyUI Settings and selecting from the `ComfyUI > Locale` dropdown box. You can switch languages by opening the ComfyUI Settings and selecting from the `ComfyUI > Locale` dropdown box.

4212
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -35,6 +35,7 @@
"@babel/preset-env": "^7.22.20", "@babel/preset-env": "^7.22.20",
"@eslint/js": "^9.8.0", "@eslint/js": "^9.8.0",
"@iconify/json": "^2.2.245", "@iconify/json": "^2.2.245",
"@lobehub/i18n-cli": "^1.20.1",
"@pinia/testing": "^0.1.5", "@pinia/testing": "^0.1.5",
"@playwright/test": "^1.44.1", "@playwright/test": "^1.44.1",
"@types/jest": "^29.5.12", "@types/jest": "^29.5.12",

View File

@@ -1,8 +1,8 @@
import { createI18n } from 'vue-i18n' import { createI18n } from 'vue-i18n'
import en from './locales/en' import en from './locales/en.json'
import zh from './locales/zh' import zh from './locales/zh.json'
import ru from './locales/ru' import ru from './locales/ru.json'
import ja from './locales/ja' import ja from './locales/ja.json'
export const i18n = createI18n({ export const i18n = createI18n({
// Must set `false`, as Vue I18n Legacy API is for Vue 2 // Must set `false`, as Vue I18n Legacy API is for Vue 2

223
src/locales/en.json Normal file
View File

@@ -0,0 +1,223 @@
{
"welcome": {
"title": "Welcome to ComfyUI",
"getStarted": "Get Started"
},
"userSelect": {
"newUser": "New user",
"enterUsername": "Enter a username",
"existingUser": "Existing user",
"selectUser": "Select a user",
"next": "Next"
},
"notSupported": {
"title": "Your device is not supported",
"message": "Only following devices are supported:",
"learnMore": "Learn More",
"reportIssue": "Report Issue",
"supportedDevices": {
"macos": "MacOS (M1 or later)",
"windows": "Windows (Nvidia GPU with CUDA support)"
}
},
"downloadGit": {
"title": "Download git",
"message": "Unable to locate git. A working copy of git is required for normal operation.",
"instructions": "Please download and install the latest version for your operating system. The Download git button below opens the git-scm.com downloads page.",
"warning": "If you are sure you do not need git installed, or there has been a mistake, you may click Skip to byapss this check. Attempting to run ComfyUI without a working copy of git is not currently supported.",
"gitWebsite": "Download git",
"skip": "Skip"
},
"install": {
"installLocation": "Install Location",
"migration": "Migration",
"desktopSettings": "Desktop Settings",
"chooseInstallationLocation": "Choose Installation Location",
"systemLocations": "System Locations",
"failedToSelectDirectory": "Failed to select directory",
"pathValidationFailed": "Failed to validate path",
"installLocationDescription": "Select the directory for ComfyUI's user data. A python environment will be installed to the selected location. Please make sure the selected disk has enough space (~15GB) left.",
"installLocationTooltip": "ComfyUI's user data directory. Stores:\n- Python Environment\n- Models\n- Custom nodes\n",
"appDataLocationTooltip": "ComfyUI's app data directory. Stores:\n- Logs\n- Server configs",
"appPathLocationTooltip": "ComfyUI's app asset directory. Stores the ComfyUI code and assets",
"migrateFromExistingInstallation": "Migrate from Existing Installation",
"migrationSourcePathDescription": "If you have an existing ComfyUI installation, we can copy/link your existing user files and models to the new installation.",
"selectItemsToMigrate": "Select Items to Migrate",
"migrationOptional": "Migration is optional. If you don't have an existing installation, you can skip this step.",
"desktopAppSettings": "Desktop App Settings",
"desktopAppSettingsDescription": "Configure how ComfyUI behaves on your desktop. You can change these settings later.",
"settings": {
"autoUpdate": "Automatic Updates",
"allowMetrics": "Crash Reports",
"autoUpdateDescription": "Automatically download and install updates when they become available. You'll always be notified before updates are installed.",
"allowMetricsDescription": "Help improve ComfyUI by sending anonymous crash reports. No personal information or workflow content will be collected. This can be disabled at any time in the settings menu.",
"learnMoreAboutData": "Learn more about data collection",
"dataCollectionDialog": {
"title": "About Data Collection",
"whatWeCollect": "What we collect:",
"whatWeDoNotCollect": "What we don't collect:",
"errorReports": "Error message and stack trace",
"systemInfo": "Hardware, OS type, and app version",
"personalInformation": "Personal information",
"workflowContent": "Workflow content",
"fileSystemInformation": "File system information",
"workflowContents": "Workflow contents",
"customNodeConfigurations": "Custom node configurations"
}
},
"customNodes": "Custom Nodes",
"customNodesDescription": "Reference custom node files from existing ComfyUI installations and install their dependencies."
},
"serverStart": {
"reinstall": "Reinstall",
"reportIssue": "Report Issue",
"openLogs": "Open Logs",
"process": {
"ready": "Finishing...",
"error": "Unable to start ComfyUI Desktop"
}
},
"serverConfig": {
"modifiedConfigs": "You have modified the following server configurations. Restart to apply changes.",
"revertChanges": "Revert Changes",
"restart": "Restart"
},
"currentUser": "Current user",
"empty": "Empty",
"noWorkflowsFound": "No workflows found.",
"comingSoon": "Coming Soon",
"firstTimeUIMessage": "This is the first time you use the new UI. Choose \"Menu > Use New Menu > Disabled\" to restore the old UI.",
"download": "Download",
"loadAllFolders": "Load All Folders",
"refresh": "Refresh",
"terminal": "Terminal",
"logs": "Logs",
"videoFailedToLoad": "Video failed to load",
"extensionName": "Extension Name",
"reloadToApplyChanges": "Reload to apply changes",
"insert": "Insert",
"systemInfo": "System Info",
"devices": "Devices",
"about": "About",
"add": "Add",
"confirm": "Confirm",
"reset": "Reset",
"resetKeybindingsTooltip": "Reset keybindings to default",
"customizeFolder": "Customize Folder",
"icon": "Icon",
"color": "Color",
"bookmark": "Bookmark",
"folder": "Folder",
"star": "Star",
"heart": "Heart",
"file": "File",
"inbox": "Inbox",
"box": "Box",
"briefcase": "Briefcase",
"error": "Error",
"loading": "Loading",
"findIssues": "Find Issues",
"reportIssue": "Send Report",
"reportIssueTooltip": "Submit the error report to Comfy Org",
"reportSent": "Report Submitted",
"copyToClipboard": "Copy to Clipboard",
"openNewIssue": "Open New Issue",
"showReport": "Show Report",
"imageFailedToLoad": "Image failed to load",
"reconnecting": "Reconnecting",
"reconnected": "Reconnected",
"delete": "Delete",
"rename": "Rename",
"customize": "Customize",
"experimental": "BETA",
"deprecated": "DEPR",
"loadWorkflow": "Load Workflow",
"goToNode": "Go to Node",
"settings": "Settings",
"searchWorkflows": "Search Workflows",
"searchSettings": "Search Settings",
"searchNodes": "Search Nodes",
"searchModels": "Search Models",
"searchKeybindings": "Search Keybindings",
"searchExtensions": "Search Extensions",
"noResultsFound": "No Results Found",
"searchFailedMessage": "We couldn't find any settings matching your search. Try adjusting your search terms.",
"noTasksFound": "No Tasks Found",
"noTasksFoundMessage": "There are no tasks in the queue.",
"newFolder": "New Folder",
"sideToolbar": {
"themeToggle": "Toggle Theme",
"logout": "Logout",
"queue": "Queue",
"nodeLibrary": "Node Library",
"workflows": "Workflows",
"browseTemplates": "Browse example templates",
"openWorkflow": "Open workflow in local file system",
"newBlankWorkflow": "Create a new blank workflow",
"nodeLibraryTab": {
"sortOrder": "Sort Order"
},
"modelLibrary": "Model Library",
"downloads": "Downloads",
"queueTab": {
"showFlatList": "Show Flat List",
"backToAllTasks": "Back to All Tasks",
"containImagePreview": "Fill Image Preview",
"coverImagePreview": "Fit Image Preview",
"clearPendingTasks": "Clear Pending Tasks",
"filter": "Filter Outputs",
"filters": {
"hideCached": "Hide Cached",
"hideCanceled": "Hide Canceled"
}
}
},
"menu": {
"hideMenu": "Hide Menu",
"showMenu": "Show Menu",
"batchCount": "Batch Count",
"batchCountTooltip": "The number of times the workflow generation should be queued",
"autoQueue": "Auto Queue",
"disabled": "Disabled",
"disabledTooltip": "The workflow will not be automatically queued",
"instant": "Instant",
"instantTooltip": "The workflow will be queued instantly after a generation finishes",
"change": "On Change",
"changeTooltip": "The workflow will be queued once a change is made",
"queueWorkflow": "Queue workflow (Shift to queue at front)",
"queueWorkflowFront": "Queue workflow at front",
"queue": "Queue",
"interrupt": "Cancel current run",
"refresh": "Refresh node definitions",
"clipspace": "Open Clipspace",
"resetView": "Reset canvas view",
"clear": "Clear workflow",
"toggleBottomPanel": "Toggle Bottom Panel"
},
"templateWorkflows": {
"title": "Get Started with a Template",
"template": {
"default": "Image Generation",
"image2image": "Image to Image",
"upscale": "2 Pass Upscale",
"flux_schnell": "Flux Schnell"
}
},
"graphCanvasMenu": {
"zoomIn": "Zoom In",
"zoomOut": "Zoom Out",
"resetView": "Reset View",
"fitView": "Fit View",
"selectMode": "Select Mode",
"panMode": "Pan Mode",
"toggleLinkVisibility": "Toggle Link Visibility"
},
"electronFileDownload": {
"inProgress": "In Progress",
"pause": "Pause Download",
"paused": "Paused",
"resume": "Resume Download",
"cancel": "Cancel Download",
"cancelled": "Cancelled"
}
}

View File

@@ -1,244 +0,0 @@
export default {
welcome: {
title: 'Welcome to ComfyUI',
getStarted: 'Get Started'
},
userSelect: {
newUser: 'New user',
enterUsername: 'Enter a username',
existingUser: 'Existing user',
selectUser: 'Select a user',
next: 'Next'
},
notSupported: {
title: 'Your device is not supported',
message: 'Only following devices are supported:',
learnMore: 'Learn More',
reportIssue: 'Report Issue',
supportedDevices: {
macos: 'MacOS (M1 or later)',
windows: 'Windows (Nvidia GPU with CUDA support)'
}
},
downloadGit: {
title: 'Download git',
message:
'Unable to locate git. A working copy of git is required for normal operation.',
instructions:
'Please download and install the latest version for your operating system. The Download git button below opens the git-scm.com downloads page.',
warning:
'If you are sure you do not need git installed, or there has been a mistake, you may click Skip to byapss this check. Attempting to run ComfyUI without a working copy of git is not currently supported.',
gitWebsite: 'Download git',
skip: 'Skip'
},
install: {
installLocation: 'Install Location',
migration: 'Migration',
desktopSettings: 'Desktop Settings',
chooseInstallationLocation: 'Choose Installation Location',
systemLocations: 'System Locations',
failedToSelectDirectory: 'Failed to select directory',
pathValidationFailed: 'Failed to validate path',
installLocationDescription:
"Select the directory for ComfyUI's user data. A python environment will be installed to the selected location. Please make sure the selected disk has enough space (~15GB) left.",
installLocationTooltip:
"ComfyUI's user data directory. Stores:\n- Python Environment\n- Models\n- Custom nodes\n",
appDataLocationTooltip:
"ComfyUI's app data directory. Stores:\n- Logs\n- Server configs",
appPathLocationTooltip:
"ComfyUI's app asset directory. Stores the ComfyUI code and assets",
migrateFromExistingInstallation: 'Migrate from Existing Installation',
migrationSourcePathDescription:
'If you have an existing ComfyUI installation, we can copy/link your existing user files and models to the new installation.',
selectItemsToMigrate: 'Select Items to Migrate',
migrationOptional:
"Migration is optional. If you don't have an existing installation, you can skip this step.",
desktopAppSettings: 'Desktop App Settings',
desktopAppSettingsDescription:
'Configure how ComfyUI behaves on your desktop. You can change these settings later.',
settings: {
autoUpdate: 'Automatic Updates',
allowMetrics: 'Crash Reports',
autoUpdateDescription:
"Automatically download and install updates when they become available. You'll always be notified before updates are installed.",
allowMetricsDescription:
'Help improve ComfyUI by sending anonymous crash reports. No personal information or workflow content will be collected. This can be disabled at any time in the settings menu.',
learnMoreAboutData: 'Learn more about data collection',
dataCollectionDialog: {
title: 'About Data Collection',
whatWeCollect: 'What we collect:',
whatWeDoNotCollect: "What we don't collect:",
errorReports: 'Error message and stack trace',
systemInfo: 'Hardware, OS type, and app version',
personalInformation: 'Personal information',
workflowContent: 'Workflow content',
fileSystemInformation: 'File system information',
workflowContents: 'Workflow contents',
customNodeConfigurations: 'Custom node configurations'
}
},
customNodes: 'Custom Nodes',
customNodesDescription:
'Reference custom node files from existing ComfyUI installations and install their dependencies.'
},
serverStart: {
reinstall: 'Reinstall',
reportIssue: 'Report Issue',
openLogs: 'Open Logs',
process: {
'initial-state': 'Loading...',
'python-setup': 'Setting up Python Environment...',
'starting-server': 'Starting ComfyUI server...',
ready: 'Finishing...',
error: 'Unable to start ComfyUI Desktop'
}
},
serverConfig: {
modifiedConfigs:
'You have modified the following server configurations. Restart to apply changes.',
revertChanges: 'Revert Changes',
restart: 'Restart'
},
currentUser: 'Current user',
empty: 'Empty',
noWorkflowsFound: 'No workflows found.',
comingSoon: 'Coming Soon',
firstTimeUIMessage:
'This is the first time you use the new UI. Choose "Menu > Use New Menu > Disabled" to restore the old UI.',
download: 'Download',
loadAllFolders: 'Load All Folders',
refresh: 'Refresh',
terminal: 'Terminal',
logs: 'Logs',
videoFailedToLoad: 'Video failed to load',
extensionName: 'Extension Name',
reloadToApplyChanges: 'Reload to apply changes',
insert: 'Insert',
systemInfo: 'System Info',
devices: 'Devices',
about: 'About',
add: 'Add',
confirm: 'Confirm',
reset: 'Reset',
resetKeybindingsTooltip: 'Reset keybindings to default',
customizeFolder: 'Customize Folder',
icon: 'Icon',
color: 'Color',
bookmark: 'Bookmark',
folder: 'Folder',
star: 'Star',
heart: 'Heart',
file: 'File',
inbox: 'Inbox',
box: 'Box',
briefcase: 'Briefcase',
error: 'Error',
loading: 'Loading',
findIssues: 'Find Issues',
reportIssue: 'Send Report',
reportIssueTooltip: 'Submit the error report to Comfy Org',
reportSent: 'Report Submitted',
copyToClipboard: 'Copy to Clipboard',
openNewIssue: 'Open New Issue',
showReport: 'Show Report',
imageFailedToLoad: 'Image failed to load',
reconnecting: 'Reconnecting',
reconnected: 'Reconnected',
delete: 'Delete',
rename: 'Rename',
customize: 'Customize',
experimental: 'BETA',
deprecated: 'DEPR',
loadWorkflow: 'Load Workflow',
goToNode: 'Go to Node',
settings: 'Settings',
searchWorkflows: 'Search Workflows',
searchSettings: 'Search Settings',
searchNodes: 'Search Nodes',
searchModels: 'Search Models',
searchKeybindings: 'Search Keybindings',
searchExtensions: 'Search Extensions',
noResultsFound: 'No Results Found',
searchFailedMessage:
"We couldn't find any settings matching your search. Try adjusting your search terms.",
noTasksFound: 'No Tasks Found',
noTasksFoundMessage: 'There are no tasks in the queue.',
newFolder: 'New Folder',
sideToolbar: {
themeToggle: 'Toggle Theme',
logout: 'Logout',
queue: 'Queue',
nodeLibrary: 'Node Library',
workflows: 'Workflows',
browseTemplates: 'Browse example templates',
openWorkflow: 'Open workflow in local file system',
newBlankWorkflow: 'Create a new blank workflow',
nodeLibraryTab: {
sortOrder: 'Sort Order'
},
modelLibrary: 'Model Library',
downloads: 'Downloads',
queueTab: {
showFlatList: 'Show Flat List',
backToAllTasks: 'Back to All Tasks',
containImagePreview: 'Fill Image Preview',
coverImagePreview: 'Fit Image Preview',
clearPendingTasks: 'Clear Pending Tasks',
filter: 'Filter Outputs',
filters: {
hideCached: 'Hide Cached',
hideCanceled: 'Hide Canceled'
}
}
},
menu: {
hideMenu: 'Hide Menu',
showMenu: 'Show Menu',
batchCount: 'Batch Count',
batchCountTooltip:
'The number of times the workflow generation should be queued',
autoQueue: 'Auto Queue',
disabled: 'Disabled',
disabledTooltip: 'The workflow will not be automatically queued',
instant: 'Instant',
instantTooltip:
'The workflow will be queued instantly after a generation finishes',
change: 'On Change',
changeTooltip: 'The workflow will be queued once a change is made',
queueWorkflow: 'Queue workflow (Shift to queue at front)',
queueWorkflowFront: 'Queue workflow at front',
queue: 'Queue',
interrupt: 'Cancel current run',
refresh: 'Refresh node definitions',
clipspace: 'Open Clipspace',
resetView: 'Reset canvas view',
clear: 'Clear workflow',
toggleBottomPanel: 'Toggle Bottom Panel'
},
templateWorkflows: {
title: 'Get Started with a Template',
template: {
default: 'Image Generation',
image2image: 'Image to Image',
upscale: '2 Pass Upscale',
flux_schnell: 'Flux Schnell'
}
},
graphCanvasMenu: {
zoomIn: 'Zoom In',
zoomOut: 'Zoom Out',
resetView: 'Reset View',
fitView: 'Fit View',
selectMode: 'Select Mode',
panMode: 'Pan Mode',
toggleLinkVisibility: 'Toggle Link Visibility'
},
electronFileDownload: {
inProgress: 'In Progress',
pause: 'Pause Download',
paused: 'Paused',
resume: 'Resume Download',
cancel: 'Cancel Download',
cancelled: 'Cancelled'
}
}

223
src/locales/ja.json Normal file
View File

@@ -0,0 +1,223 @@
{
"about": "情報",
"add": "追加",
"bookmark": "ブックマーク",
"box": "ボックス",
"briefcase": "ブリーフケース",
"color": "色",
"comingSoon": "近日公開",
"confirm": "確認",
"copyToClipboard": "クリップボードにコピー",
"currentUser": "現在のユーザー",
"customize": "カスタマイズ",
"customizeFolder": "フォルダーをカスタマイズ",
"delete": "削除",
"deprecated": "非推奨",
"devices": "デバイス",
"download": "ダウンロード",
"downloadGit": {
"gitWebsite": "Gitをダウンロード",
"instructions": "お使いのオペレーティングシステムに最新バージョンをダウンロードしてインストールしてください。以下の「Gitをダウンロード」ボタンをクリックすると、git-scm.comのダウンロードページが開きます。",
"message": "Gitを見つけることができません。正常に動作するためには、Gitの作業コピーが必要です。",
"skip": "スキップ",
"title": "Gitをダウンロード",
"warning": "Gitがインストールされていなくても問題ないと確信している場合、または間違いがあった場合は、「スキップ」をクリックしてこのチェックをスキップできます。作業コピーのない状態でComfyUIを実行することは現在サポートされていません。"
},
"electronFileDownload": {
"cancel": "ダウンロードをキャンセル",
"cancelled": "キャンセルされました",
"inProgress": "ダウンロード中",
"pause": "ダウンロードを一時停止",
"paused": "一時停止",
"resume": "ダウンロードを再開"
},
"empty": "表示する項目がありません",
"error": "エラー",
"experimental": "ベータ",
"extensionName": "拡張機能名",
"file": "ファイル",
"findIssues": "問題を探す",
"firstTimeUIMessage": "あなたはこの新しいUIを初めて使用します。もし以前のUIに戻したい場合は、\"Menu > Use new menu > Disabled\"を選択してください。",
"folder": "フォルダー",
"goToNode": "ノードへ移動",
"graphCanvasMenu": {
"fitView": "ビューに合わせる",
"panMode": "パンモード",
"resetView": "ビューをリセット",
"selectMode": "選択モード",
"toggleLinkVisibility": "リンクの表示切り替え",
"zoomIn": "拡大",
"zoomOut": "縮小"
},
"heart": "ハート",
"icon": "アイコン",
"imageFailedToLoad": "画像の読み込みに失敗しました",
"inbox": "受信箱",
"insert": "挿入",
"install": {
"appDataLocationTooltip": "ComfyUIのアプリデータディレクトリ。保存内容:\n- ログ\n- サーバー設定",
"appPathLocationTooltip": "ComfyUIのアプリ資産ディレクトリ。ComfyUIのコードとアセットを保存します",
"chooseInstallationLocation": "インストール先を選択",
"customNodes": "カスタムノード",
"customNodesDescription": "既存のComfyUIインストールからカスタムードファイルを参照し、その依存関係をインストールします。",
"desktopAppSettings": "デスクトップアプリの設定",
"desktopAppSettingsDescription": "ComfyUIのデスクトップでの動作を設定します。これらの設定は後で変更可能です。",
"desktopSettings": "デスクトップ設定",
"failedToSelectDirectory": "ディレクトリの選択に失敗しました",
"installLocation": "インストール先",
"installLocationDescription": "ComfyUIのユーザーデータを保存するディレクトリを選択してください。Python環境が選択した場所にインストールされます。選択したディスクに約15GBの空き容量が必要です。",
"installLocationTooltip": "ComfyUIのユーザーデータディレクトリ。保存内容:\n- Python環境\n- モデル\n- カスタムノード\n",
"migrateFromExistingInstallation": "既存のインストールから移行",
"migration": "移行",
"migrationOptional": "移行は任意です。既存のインストールがない場合、このステップをスキップできます。",
"migrationSourcePathDescription": "既存のComfyUIインストールがある場合、既存のユーザーファイルやモデルを新しいインストールにコピー/リンクできます。",
"pathValidationFailed": "パスの検証に失敗しました",
"selectItemsToMigrate": "移行する項目を選択",
"settings": {
"allowMetrics": "クラッシュレポート",
"allowMetricsDescription": "ComfyUIの改善に協力してください。匿名のクラッシュレポートを送信します。個人情報やワークフロー内容は収集されません。この設定はいつでも無効にできます。",
"autoUpdate": "自動更新",
"autoUpdateDescription": "更新が利用可能になると、自動的にダウンロードおよびインストールを行います。インストール前に通知が表示されます。",
"dataCollectionDialog": {
"customNodeConfigurations": "カスタムノード設定",
"errorReports": "エラーメッセージとスタックトレース",
"fileSystemInformation": "ファイルシステム情報",
"personalInformation": "個人情報",
"systemInfo": "ハードウェア、OSの種類、アプリのバージョン",
"title": "データ収集について",
"whatWeCollect": "収集内容:",
"whatWeDoNotCollect": "収集しない内容:",
"workflowContent": "ワークフロー内容",
"workflowContents": "ワークフロー内容"
},
"learnMoreAboutData": "データ収集の詳細を見る"
},
"systemLocations": "システムの場所"
},
"loadAllFolders": "すべてのフォルダーを読み込む",
"loadWorkflow": "ワークフローを読み込む",
"loading": "読み込み中",
"logs": "ログ",
"menu": {
"autoQueue": "自動キュー",
"batchCount": "バッチ数",
"batchCountTooltip": "ワークフロー生成回数",
"change": "変更時",
"changeTooltip": "変更があるとキューに追加",
"clear": "ワークフローをクリア",
"clipspace": "クリップスペースを開く",
"disabled": "無効",
"disabledTooltip": "ワークフローは自動的にキューに追加されません",
"hideMenu": "メニューを隠す",
"instant": "即時",
"instantTooltip": "生成完了後すぐにキューに追加",
"interrupt": "現在の実行を中止",
"queue": "キュー",
"queueWorkflow": "キューに追加 (Shiftで先頭に)",
"queueWorkflowFront": "先頭に追加",
"refresh": "ノードを更新",
"resetView": "ビューをリセット",
"showMenu": "メニューを表示",
"toggleBottomPanel": "下部パネルを切り替え"
},
"newFolder": "新しいフォルダー",
"noResultsFound": "結果が見つかりませんでした",
"noTasksFound": "タスクが見つかりませんでした",
"noTasksFoundMessage": "キューにタスクがありません。",
"noWorkflowsFound": "ワークフローが見つかりませんでした。",
"notSupported": {
"learnMore": "詳細を見る",
"message": "以下のデバイスのみサポートされています:",
"reportIssue": "問題を報告",
"supportedDevices": {
"macos": "MacOS (M1以降)",
"windows": "Windows (CUDA対応のNvidia GPU)"
},
"title": "お使いのデバイスはサポートされていません"
},
"openNewIssue": "新しいIssueを開く",
"reconnected": "再接続しました",
"reconnecting": "再接続中",
"refresh": "更新",
"reloadToApplyChanges": "変更を適用するには再読み込みしてください",
"rename": "名前を変更",
"reportIssue": "レポートを送信",
"reportIssueTooltip": "エラーレポートをComfy Orgに送信",
"reportSent": "レポートを送信しました",
"reset": "リセット",
"resetKeybindingsTooltip": "キーバインドをデフォルトに戻す",
"searchExtensions": "拡張機能を検索",
"searchFailedMessage": "検索条件に一致する設定が見つかりませんでした。条件を変更して再試行してください。",
"searchKeybindings": "キーバインドを検索",
"searchModels": "モデルを検索",
"searchNodes": "ノードを検索",
"searchSettings": "設定を検索",
"searchWorkflows": "ワークフローを検索",
"serverConfig": {
"modifiedConfigs": "以下のサーバー設定を変更しました。変更を適用するには再起動してください。",
"restart": "再起動",
"revertChanges": "変更を元に戻す"
},
"serverStart": {
"openLogs": "ログを開く",
"process": {
"error": "ComfyUIデスクトップを起動できません",
"ready": "完了中..."
},
"reinstall": "再インストール",
"reportIssue": "問題を報告"
},
"settings": "設定",
"showReport": "レポートを表示",
"sideToolbar": {
"browseTemplates": "サンプルテンプレートを表示",
"downloads": "ダウンロード",
"logout": "ログアウト",
"modelLibrary": "モデルライブラリ",
"newBlankWorkflow": "新しい空のワークフローを作成",
"nodeLibrary": "ノードライブラリ",
"nodeLibraryTab": {
"sortOrder": "並び順"
},
"openWorkflow": "ローカルでワークフローを開く",
"queue": "キュー",
"queueTab": {
"backToAllTasks": "すべてのタスクに戻る",
"clearPendingTasks": "保留中のタスクをクリア",
"containImagePreview": "画像プレビューを含める",
"coverImagePreview": "画像プレビューに合わせる",
"filter": "出力をフィルタ",
"filters": {
"hideCached": "キャッシュを非表示",
"hideCanceled": "キャンセル済みを非表示"
},
"showFlatList": "フラットリストを表示"
},
"themeToggle": "テーマの切り替え",
"workflows": "ワークフロー"
},
"star": "スター",
"systemInfo": "システム情報",
"templateWorkflows": {
"template": {
"default": "画像生成",
"flux_schnell": "Flux Schnell",
"image2image": "画像から画像へ",
"upscale": "2パスアップスケール"
},
"title": "テンプレートを利用して開始"
},
"terminal": "ターミナル",
"userSelect": {
"enterUsername": "ユーザー名を入力してください",
"existingUser": "既存のユーザー",
"newUser": "新しいユーザー",
"next": "次へ",
"selectUser": "ユーザーを選択"
},
"videoFailedToLoad": "ビデオの読み込みに失敗しました",
"welcome": {
"getStarted": "はじめる",
"title": "ComfyUIへようこそ"
}
}

View File

@@ -1,218 +0,0 @@
export default {
welcome: {
title: 'ComfyUIへようこそ',
getStarted: 'はじめる'
},
notSupported: {
title: 'お使いのデバイスはサポートされていません',
message: '以下のデバイスのみサポートされています:',
learnMore: '詳細を見る',
reportIssue: '問題を報告',
supportedDevices: {
macos: 'MacOS (M1以降)',
windows: 'Windows (CUDA対応のNvidia GPU)'
}
},
install: {
installLocation: 'インストール先',
migration: '移行',
desktopSettings: 'デスクトップ設定',
chooseInstallationLocation: 'インストール先を選択',
systemLocations: 'システムの場所',
failedToSelectDirectory: 'ディレクトリの選択に失敗しました',
pathValidationFailed: 'パスの検証に失敗しました',
installLocationDescription:
'ComfyUIのユーザーデータを保存するディレクトリを選択してください。Python環境が選択した場所にインストールされます。選択したディスクに約15GBの空き容量が必要です。',
installLocationTooltip:
'ComfyUIのユーザーデータディレクトリ。保存内容:\n- Python環境\n- モデル\n- カスタムノード\n',
appDataLocationTooltip:
'ComfyUIのアプリデータディレクトリ。保存内容:\n- ログ\n- サーバー設定',
appPathLocationTooltip:
'ComfyUIのアプリ資産ディレクトリ。ComfyUIのコードとアセットを保存します',
migrateFromExistingInstallation: '既存のインストールから移行',
migrationSourcePathDescription:
'既存のComfyUIインストールがある場合、既存のユーザーファイルやモデルを新しいインストールにコピー/リンクできます。',
selectItemsToMigrate: '移行する項目を選択',
migrationOptional:
'移行は任意です。既存のインストールがない場合、このステップをスキップできます。',
desktopAppSettings: 'デスクトップアプリの設定',
desktopAppSettingsDescription:
'ComfyUIのデスクトップでの動作を設定します。これらの設定は後で変更可能です。',
settings: {
autoUpdate: '自動更新',
allowMetrics: 'クラッシュレポート',
autoUpdateDescription:
'更新が利用可能になると、自動的にダウンロードおよびインストールを行います。インストール前に通知が表示されます。',
allowMetricsDescription:
'ComfyUIの改善に協力してください。匿名のクラッシュレポートを送信します。個人情報やワークフロー内容は収集されません。この設定はいつでも無効にできます。',
learnMoreAboutData: 'データ収集の詳細を見る',
dataCollectionDialog: {
title: 'データ収集について',
whatWeCollect: '収集内容:',
whatWeDoNotCollect: '収集しない内容:',
errorReports: 'エラーメッセージとスタックトレース',
systemInfo: 'ハードウェア、OSの種類、アプリのバージョン',
personalInformation: '個人情報',
workflowContent: 'ワークフロー内容',
fileSystemInformation: 'ファイルシステム情報',
workflowContents: 'ワークフロー内容',
customNodeConfigurations: 'カスタムノード設定'
}
},
customNodes: 'カスタムノード',
customNodesDescription:
'既存のComfyUIインストールからカスタムードファイルを参照し、その依存関係をインストールします。'
},
serverStart: {
reinstall: '再インストール',
reportIssue: '問題を報告',
openLogs: 'ログを開く',
process: {
'initial-state': '読み込み中...',
'python-setup': 'Python環境を設定中...',
'starting-server': 'ComfyUIサーバーを起動中...',
ready: '完了中...',
error: 'ComfyUIデスクトップを起動できません'
}
},
serverConfig: {
modifiedConfigs:
'以下のサーバー設定を変更しました。変更を適用するには再起動してください。',
revertChanges: '変更を元に戻す',
restart: '再起動'
},
currentUser: '現在のユーザー',
empty: '表示する項目がありません',
noWorkflowsFound: 'ワークフローが見つかりませんでした。',
comingSoon: '近日公開',
firstTimeUIMessage:
'あなたはこの新しいUIを初めて使用します。もし以前のUIに戻したい場合は、"Menu > Use new menu > Disabled"を選択してください。',
download: 'ダウンロード',
loadAllFolders: 'すべてのフォルダーを読み込む',
refresh: '更新',
terminal: 'ターミナル',
logs: 'ログ',
videoFailedToLoad: 'ビデオの読み込みに失敗しました',
extensionName: '拡張機能名',
reloadToApplyChanges: '変更を適用するには再読み込みしてください',
insert: '挿入',
systemInfo: 'システム情報',
devices: 'デバイス',
about: '情報',
add: '追加',
confirm: '確認',
reset: 'リセット',
resetKeybindingsTooltip: 'キーバインドをデフォルトに戻す',
customizeFolder: 'フォルダーをカスタマイズ',
icon: 'アイコン',
color: '色',
bookmark: 'ブックマーク',
folder: 'フォルダー',
star: 'スター',
heart: 'ハート',
file: 'ファイル',
inbox: '受信箱',
box: 'ボックス',
briefcase: 'ブリーフケース',
error: 'エラー',
loading: '読み込み中',
findIssues: '問題を探す',
reportIssue: 'レポートを送信',
reportIssueTooltip: 'エラーレポートをComfy Orgに送信',
reportSent: 'レポートを送信しました',
copyToClipboard: 'クリップボードにコピー',
openNewIssue: '新しいIssueを開く',
showReport: 'レポートを表示',
imageFailedToLoad: '画像の読み込みに失敗しました',
reconnecting: '再接続中',
reconnected: '再接続しました',
delete: '削除',
rename: '名前を変更',
customize: 'カスタマイズ',
experimental: 'ベータ',
deprecated: '非推奨',
loadWorkflow: 'ワークフローを読み込む',
goToNode: 'ノードへ移動',
settings: '設定',
searchWorkflows: 'ワークフローを検索',
searchSettings: '設定を検索',
searchNodes: 'ノードを検索',
searchModels: 'モデルを検索',
searchKeybindings: 'キーバインドを検索',
searchExtensions: '拡張機能を検索',
noResultsFound: '結果が見つかりませんでした',
searchFailedMessage:
'検索条件に一致する設定が見つかりませんでした。条件を変更して再試行してください。',
noTasksFound: 'タスクが見つかりませんでした',
noTasksFoundMessage: 'キューにタスクがありません。',
newFolder: '新しいフォルダー',
sideToolbar: {
themeToggle: 'テーマの切り替え',
queue: 'キュー',
logout: 'ログアウト',
nodeLibrary: 'ノードライブラリ',
workflows: 'ワークフロー',
browseTemplates: 'サンプルテンプレートを表示',
openWorkflow: 'ローカルでワークフローを開く',
newBlankWorkflow: '新しい空のワークフローを作成',
nodeLibraryTab: {
sortOrder: '並び順'
},
modelLibrary: 'モデルライブラリ',
downloads: 'ダウンロード',
queueTab: {
showFlatList: 'フラットリストを表示',
backToAllTasks: 'すべてのタスクに戻る',
containImagePreview: '画像プレビューを含める',
coverImagePreview: '画像プレビューに合わせる',
clearPendingTasks: '保留中のタスクをクリア',
filter: '出力をフィルタ',
filters: {
hideCached: 'キャッシュを非表示',
hideCanceled: 'キャンセル済みを非表示'
}
}
},
menu: {
hideMenu: 'メニューを隠す',
showMenu: 'メニューを表示',
batchCount: 'バッチ数',
batchCountTooltip: 'ワークフロー生成回数',
autoQueue: '自動キュー',
disabled: '無効',
disabledTooltip: 'ワークフローは自動的にキューに追加されません',
instant: '即時',
instantTooltip: '生成完了後すぐにキューに追加',
change: '変更時',
changeTooltip: '変更があるとキューに追加',
queueWorkflow: 'キューに追加 (Shiftで先頭に)',
queueWorkflowFront: '先頭に追加',
queue: 'キュー',
interrupt: '現在の実行を中止',
refresh: 'ノードを更新',
clipspace: 'クリップスペースを開く',
resetView: 'ビューをリセット',
clear: 'ワークフローをクリア',
toggleBottomPanel: '下部パネルを切り替え'
},
templateWorkflows: {
title: 'テンプレートを利用して開始'
},
graphCanvasMenu: {
zoomIn: '拡大',
zoomOut: '縮小',
resetView: 'ビューをリセット',
fitView: 'ビューに合わせる',
selectMode: '選択モード',
panMode: 'パンモード',
toggleLinkVisibility: 'リンクの表示切り替え'
},
electronFileDownload: {
inProgress: 'ダウンロード中',
pause: 'ダウンロードを一時停止',
paused: '一時停止',
resume: 'ダウンロードを再開',
cancel: 'ダウンロードをキャンセル',
cancelled: 'キャンセルされました'
}
}

223
src/locales/ru.json Normal file
View File

@@ -0,0 +1,223 @@
{
"about": "О",
"add": "Добавить",
"bookmark": "Закладка",
"box": "Ящик",
"briefcase": "Чемодан",
"color": "Цвет",
"comingSoon": "Скоро",
"confirm": "Подтвердить",
"copyToClipboard": "Копировать в буфер обмена",
"currentUser": "Текущий пользователь",
"customize": "Настроить",
"customizeFolder": "Настроить папку",
"delete": "Удалить",
"deprecated": "УСТАР",
"devices": "Устройства",
"download": "Скачать",
"downloadGit": {
"gitWebsite": "Скачать git",
"instructions": "Пожалуйста, скачайте и установите последнюю версию для вашей операционной системы. Кнопка 'Скачать git' ниже открывает страницу загрузок git-scm.com.",
"message": "Не удалось найти git. Рабочая копия git необходима для нормальной работы.",
"skip": "Пропустить",
"title": "Скачать git",
"warning": "Если вы уверены, что вам не нужно устанавливать git, или произошла ошибка, вы можете нажать 'Пропустить', чтобы обойти эту проверку. Попытка запустить ComfyUI без рабочей копии git в настоящее время не поддерживается."
},
"electronFileDownload": {
"cancel": "Отменить загрузку",
"cancelled": "Отменено",
"inProgress": "В процессе",
"pause": "Приостановить загрузку",
"paused": "Приостановлено",
"resume": "Возобновить загрузку"
},
"empty": "Пусто",
"error": "Ошибка",
"experimental": "БЕТА",
"extensionName": "Название расширения",
"file": "Файл",
"findIssues": "Найти Issue",
"firstTimeUIMessage": "Это первый раз, когда вы используете новый интерфейс. Выберите \"Меню > Использовать новое меню > Отключено\", чтобы восстановить старый интерфейс.",
"folder": "Папка",
"goToNode": "Перейти к узлу",
"graphCanvasMenu": {
"fitView": "Подгонять под выделенные",
"panMode": "Режим панорамирования",
"resetView": "Сбросить вид",
"selectMode": "Выбрать режим",
"toggleLinkVisibility": "Переключить видимость ссылок",
"zoomIn": "Увеличить",
"zoomOut": "Уменьшить"
},
"heart": "Сердце",
"icon": "Иконка",
"imageFailedToLoad": "Изображение не удалось загрузить",
"inbox": "Входящие",
"insert": "Вставить",
"install": {
"appDataLocationTooltip": "Директория данных приложения ComfyUI. Хранит:\n- Логи\n- Конфигурации сервера",
"appPathLocationTooltip": "Директория активов приложения ComfyUI. Хранит код и активы ComfyUI",
"chooseInstallationLocation": "Выберите место установки",
"customNodes": "Пользовательские узлы",
"customNodesDescription": "Ссылайтесь на файлы пользовательских узлов из существующих установок ComfyUI и устанавливайте их зависимости.",
"desktopAppSettings": "Настройки настольного приложения",
"desktopAppSettingsDescription": "Настройте, как ComfyUI ведет себя на вашем рабочем столе. Вы можете изменить эти настройки позже.",
"desktopSettings": "Настройки рабочего стола",
"failedToSelectDirectory": "Не удалось выбрать директорию",
"installLocation": "Место установки",
"installLocationDescription": "Выберите директорию для пользовательских данных ComfyUI. В выбранном месте будет установлена среда Python. Пожалуйста, убедитесь, что на выбранном диске достаточно места (~15 ГБ).",
"installLocationTooltip": "Директория пользовательских данных ComfyUI. Хранит:\n- Среда Python\n- Модели\n- Пользовательские узлы\n",
"migrateFromExistingInstallation": "Миграция из существующей установки",
"migration": "Миграция",
"migrationOptional": "Миграция является необязательной. Если у вас нет существующей установки, вы можете пропустить этот шаг.",
"migrationSourcePathDescription": "Если у вас есть существующая установка ComfyUI, мы можем скопировать/связать ваши существующие пользовательские файлы и модели в новую установку.",
"pathValidationFailed": "Не удалось проверить путь",
"selectItemsToMigrate": "Выберите элементы для миграции",
"settings": {
"allowMetrics": "Отчеты о сбоях",
"allowMetricsDescription": "Помогите улучшить ComfyUI, отправляя анонимные отчеты о сбоях. Личная информация или содержимое рабочего процесса не будут собираться. Это можно отключить в любое время в меню настроек.",
"autoUpdate": "Автоматические обновления",
"autoUpdateDescription": "Автоматически загружать и устанавливать обновления, когда они становятся доступными. Вы всегда будете уведомлены перед установкой обновлений.",
"dataCollectionDialog": {
"customNodeConfigurations": "Конфигурации пользовательских узлов",
"errorReports": "Сообщения об ошибках и трассировка стека",
"fileSystemInformation": "Информация о файловой системе",
"personalInformation": "Личная информация",
"systemInfo": "Аппаратное обеспечение, тип ОС и версия приложения",
"title": "О сборе данных",
"whatWeCollect": "Что мы собираем:",
"whatWeDoNotCollect": "Что мы не собираем:",
"workflowContent": "Содержимое рабочего процесса",
"workflowContents": "Содержимое рабочего процесса"
},
"learnMoreAboutData": "Узнать больше о сборе данных"
},
"systemLocations": "Системные места"
},
"loadAllFolders": "Загрузить все папки",
"loadWorkflow": "Загрузить рабочий процесс",
"loading": "Загрузка",
"logs": "Логи",
"menu": {
"autoQueue": "Автоочередь",
"batchCount": "Количество пакетов",
"batchCountTooltip": "Количество раз, когда генерация рабочего процесса должна быть помещена в очередь",
"change": "При изменении",
"changeTooltip": "Рабочий процесс будет поставлен в очередь после внесения изменений",
"clear": "Очистить рабочий процесс",
"clipspace": "Открыть Clipspace",
"disabled": "Отключено",
"disabledTooltip": "Рабочий процесс не будет автоматически помещён в очередь",
"hideMenu": "Скрыть меню",
"instant": "Мгновенно",
"instantTooltip": "Рабочий процесс будет помещён в очередь сразу же после завершения генерации",
"interrupt": "Отменить текущее выполнение",
"queue": "Очередь",
"queueWorkflow": "Очередь рабочего процесса (Shift для вставки спереди)",
"queueWorkflowFront": "Очередь рабочего процесса (Вставка спереди)",
"refresh": "Обновить определения узлов",
"resetView": "Сбросить вид холста",
"showMenu": "Показать меню",
"toggleBottomPanel": "Переключить нижнюю панель"
},
"newFolder": "Новая папка",
"noResultsFound": "Ничего не найдено",
"noTasksFound": "Задачи не найдены",
"noTasksFoundMessage": "В очереди нет задач.",
"noWorkflowsFound": "Рабочие процессы не найдены.",
"notSupported": {
"learnMore": "Узнать больше",
"message": "Поддерживаются только следующие устройства:",
"reportIssue": "Сообщить о проблеме",
"supportedDevices": {
"macos": "MacOS (M1 или новее)",
"windows": "Windows (Nvidia GPU с поддержкой CUDA)"
},
"title": "Ваше устройство не поддерживается"
},
"openNewIssue": "Открыть новый Issue",
"reconnected": "Переподключено",
"reconnecting": "Переподключение",
"refresh": "Обновить",
"reloadToApplyChanges": "Перезагрузите, чтобы применить изменения",
"rename": "Переименовать",
"reportIssue": "Отправить отчет",
"reportIssueTooltip": "Отправить отчет об ошибке в Comfy Org",
"reportSent": "Отчет отправлен",
"reset": "Сбросить",
"resetKeybindingsTooltip": "Сбросить сочетания клавиш по умолчанию",
"searchExtensions": "Поиск расширений",
"searchFailedMessage": "Не удалось найти ни одной настройки, соответствующей вашему запросу. Попробуйте скорректировать поисковый запрос.",
"searchKeybindings": "Поиск сочетаний клавиш",
"searchModels": "Поиск моделей",
"searchNodes": "Поиск узлов",
"searchSettings": "Поиск настроек",
"searchWorkflows": "Поиск рабочих процессов",
"serverConfig": {
"modifiedConfigs": "Вы изменили следующие конфигурации сервера. Перезапустите, чтобы применить изменения.",
"restart": "Перезапустить",
"revertChanges": "Отменить изменения"
},
"serverStart": {
"openLogs": "Открыть логи",
"process": {
"error": "Не удалось запустить ComfyUI Desktop",
"ready": "Завершение..."
},
"reinstall": "Переустановить",
"reportIssue": "Сообщить о проблеме"
},
"settings": "Настройки",
"showReport": "Показать отчёт",
"sideToolbar": {
"browseTemplates": "Просмотреть примеры шаблонов",
"downloads": "Загрузки",
"logout": "Выйти",
"modelLibrary": "Библиотека моделей",
"newBlankWorkflow": "Создайте новый пустой рабочий процесс",
"nodeLibrary": "Библиотека узлов",
"nodeLibraryTab": {
"sortOrder": "Порядок сортировки"
},
"openWorkflow": "Открыть рабочий процесс в локальной файловой системе",
"queue": "Очередь",
"queueTab": {
"backToAllTasks": "Вернуться ко всем задачам",
"clearPendingTasks": "Очистить отложенные задачи",
"containImagePreview": "Предпросмотр заливающего изображения",
"coverImagePreview": "Предпросмотр подходящего изображения",
"filter": "Фильтровать выводы",
"filters": {
"hideCached": "Скрыть кэшированные",
"hideCanceled": "Скрыть отмененные"
},
"showFlatList": "Показать плоский список"
},
"themeToggle": "Переключить тему",
"workflows": "Рабочие процессы"
},
"star": "Звёздочка",
"systemInfo": "Информация о системе",
"templateWorkflows": {
"template": {
"default": "Image Generation",
"flux_schnell": "Flux Schnell",
"image2image": "Image to Image",
"upscale": "2 Pass Upscale"
},
"title": "Начните работу с шаблона"
},
"terminal": "Терминал",
"userSelect": {
"enterUsername": "Введите имя пользователя",
"existingUser": "Существующий пользователь",
"newUser": "Новый пользователь",
"next": "Далее",
"selectUser": "Выберите пользователя"
},
"videoFailedToLoad": "Видео не удалось загрузить",
"welcome": {
"getStarted": "Начать",
"title": "Добро пожаловать в ComfyUI"
}
}

View File

@@ -1,124 +0,0 @@
export default {
currentUser: 'Текущий пользователь',
empty: 'Пусто',
noWorkflowsFound: 'Рабочие процессы не найдены.',
download: 'Скачать',
refresh: 'Обновить',
loadAllFolders: 'Загрузить все папки',
terminal: 'Терминал',
videoFailedToLoad: 'Видео не удалось загрузить',
extensionName: 'Название расширения',
reloadToApplyChanges: 'Перезагрузите, чтобы применить изменения',
insert: 'Вставить',
systemInfo: 'Информация о системе',
devices: 'Устройства',
about: 'О',
add: 'Добавить',
confirm: 'Подтвердить',
reset: 'Сбросить',
resetKeybindingsTooltip: 'Сбросить сочетания клавиш по умолчанию',
customizeFolder: 'Настроить папку',
icon: 'Иконка',
color: 'Цвет',
bookmark: 'Закладка',
folder: 'Папка',
star: 'Звёздочка',
heart: 'Сердце',
file: 'Файл',
inbox: 'Входящие',
box: 'Ящик',
briefcase: 'Чемодан',
error: 'Ошибка',
loading: 'Загрузка',
findIssues: 'Найти Issue',
copyToClipboard: 'Копировать в буфер обмена',
openNewIssue: 'Открыть новый Issue',
showReport: 'Показать отчёт',
imageFailedToLoad: 'Изображение не удалось загрузить',
reconnecting: 'Переподключение',
reconnected: 'Переподключено',
delete: 'Удалить',
rename: 'Переименовать',
customize: 'Настроить',
experimental: 'БЕТА',
deprecated: 'УСТАР',
loadWorkflow: 'Загрузить рабочий процесс',
goToNode: 'Перейти к узлу',
settings: 'Настройки',
searchWorkflows: 'Поиск рабочих процессов',
searchSettings: 'Поиск настроек',
searchNodes: 'Поиск узлов',
searchModels: 'Поиск моделей',
searchKeybindings: 'Поиск сочетаний клавиш',
searchExtensions: 'Поиск расширений',
noResultsFound: 'Ничего не найдено',
searchFailedMessage:
'Не удалось найти ни одной настройки, соответствующей вашему запросу. Попробуйте скорректировать поисковый запрос.',
noContent: '(Нет контента)',
noTasksFound: 'Задачи не найдены',
noTasksFoundMessage: 'В очереди нет задач.',
newFolder: 'Новая папка',
sideToolbar: {
themeToggle: 'Переключить тему',
queue: 'Очередь',
logout: 'Выйти',
nodeLibrary: 'Библиотека узлов',
workflows: 'Рабочие процессы',
browseTemplates: 'Просмотреть примеры шаблонов',
openWorkflow: 'Открыть рабочий процесс в локальной файловой системе',
newBlankWorkflow: 'Создайте новый пустой рабочий процесс',
nodeLibraryTab: {
sortOrder: 'Порядок сортировки'
},
modelLibrary: 'Библиотека моделей',
queueTab: {
showFlatList: 'Показать плоский список',
backToAllTasks: 'Вернуться ко всем задачам',
containImagePreview: 'Предпросмотр заливающего изображения',
coverImagePreview: 'Предпросмотр подходящего изображения',
clearPendingTasks: 'Очистить отложенные задачи'
}
},
menu: {
hideMenu: 'Скрыть меню',
showMenu: 'Показать меню',
batchCount: 'Количество пакетов',
batchCountTooltip:
'Количество раз, когда генерация рабочего процесса должна быть помещена в очередь',
autoQueue: 'Автоочередь',
disabled: 'Отключено',
disabledTooltip: 'Рабочий процесс не будет автоматически помещён в очередь',
instant: 'Мгновенно',
instantTooltip:
'Рабочий процесс будет помещён в очередь сразу же после завершения генерации',
change: 'При изменении',
changeTooltip:
'Рабочий процесс будет поставлен в очередь после внесения изменений',
queueWorkflow: 'Очередь рабочего процесса (Shift для вставки спереди)',
queueWorkflowFront: 'Очередь рабочего процесса (Вставка спереди)',
queue: 'Очередь',
interrupt: 'Отменить текущее выполнение',
refresh: 'Обновить определения узлов',
clipspace: 'Открыть Clipspace',
resetView: 'Сбросить вид холста',
clear: 'Очистить рабочий процесс'
},
templateWorkflows: {
title: 'Начните работу с шаблона',
template: {
default: 'Image Generation',
image2image: 'Image to Image',
upscale: '2 Pass Upscale',
flux_schnell: 'Flux Schnell'
}
},
graphCanvasMenu: {
zoomIn: 'Увеличить',
zoomOut: 'Уменьшить',
resetView: 'Сбросить вид',
fitView: 'Подгонять под выделенные',
selectMode: 'Выбрать режим',
panMode: 'Режим панорамирования',
toggleLinkVisibility: 'Переключить видимость ссылок'
}
}

223
src/locales/zh.json Normal file
View File

@@ -0,0 +1,223 @@
{
"about": "关于",
"add": "添加",
"bookmark": "书签",
"box": "盒子",
"briefcase": "公文包",
"color": "颜色",
"comingSoon": "敬请期待",
"confirm": "确认",
"copyToClipboard": "复制到剪贴板",
"currentUser": "当前用户",
"customize": "定制",
"customizeFolder": "定制文件夹",
"delete": "删除",
"deprecated": "弃用",
"devices": "设备",
"download": "下载",
"downloadGit": {
"gitWebsite": "下载 git",
"instructions": "请下载并安装适合您操作系统的最新版本。下面的下载 git 按钮将打开 git-scm.com 下载页面。",
"message": "无法找到 git。正常操作需要一个可用的 git 副本。",
"skip": "跳过",
"title": "下载 git",
"warning": "如果您确定不需要安装 git或者这是一个错误您可以点击跳过以绕过此检查。当前不支持在没有可用 git 副本的情况下运行 ComfyUI。"
},
"electronFileDownload": {
"cancel": "取消下载",
"cancelled": "已取消",
"inProgress": "进行中",
"pause": "暂停下载",
"paused": "已暂停",
"resume": "恢复下载"
},
"empty": "空",
"error": "错误",
"experimental": "BETA",
"extensionName": "扩展名称",
"file": "文件",
"findIssues": "查找 Issue",
"firstTimeUIMessage": "这是您第一次使用新界面。选择“Menu > Use New Menu > Disabled”以恢复旧界面。",
"folder": "文件夹",
"goToNode": "前往节点",
"graphCanvasMenu": {
"fitView": "适应视图",
"panMode": "平移模式",
"resetView": "重置视图",
"selectMode": "选择模式",
"toggleLinkVisibility": "切换链接可见性",
"zoomIn": "放大",
"zoomOut": "缩小"
},
"heart": "心",
"icon": "图标",
"imageFailedToLoad": "图像加载失败",
"inbox": "收件箱",
"insert": "插入",
"install": {
"appDataLocationTooltip": "ComfyUI 的应用数据目录。存储:\n- 日志\n- 服务器配置",
"appPathLocationTooltip": "ComfyUI 的应用资产目录。存储 ComfyUI 代码和资产",
"chooseInstallationLocation": "选择安装位置",
"customNodes": "自定义节点",
"customNodesDescription": "引用现有 ComfyUI 安装的自定义节点文件并安装其依赖项。",
"desktopAppSettings": "桌面应用设置",
"desktopAppSettingsDescription": "配置 ComfyUI 在桌面上的行为。您可以稍后更改这些设置。",
"desktopSettings": "桌面设置",
"failedToSelectDirectory": "选择目录失败",
"installLocation": "安装位置",
"installLocationDescription": "选择 ComfyUI 用户数据的目录。将安装一个 Python 环境到所选位置。请确保所选磁盘有足够的空间(约 15GB。",
"installLocationTooltip": "ComfyUI 的用户数据目录。存储:\n- Python 环境\n- 模型\n- 自定义节点\n",
"migrateFromExistingInstallation": "从现有安装迁移",
"migration": "迁移",
"migrationOptional": "迁移是可选的。如果您没有现有安装,可以跳过此步骤。",
"migrationSourcePathDescription": "如果您有现有的 ComfyUI 安装,我们可以将您的现有用户文件和模型复制/链接到新安装。",
"pathValidationFailed": "路径验证失败",
"selectItemsToMigrate": "选择要迁移的项目",
"settings": {
"allowMetrics": "崩溃报告",
"allowMetricsDescription": "通过发送匿名崩溃报告来帮助改善 ComfyUI。不会收集任何个人信息或工作流内容。您可以随时在设置菜单中禁用此功能。",
"autoUpdate": "自动更新",
"autoUpdateDescription": "在更新可用时自动下载并安装更新。您将在安装更新之前始终收到通知。",
"dataCollectionDialog": {
"customNodeConfigurations": "自定义节点配置",
"errorReports": "错误信息和堆栈跟踪",
"fileSystemInformation": "文件系统信息",
"personalInformation": "个人信息",
"systemInfo": "硬件、操作系统类型和应用版本",
"title": "关于数据收集",
"whatWeCollect": "我们收集的内容:",
"whatWeDoNotCollect": "我们不收集的内容:",
"workflowContent": "工作流内容",
"workflowContents": "工作流内容"
},
"learnMoreAboutData": "了解更多关于数据收集的信息"
},
"systemLocations": "系统位置"
},
"loadAllFolders": "加载所有文件夹",
"loadWorkflow": "加载工作流",
"loading": "加载中",
"logs": "日志",
"menu": {
"autoQueue": "自动执行",
"batchCount": "批次数量",
"batchCountTooltip": "工作流生成次数",
"change": "变动",
"changeTooltip": "工作流将会在改变后执行",
"clear": "清空工作流",
"clipspace": "打开剪贴板",
"disabled": "禁用",
"disabledTooltip": "工作流将不会自动执行",
"hideMenu": "隐藏菜单",
"instant": "实时",
"instantTooltip": "工作流将会在生成完成后立即执行",
"interrupt": "取消当前任务",
"queue": "队列",
"queueWorkflow": "执行 (Shift 执行到队列首)",
"queueWorkflowFront": "执行到队列首",
"refresh": "刷新节点",
"resetView": "重置画布视图",
"showMenu": "显示菜单",
"toggleBottomPanel": "底部面板"
},
"newFolder": "新建文件夹",
"noResultsFound": "未找到结果",
"noTasksFound": "未找到任务",
"noTasksFoundMessage": "队列中没有任务。",
"noWorkflowsFound": "未找到工作流",
"notSupported": {
"learnMore": "了解更多",
"message": "仅支持以下设备:",
"reportIssue": "报告问题",
"supportedDevices": {
"macos": "MacOS (M1 或更高版本)",
"windows": "Windows (支持 CUDA 的 Nvidia GPU)"
},
"title": "您的设备不受支持"
},
"openNewIssue": "开启新 Issue",
"reconnected": "已重新连接",
"reconnecting": "重新连接中",
"refresh": "刷新",
"reloadToApplyChanges": "重新加载以应用更改",
"rename": "重命名",
"reportIssue": "发送报告",
"reportIssueTooltip": "将错误报告提交给 Comfy 组织",
"reportSent": "报告已提交",
"reset": "重置",
"resetKeybindingsTooltip": "重置键位",
"searchExtensions": "搜索插件",
"searchFailedMessage": "我们找不到与您的搜索匹配的任何设置。请尝试调整搜索条件。",
"searchKeybindings": "搜索键位",
"searchModels": "搜索模型",
"searchNodes": "搜索节点",
"searchSettings": "搜索设置",
"searchWorkflows": "搜索工作流",
"serverConfig": {
"modifiedConfigs": "您已修改以下服务器配置。重启以应用更改。",
"restart": "重启",
"revertChanges": "撤销更改"
},
"serverStart": {
"openLogs": "打开日志",
"process": {
"error": "无法启动 ComfyUI 桌面版",
"ready": "完成中..."
},
"reinstall": "重新安装",
"reportIssue": "报告问题"
},
"settings": "设置",
"showReport": "显示报告",
"sideToolbar": {
"browseTemplates": "浏览示例模板",
"downloads": "下载",
"logout": "登出",
"modelLibrary": "模型库",
"newBlankWorkflow": "创建一个新空白工作流",
"nodeLibrary": "节点库",
"nodeLibraryTab": {
"sortOrder": "排序顺序"
},
"openWorkflow": "在本地文件系统中打开工作流",
"queue": "队列",
"queueTab": {
"backToAllTasks": "返回",
"clearPendingTasks": "清除待处理任务",
"containImagePreview": "填充图像预览",
"coverImagePreview": "适应图像预览",
"filter": "过滤输出",
"filters": {
"hideCached": "隐藏缓存",
"hideCanceled": "隐藏已取消"
},
"showFlatList": "平铺结果"
},
"themeToggle": "主题切换",
"workflows": "工作流"
},
"star": "星星",
"systemInfo": "系统信息",
"templateWorkflows": {
"template": {
"default": "Image Generation",
"flux_schnell": "Flux Schnell",
"image2image": "Image to Image",
"upscale": "2 Pass Upscale"
},
"title": "从模板开始"
},
"terminal": "终端",
"userSelect": {
"enterUsername": "输入用户名",
"existingUser": "已有用户",
"newUser": "新用户",
"next": "下一步",
"selectUser": "选择用户"
},
"videoFailedToLoad": "视频加载失败",
"welcome": {
"getStarted": "开始使用",
"title": "欢迎使用 ComfyUI"
}
}

View File

@@ -1,124 +0,0 @@
export default {
currentUser: '当前用户',
empty: '空',
noWorkflowsFound: '未找到工作流',
firstTimeUIMessage:
'这是您第一次使用新界面。选择“Menu > Use New Menu > Disabled”以恢复旧界面。',
download: '下载',
loadAllFolders: '加载所有文件夹',
refresh: '刷新',
terminal: '终端',
videoFailedToLoad: '视频加载失败',
extensionName: '扩展名称',
reloadToApplyChanges: '重新加载以应用更改',
insert: '插入',
systemInfo: '系统信息',
devices: '设备',
about: '关于',
add: '添加',
confirm: '确认',
reset: '重置',
resetKeybindingsTooltip: '重置键位',
customizeFolder: '定制文件夹',
icon: '图标',
color: '颜色',
bookmark: '书签',
folder: '文件夹',
star: '星星',
heart: '心',
file: '文件',
inbox: '收件箱',
box: '盒子',
briefcase: '公文包',
error: '错误',
loading: '加载中',
findIssues: '查找 Issue',
copyToClipboard: '复制到剪贴板',
openNewIssue: '开启新 Issue',
showReport: '显示报告',
imageFailedToLoad: '图像加载失败',
reconnecting: '重新连接中',
reconnected: '已重新连接',
delete: '删除',
rename: '重命名',
customize: '定制',
experimental: 'BETA',
deprecated: '弃用',
loadWorkflow: '加载工作流',
goToNode: '前往节点',
settings: '设置',
searchWorkflows: '搜索工作流',
searchSettings: '搜索设置',
searchNodes: '搜索节点',
searchModels: '搜索模型',
searchKeybindings: '搜索键位',
searchExtensions: '搜索插件',
noResultsFound: '未找到结果',
searchFailedMessage:
'我们找不到与您的搜索匹配的任何设置。请尝试调整搜索条件。',
noContent: '(无内容)',
noTasksFound: '未找到任务',
noTasksFoundMessage: '队列中没有任务。',
newFolder: '新建文件夹',
sideToolbar: {
themeToggle: '主题切换',
logout: '登出',
queue: '队列',
nodeLibrary: '节点库',
workflows: '工作流',
browseTemplates: '浏览示例模板',
openWorkflow: '在本地文件系统中打开工作流',
newBlankWorkflow: '创建一个新空白工作流',
nodeLibraryTab: {
sortOrder: '排序顺序'
},
modelLibrary: '模型库',
queueTab: {
showFlatList: '平铺结果',
backToAllTasks: '返回',
containImagePreview: '填充图像预览',
coverImagePreview: '适应图像预览',
clearPendingTasks: '清除待处理任务'
}
},
menu: {
hideMenu: '隐藏菜单',
showMenu: '显示菜单',
batchCount: '批次数量',
batchCountTooltip: '工作流生成次数',
autoQueue: '自动执行',
disabled: '禁用',
disabledTooltip: '工作流将不会自动执行',
instant: '实时',
instantTooltip: '工作流将会在生成完成后立即执行',
change: '变动',
changeTooltip: '工作流将会在改变后执行',
queueWorkflow: '执行 (Shift 执行到队列首)',
queueWorkflowFront: '执行到队列首',
queue: '队列',
interrupt: '取消当前任务',
refresh: '刷新节点',
clipspace: '打开剪贴板',
resetView: '重置画布视图',
clear: '清空工作流',
toggleBottomPanel: '底部面板'
},
templateWorkflows: {
title: '从模板开始',
template: {
default: 'Image Generation',
image2image: 'Image to Image',
upscale: '2 Pass Upscale',
flux_schnell: 'Flux Schnell'
}
},
graphCanvasMenu: {
zoomIn: '放大',
zoomOut: '缩小',
resetView: '重置视图',
fitView: '适应视图',
selectMode: '选择模式',
panMode: '平移模式',
toggleLinkVisibility: '切换链接可见性'
}
}

View File

@@ -11,6 +11,7 @@
"moduleResolution": "Node", "moduleResolution": "Node",
"experimentalDecorators": true, "experimentalDecorators": true,
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"resolveJsonModule": true,
/* Linting */ /* Linting */
"strict": false, "strict": false,