i18ntk 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -2
- package/LICENSE +3 -1
- package/README.md +47 -46
- package/docs/README.md +40 -18
- package/docs/SCRIPT_DIRECTORY_GUIDE.md +224 -0
- package/docs/release-notes/v1.3.0.md +162 -0
- package/main/i18ntk-analyze.js +11 -6
- package/main/i18ntk-autorun.js +37 -36
- package/main/i18ntk-complete.js +9 -5
- package/main/i18ntk-init.js +16 -12
- package/main/i18ntk-manage.js +6 -4
- package/main/i18ntk-sizing.js +5 -1
- package/main/i18ntk-summary.js +6 -2
- package/main/i18ntk-usage.js +5 -5
- package/main/i18ntk-validate.js +9 -5
- package/package.json +12 -5
- package/scripts/copy-translations.js +90 -0
- package/settings/i18ntk-config.json +11 -1
- package/settings/settings-cli.js +136 -75
- package/settings/settings-manager.js +19 -0
- package/ui-locales/de/autorun.json +69 -64
- package/ui-locales/de/common.json +14 -1
- package/ui-locales/de/errors.json +11 -1
- package/ui-locales/de/menu.json +10 -1
- package/ui-locales/de/operations.json +11 -0
- package/ui-locales/de/security.json +2 -1
- package/ui-locales/de/settings.json +60 -9
- package/ui-locales/de/sizing.json +14 -1
- package/ui-locales/de/status.json +18 -1
- package/ui-locales/de/test-complete-system.json +13 -1
- package/ui-locales/en/autorun.json +68 -65
- package/ui-locales/en/common.json +15 -1
- package/ui-locales/en/init.json +20 -5
- package/ui-locales/en/menu.json +1 -0
- package/ui-locales/en/operations.json +11 -1
- package/ui-locales/en/settings.json +151 -34
- package/ui-locales/es/autorun.json +68 -65
- package/ui-locales/es/common.json +14 -1
- package/ui-locales/es/errors.json +11 -1
- package/ui-locales/es/menu.json +10 -1
- package/ui-locales/es/operations.json +11 -0
- package/ui-locales/es/security.json +2 -1
- package/ui-locales/es/settings.json +60 -9
- package/ui-locales/es/sizing.json +14 -1
- package/ui-locales/es/status.json +18 -1
- package/ui-locales/es/test-complete-system.json +13 -1
- package/ui-locales/fr/autorun.json +69 -64
- package/ui-locales/fr/common.json +14 -1
- package/ui-locales/fr/errors.json +11 -1
- package/ui-locales/fr/menu.json +10 -1
- package/ui-locales/fr/operations.json +11 -0
- package/ui-locales/fr/security.json +2 -1
- package/ui-locales/fr/settings.json +60 -9
- package/ui-locales/fr/sizing.json +14 -1
- package/ui-locales/fr/status.json +18 -1
- package/ui-locales/fr/test-complete-system.json +13 -1
- package/ui-locales/ja/autorun.json +69 -64
- package/ui-locales/ja/common.json +14 -1
- package/ui-locales/ja/errors.json +11 -1
- package/ui-locales/ja/menu.json +10 -1
- package/ui-locales/ja/operations.json +11 -0
- package/ui-locales/ja/security.json +2 -1
- package/ui-locales/ja/settings.json +60 -9
- package/ui-locales/ja/sizing.json +14 -1
- package/ui-locales/ja/status.json +18 -1
- package/ui-locales/ja/test-complete-system.json +13 -1
- package/ui-locales/pt/analyze.json +2 -1
- package/ui-locales/pt/autorun.json +69 -64
- package/ui-locales/pt/common.json +14 -1
- package/ui-locales/pt/errors.json +11 -1
- package/ui-locales/pt/init.json +5 -1
- package/ui-locales/pt/menu.json +10 -1
- package/ui-locales/pt/operations.json +11 -0
- package/ui-locales/pt/security.json +2 -1
- package/ui-locales/pt/settings.json +60 -9
- package/ui-locales/pt/sizing.json +14 -1
- package/ui-locales/pt/status.json +18 -1
- package/ui-locales/pt/test-complete-system.json +13 -1
- package/ui-locales/ru/autorun.json +69 -64
- package/ui-locales/ru/common.json +14 -1
- package/ui-locales/ru/errors.json +11 -1
- package/ui-locales/ru/menu.json +10 -1
- package/ui-locales/ru/operations.json +11 -0
- package/ui-locales/ru/security.json +2 -1
- package/ui-locales/ru/settings.json +60 -9
- package/ui-locales/ru/sizing.json +14 -1
- package/ui-locales/ru/status.json +18 -1
- package/ui-locales/ru/test-complete-system.json +13 -1
- package/ui-locales/zh/autorun.json +69 -64
- package/ui-locales/zh/common.json +14 -1
- package/ui-locales/zh/errors.json +11 -1
- package/ui-locales/zh/menu.json +10 -1
- package/ui-locales/zh/operations.json +11 -0
- package/ui-locales/zh/security.json +2 -1
- package/ui-locales/zh/settings.json +60 -9
- package/ui-locales/zh/sizing.json +13 -1
- package/ui-locales/zh/status.json +25 -8
- package/ui-locales/zh/test-complete-system.json +13 -1
- package/utils/test-complete-system.js +178 -162
- package/settings/backups/i18ntk-config-backup-2025-08-01T23-38-43-753Z.json +0 -117
- package/ui-locales/de-old.json +0 -705
- package/ui-locales/de.json +0 -15
- package/ui-locales/en-old.json +0 -709
- package/ui-locales/en.json +0 -15
- package/ui-locales/es-old.json +0 -654
- package/ui-locales/es.json +0 -15
- package/ui-locales/fr-old.json +0 -606
- package/ui-locales/fr.json +0 -15
- package/ui-locales/ja-old.json +0 -660
- package/ui-locales/ja.json +0 -15
- package/ui-locales/pt.json +0 -15
- package/ui-locales/ru-old.json +0 -655
- package/ui-locales/ru.json +0 -15
- package/ui-locales/zh-old.json +0 -647
- package/ui-locales/zh.json +0 -15
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
"failure_message": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
24
24
|
"failure_error_message": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
25
25
|
"warning_message": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
26
|
-
"test_runner_failed": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
26
|
+
"test_runner_failed": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
27
|
+
"recommendations": {
|
|
28
|
+
"add_missing_translation_keys": "[PT] Add missing translation keys to maintain consistency",
|
|
29
|
+
"fix_failing_scripts": "[PT] Fix failing scripts before deployment",
|
|
30
|
+
"review_warning_messages": "[PT] Review and address warning messages",
|
|
31
|
+
"system_ready_for_deployment": "[PT] System is ready for deployment"
|
|
32
|
+
},
|
|
33
|
+
"hardcodedTexts": {
|
|
34
|
+
"addMissingTranslationKeys": "[PT] Add missing translation keys to maintain consistency",
|
|
35
|
+
"fixFailingScripts": "[PT] Fix failing scripts before deployment",
|
|
36
|
+
"reviewWarningMessages": "[PT] Review and address warning messages",
|
|
37
|
+
"systemReadyForDeployment": "[PT] System is ready for deployment"
|
|
38
|
+
}
|
|
27
39
|
}
|
|
28
40
|
}
|
|
@@ -1,66 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
2
|
+
"autorun": {
|
|
3
|
+
"missingRequiredFile": "[RU] Missing required file: {file}",
|
|
4
|
+
"runInitializationFirst": "[RU] Please run initialization first.",
|
|
5
|
+
"initializationCheckPassed": "[RU] Initialization check passed.",
|
|
6
|
+
"runningStep": "[RU] Running step: {stepName}",
|
|
7
|
+
"commandLabel": "[RU] Command: {command}",
|
|
8
|
+
"stepRunning": "[RU] Step '{stepName}' running...",
|
|
9
|
+
"stepCompletedWithTime": "[RU] Step '{stepName}' completed in {duration}ms.",
|
|
10
|
+
"stepCompleted": "[RU] Step '{stepName}' completed.",
|
|
11
|
+
"stepFailed": "[RU] Step '{stepName}' failed.",
|
|
12
|
+
"errorLabel": "[RU] Error: {error}",
|
|
13
|
+
"stepFailedWithError": "[RU] Step '{stepName}' failed with error: {error}",
|
|
14
|
+
"requiredStepFailed": "[RU] Required step failed. Stopping workflow.",
|
|
15
|
+
"optionalStepFailed": "[RU] Optional step failed. Continuing workflow.",
|
|
16
|
+
"startingAutoRunWorkflow": "[RU] Starting Auto-Run Workflow...",
|
|
17
|
+
"workflowIncludesSteps": "[RU] Workflow includes {count} steps:",
|
|
18
|
+
"stepRequired": "[RU] (Required)",
|
|
19
|
+
"stepOptional": "[RU] (Optional)",
|
|
20
|
+
"startingExecution": "[RU] Starting execution...",
|
|
21
|
+
"workflowStopped": "[RU] Workflow stopped.",
|
|
22
|
+
"workflowCompleted": "[RU] Workflow completed.",
|
|
23
|
+
"pressEnterToContinue": "[RU] Press Enter to continue...",
|
|
24
|
+
"runningSelectedSteps": "[RU] Running selected steps...",
|
|
25
|
+
"invalidStepNumber": "[RU] Invalid step number: {stepNum}",
|
|
26
|
+
"executionReport": "[RU] Execution Report:",
|
|
27
|
+
"successfulSteps": "[RU] Successful steps: {count}",
|
|
28
|
+
"failedSteps": "[RU] Failed steps: {count}",
|
|
29
|
+
"requiredFailedSteps": "[RU] Required steps failed: {count}",
|
|
30
|
+
"stepDetails": "[RU] Step Details:",
|
|
31
|
+
"errorDetails": "[RU] Error: {error}",
|
|
32
|
+
"reportSavedTo": "[RU] Report saved to: {path}",
|
|
33
|
+
"overallStatusSuccess": "[RU] SUCCESS",
|
|
34
|
+
"overallStatusFailed": "[RU] FAILED",
|
|
35
|
+
"overallStatus": "[RU] Overall Status: {status}",
|
|
36
|
+
"customSettingsConfiguration": "[RU] Custom Settings Configuration",
|
|
37
|
+
"pressEnterForDefaults": "[RU] Press Enter to use default settings for any prompt.",
|
|
38
|
+
"sourceDirPrompt": "[RU] Enter source directory (default: {default}): ",
|
|
39
|
+
"sourceLangPrompt": "[RU] Enter source language (default: {default}): ",
|
|
40
|
+
"targetLangsPrompt": "[RU] Enter target languages (comma-separated, default: {default}): ",
|
|
41
|
+
"translationMarkerPrompt": "[RU] Enter translation marker (default: {default}): ",
|
|
42
|
+
"outputDirPrompt": "[RU] Enter output directory for reports (default: {default}): ",
|
|
43
|
+
"settingsUpdatedSuccessfully": "[RU] Settings updated successfully!",
|
|
44
|
+
"errorConfiguringSettings": "[RU] Error configuring settings: {error}",
|
|
45
|
+
"autoRunScriptTitle": "[RU] Auto-Run Script",
|
|
46
|
+
"usageTitle": "[RU] Usage:",
|
|
47
|
+
"runAllSteps": "[RU] node i18ntk-autorun.js --all - Run all steps defined in i18ntk-config.json",
|
|
48
|
+
"configureSettingsFirst": "[RU] node i18ntk-autorun.js --config - Configure settings for the workflow",
|
|
49
|
+
"runSpecificSteps": "[RU] node i18ntk-autorun.js --steps <step_numbers> - Run specific steps (e.g., --steps 1,3,5)",
|
|
50
|
+
"showHelp": "[RU] node i18ntk-autorun.js --help - Show this help message",
|
|
51
|
+
"availableSteps": "[RU] Available Steps:",
|
|
52
|
+
"examplesTitle": "[RU] Examples:",
|
|
53
|
+
"configExample": "[RU] node i18ntk-autorun.js --config",
|
|
54
|
+
"stepsExample1": "[RU] node i18ntk-autorun.js --steps 1,2,3",
|
|
55
|
+
"stepsExample2": "[RU] node i18ntk-autorun.js --all",
|
|
56
|
+
"configurationComplete": "[RU] Configuration complete.",
|
|
57
|
+
"runAutoRunCommand": "[RU] Now you can run the auto-run command.",
|
|
58
|
+
"configurationFailed": "[RU] Configuration failed: {error}",
|
|
59
|
+
"noValidStepNumbers": "[RU] No valid step numbers provided.",
|
|
60
|
+
"autoRunFailed": "[RU] Auto-run failed: {error}",
|
|
61
|
+
"stepAnalyzeTranslations": "[RU] Analyze Translations",
|
|
62
|
+
"stepValidateTranslations": "[RU] Validate Translations",
|
|
63
|
+
"stepCheckUsage": "[RU] Check Usage",
|
|
64
|
+
"stepCompleteTranslations": "[RU] Complete Translations",
|
|
65
|
+
"stepAnalyzeSizing": "[RU] Analyze Sizing",
|
|
66
|
+
"stepGenerateSummary": "[RU] Generate Summary",
|
|
67
|
+
"translationLoadWarning": "[RU] Warning: Could not load {lang} translations",
|
|
68
|
+
"configReadError": "[RU] Error reading {file}",
|
|
69
|
+
"separator": "[RU] =================================================="
|
|
70
|
+
}
|
|
66
71
|
}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"success": "Успех",
|
|
3
|
-
"error": "Ошибка"
|
|
3
|
+
"error": "Ошибка",
|
|
4
|
+
"warning": "[RU] Warning",
|
|
5
|
+
"info": "[RU] Info",
|
|
6
|
+
"debug": "[RU] Debug",
|
|
7
|
+
"progress": "[RU] Progress",
|
|
8
|
+
"remaining": "[RU] Remaining",
|
|
9
|
+
"total": "[RU] Total",
|
|
10
|
+
"completed": "[RU] Completed",
|
|
11
|
+
"missing": "[RU] Missing",
|
|
12
|
+
"partial": "[RU] Partial",
|
|
13
|
+
"sameAsSource": "[RU] Same as source",
|
|
14
|
+
"formatMismatch": "[RU] Format mismatch",
|
|
15
|
+
"typeMismatch": "[RU] Type mismatch",
|
|
16
|
+
"structureMismatch": "[RU] Structure mismatch"
|
|
4
17
|
}
|
|
@@ -3,5 +3,15 @@
|
|
|
3
3
|
"genericError": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
4
4
|
"errorGeneratingStatusSummary": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
5
5
|
"errorRunningDebugTool": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
6
|
-
"errorReadingDebugLogs": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
6
|
+
"errorReadingDebugLogs": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
7
|
+
"errorAnalyzingLogFile": "[RU] Error analyzing log file: {error}",
|
|
8
|
+
"errorAnalyzingTranslationKeys": "[RU] Error analyzing translation keys: {error}",
|
|
9
|
+
"errorAnalyzingTranslationCompleteness": "[RU] Error analyzing translation completeness: {error}",
|
|
10
|
+
"errorAnalyzingTranslationFormat": "[RU] Error analyzing translation format: {error}",
|
|
11
|
+
"errorAnalyzingTranslationType": "[RU] Error analyzing translation type: {error}",
|
|
12
|
+
"errorAnalyzingTranslationStructure": "[RU] Error analyzing translation structure: {error}",
|
|
13
|
+
"errorAnalyzingTranslationFormatMismatch": "[RU] Error analyzing translation format mismatch: {error}",
|
|
14
|
+
"errorAnalyzingTranslationTypeMismatch": "[RU] Error analyzing translation type mismatch: {error}",
|
|
15
|
+
"errorAnalyzingTranslationStructureMismatch": "[RU] Error analyzing translation structure mismatch: {error}",
|
|
16
|
+
"errorAnalyzingTranslationSameAsSource": "[RU] Error analyzing translation same as source: {error}"
|
|
7
17
|
}
|
package/ui-locales/ru/menu.json
CHANGED
|
@@ -32,5 +32,14 @@
|
|
|
32
32
|
"autoDetectedI18nDirectory": "Автоматически обнаруженный каталог i18n: {path}",
|
|
33
33
|
"executingCommand": "Выполнение команды: {command}",
|
|
34
34
|
"unknownCommand": "Неизвестная команда: {command}",
|
|
35
|
-
"languageOption": " {{index}}. {{displayName}}{{current}}"
|
|
35
|
+
"languageOption": " {{index}}. {{displayName}}{{current}}",
|
|
36
|
+
"update": "📦 Обновить пакет",
|
|
37
|
+
"debugTools": {
|
|
38
|
+
"1": "[RU] Log file analysis",
|
|
39
|
+
"2": "[RU] Translation key usage analysis",
|
|
40
|
+
"3": "[RU] Translation completeness analysis",
|
|
41
|
+
"4": "[RU] Translation format analysis",
|
|
42
|
+
"5": "[RU] Translation type analysis",
|
|
43
|
+
"6": "[RU] Translation structure analysis"
|
|
44
|
+
}
|
|
36
45
|
}
|
|
@@ -64,5 +64,16 @@
|
|
|
64
64
|
"allKeysAvailable": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
65
65
|
"runWithoutDryRun": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
66
66
|
"pressEnterToContinue": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
67
|
+
},
|
|
68
|
+
"cancelReportOption": "[RU] Cancel / Return to Menu",
|
|
69
|
+
"updatePackage": {
|
|
70
|
+
"title": "[RU] 📦 Update i18n-toolkit Package",
|
|
71
|
+
"description": "[RU] This will update the i18n-toolkit package to the latest version available on npm.",
|
|
72
|
+
"command": "[RU] Command to run",
|
|
73
|
+
"confirm": "[RU] Are you sure you want to proceed with the update? (y/N): ",
|
|
74
|
+
"updating": "[RU] Updating package... This may take a moment.",
|
|
75
|
+
"success": "[RU] ✅ i18n-toolkit updated successfully!",
|
|
76
|
+
"error": "[RU] ❌ Failed to update i18n-toolkit",
|
|
77
|
+
"cancelled": "[RU] ❌ Update cancelled."
|
|
67
78
|
}
|
|
68
79
|
}
|
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"inputDisallowedCharacters": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
21
21
|
"unknownCommandArg": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
22
22
|
"logMessage": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
23
|
-
"alertMessage": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
23
|
+
"alertMessage": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
24
|
+
"securityWarning": "[RU] [SECURITY WARNING] {timestamp}: {event}"
|
|
24
25
|
}
|
|
@@ -25,7 +25,15 @@
|
|
|
25
25
|
"helpDesc": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
26
26
|
"quit": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
27
27
|
"quitDesc": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
28
|
-
"selectOption": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
28
|
+
"selectOption": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
29
|
+
"updatePackage": "[RU] Update Package",
|
|
30
|
+
"updatePackageDesc": "[RU] Update the i18n-toolkit package via npm",
|
|
31
|
+
"unsavedChangesWarning": "[RU] ⚠️ You have unsaved changes",
|
|
32
|
+
"saveChangesBeforeQuit": "[RU] Do you want to save changes before quitting? (y/N): ",
|
|
33
|
+
"goodbyeMessage": "[RU] Thank you for using the i18n settings manager!",
|
|
34
|
+
"selectSettingPrompt": "[RU] Select a setting to edit (or 'b' to go back): ",
|
|
35
|
+
"enterNewValue": "[RU] Enter new value: ",
|
|
36
|
+
"updatedSuccessfully": "[RU] {{setting}} updated successfully!"
|
|
29
37
|
},
|
|
30
38
|
"categories": {
|
|
31
39
|
"uiSettings": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
@@ -132,7 +140,8 @@
|
|
|
132
140
|
},
|
|
133
141
|
"themes": {
|
|
134
142
|
"light": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
135
|
-
"dark": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
143
|
+
"dark": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
144
|
+
"system": "[RU] System"
|
|
136
145
|
},
|
|
137
146
|
"languages": {
|
|
138
147
|
"en": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
@@ -154,13 +163,19 @@
|
|
|
154
163
|
"title": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
155
164
|
},
|
|
156
165
|
"importExport": {
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
166
|
+
"enterFilename": "[RU] Enter filename (or press Enter for default): ",
|
|
167
|
+
"exportSuccess": "[RU] Settings exported to {{file}}",
|
|
168
|
+
"exportFailed": "[RU] Failed to export settings: {{error}}",
|
|
169
|
+
"importFilename": "[RU] Enter filename to import: ",
|
|
170
|
+
"fileNotFound": "[RU] File not found.",
|
|
171
|
+
"invalidFormat": "[RU] Invalid settings file format.",
|
|
172
|
+
"confirmImport": "[RU] This will replace all current settings. Continue? (y/N): ",
|
|
173
|
+
"importSuccess": "[RU] Settings imported successfully.",
|
|
174
|
+
"importFailed": "[RU] Failed to import settings: {{error}}",
|
|
175
|
+
"backupSuccess": "[RU] Backup created: {{file}}",
|
|
176
|
+
"backupFailed": "[RU] Failed to create backup: {{error}}"
|
|
161
177
|
},
|
|
162
178
|
"pressEnter": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
163
|
-
"selectOption": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
164
179
|
"current": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
165
180
|
"back": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
166
181
|
"selectSettingPrompt": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
@@ -190,6 +205,42 @@
|
|
|
190
205
|
"benefitReset": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
191
206
|
"setupCancelled": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
192
207
|
"operationCancelled": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
193
|
-
"startingSettings": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
194
|
-
|
|
208
|
+
"startingSettings": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
209
|
+
"selectOption": "[RU] Select option: ",
|
|
210
|
+
"updateSuccess": "[RU] Admin PIN updated successfully!",
|
|
211
|
+
"updateFailed": "[RU] Failed to update admin PIN.",
|
|
212
|
+
"protectionRemoved": "[RU] Admin PIN protection removed.",
|
|
213
|
+
"configSuccess": "[RU] Admin PIN configured successfully!",
|
|
214
|
+
"configFailed": "[RU] Failed to configure admin PIN.",
|
|
215
|
+
"setupPinPrompt": "[RU] Would you like to set up an admin PIN? (y/N): ",
|
|
216
|
+
"pinUpdatedSuccess": "[RU] Admin PIN updated successfully!",
|
|
217
|
+
"pinUpdatedFailed": "[RU] Failed to update admin PIN.",
|
|
218
|
+
"pinRemoved": "[RU] Admin PIN protection removed.",
|
|
219
|
+
"pinConfiguredSuccess": "[RU] Admin PIN configured successfully!",
|
|
220
|
+
"pinConfiguredFailed": "[RU] Failed to configure admin PIN.",
|
|
221
|
+
"authRequired": "[RU] 🔒 Admin authentication required for: {{label}}",
|
|
222
|
+
"pinSetupTitle": "[RU] Admin PIN Setup",
|
|
223
|
+
"browserOpenFailed": "[RU] Could not automatically open browser.",
|
|
224
|
+
"manualVisit": "[RU] Please manually visit: {{url}}",
|
|
225
|
+
"browserOpened": "[RU] ✅ Browser opened successfully!"
|
|
226
|
+
},
|
|
227
|
+
"goodbyeMessage": "[RU] Thank you for using the i18ntk settings manager!",
|
|
228
|
+
"updatePackage": {
|
|
229
|
+
"title": "[RU] Update Package",
|
|
230
|
+
"description": "[RU] Update the i18n-toolkit package via npm",
|
|
231
|
+
"command": "[RU] npm update i18ntk -g",
|
|
232
|
+
"success": "[RU] Update completed successfully.",
|
|
233
|
+
"failed": "[RU] Update failed.",
|
|
234
|
+
"prompt": "[RU] Do you want to update the package now? (y/N): ",
|
|
235
|
+
"promptDesc": "[RU] Note: This will update the i18ntk package to the latest version.",
|
|
236
|
+
"confirm": "[RU] y",
|
|
237
|
+
"cancelled": "[RU] Update cancelled."
|
|
238
|
+
},
|
|
239
|
+
"resetConfirm": "[RU] Are you sure you want to continue? (y/N): ",
|
|
240
|
+
"resetSuccess": "[RU] Settings reset to defaults successfully.",
|
|
241
|
+
"resetFailed": "[RU] Failed to reset settings: {error}",
|
|
242
|
+
"saveSuccess": "[RU] Settings saved successfully.",
|
|
243
|
+
"saveFailed": "[RU] Failed to save settings.",
|
|
244
|
+
"initFailed": "[RU] Failed to initialize settings: {error}",
|
|
245
|
+
"invalidValueFormat": "[RU] Invalid value format."
|
|
195
246
|
}
|
|
@@ -29,5 +29,18 @@
|
|
|
29
29
|
"no_translation_files_found": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
30
30
|
"analysis_completed": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
31
31
|
"analysis_failed": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
32
|
-
"failed_to_parse_language_error": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
32
|
+
"failed_to_parse_language_error": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
33
|
+
"keysHaveSignificantSizeVariations": "[RU] keys have significant size variations",
|
|
34
|
+
"longTranslationsDetected": "[RU] ${lang} has ${data.longKeys} translations longer than 100 characters - consider breaking them down",
|
|
35
|
+
"considerReviewingTranslations": "[RU] Consider reviewing ${lang} translations - they are ${data.percentageDifference}% longer than baseline",
|
|
36
|
+
"recommendations": {
|
|
37
|
+
"keys_have_significant_size_variations": "[RU] keys have significant size variations",
|
|
38
|
+
"consider_reviewing_translations": "[RU] Consider reviewing {{lang}} translations - they are {{percentageDifference}}% {{comparison}} than baseline",
|
|
39
|
+
"long_translations_detected": "[RU] {{lang}} has {{longKeys}} translations longer than {{threshold}} characters - consider breaking them down"
|
|
40
|
+
},
|
|
41
|
+
"hardcodedTexts": {
|
|
42
|
+
"keysHaveSignificantSizeVariations": "[RU] keys have significant size variations",
|
|
43
|
+
"considerReviewingTranslations": "[RU] Consider reviewing {{lang}} translations - they are {{percentageDifference}}% {{comparison}} than baseline",
|
|
44
|
+
"longTranslationsDetected": "[RU] {{lang}} has {{longKeys}} translations longer than {{threshold}} characters - consider breaking them down"
|
|
45
|
+
}
|
|
33
46
|
}
|
|
@@ -6,5 +6,22 @@
|
|
|
6
6
|
"nextStep4": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
7
7
|
"nextStep5": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
8
8
|
"nextStep6": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
9
|
-
"completed": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
9
|
+
"completed": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
10
|
+
"generating": "[RU] Generating summary report...",
|
|
11
|
+
"review": "[RU] Reviewing translations...",
|
|
12
|
+
"finalizing": "[RU] Finalizing translations...",
|
|
13
|
+
"finalized": "[RU] Finalized successfully!",
|
|
14
|
+
"errors": "[RU] Errors:",
|
|
15
|
+
"warnings": "[RU] Warnings:",
|
|
16
|
+
"info": "[RU] Info:",
|
|
17
|
+
"progress": "[RU] Progress:",
|
|
18
|
+
"remaining": "[RU] Remaining:",
|
|
19
|
+
"total": "[RU] Total:",
|
|
20
|
+
"completedKeys": "[RU] Completed keys:",
|
|
21
|
+
"missingKeys": "[RU] Missing keys:",
|
|
22
|
+
"partialKeys": "[RU] Partial keys:",
|
|
23
|
+
"sameAsSource": "[RU] Same as source:",
|
|
24
|
+
"formatMismatch": "[RU] Format mismatch:",
|
|
25
|
+
"typeMismatch": "[RU] Type mismatch:",
|
|
26
|
+
"structureMismatch": "[RU] Structure mismatch:"
|
|
10
27
|
}
|
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
"failure_message": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
24
24
|
"failure_error_message": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
25
25
|
"warning_message": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
26
|
-
"test_runner_failed": "⚠️ TRANSLATION NEEDED ⚠️"
|
|
26
|
+
"test_runner_failed": "⚠️ TRANSLATION NEEDED ⚠️",
|
|
27
|
+
"recommendations": {
|
|
28
|
+
"add_missing_translation_keys": "[RU] Add missing translation keys to maintain consistency",
|
|
29
|
+
"fix_failing_scripts": "[RU] Fix failing scripts before deployment",
|
|
30
|
+
"review_warning_messages": "[RU] Review and address warning messages",
|
|
31
|
+
"system_ready_for_deployment": "[RU] System is ready for deployment"
|
|
32
|
+
},
|
|
33
|
+
"hardcodedTexts": {
|
|
34
|
+
"addMissingTranslationKeys": "[RU] Add missing translation keys to maintain consistency",
|
|
35
|
+
"fixFailingScripts": "[RU] Fix failing scripts before deployment",
|
|
36
|
+
"reviewWarningMessages": "[RU] Review and address warning messages",
|
|
37
|
+
"systemReadyForDeployment": "[RU] System is ready for deployment"
|
|
38
|
+
}
|
|
27
39
|
}
|
|
28
40
|
}
|
|
@@ -1,66 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
2
|
+
"autorun": {
|
|
3
|
+
"missingRequiredFile": "[ZH] Missing required file: {file}",
|
|
4
|
+
"runInitializationFirst": "[ZH] Please run initialization first.",
|
|
5
|
+
"initializationCheckPassed": "[ZH] Initialization check passed.",
|
|
6
|
+
"runningStep": "[ZH] Running step: {stepName}",
|
|
7
|
+
"commandLabel": "[ZH] Command: {command}",
|
|
8
|
+
"stepRunning": "[ZH] Step '{stepName}' running...",
|
|
9
|
+
"stepCompletedWithTime": "[ZH] Step '{stepName}' completed in {duration}ms.",
|
|
10
|
+
"stepCompleted": "[ZH] Step '{stepName}' completed.",
|
|
11
|
+
"stepFailed": "[ZH] Step '{stepName}' failed.",
|
|
12
|
+
"errorLabel": "[ZH] Error: {error}",
|
|
13
|
+
"stepFailedWithError": "[ZH] Step '{stepName}' failed with error: {error}",
|
|
14
|
+
"requiredStepFailed": "[ZH] Required step failed. Stopping workflow.",
|
|
15
|
+
"optionalStepFailed": "[ZH] Optional step failed. Continuing workflow.",
|
|
16
|
+
"startingAutoRunWorkflow": "[ZH] Starting Auto-Run Workflow...",
|
|
17
|
+
"workflowIncludesSteps": "[ZH] Workflow includes {count} steps:",
|
|
18
|
+
"stepRequired": "[ZH] (Required)",
|
|
19
|
+
"stepOptional": "[ZH] (Optional)",
|
|
20
|
+
"startingExecution": "[ZH] Starting execution...",
|
|
21
|
+
"workflowStopped": "[ZH] Workflow stopped.",
|
|
22
|
+
"workflowCompleted": "[ZH] Workflow completed.",
|
|
23
|
+
"pressEnterToContinue": "[ZH] Press Enter to continue...",
|
|
24
|
+
"runningSelectedSteps": "[ZH] Running selected steps...",
|
|
25
|
+
"invalidStepNumber": "[ZH] Invalid step number: {stepNum}",
|
|
26
|
+
"executionReport": "[ZH] Execution Report:",
|
|
27
|
+
"successfulSteps": "[ZH] Successful steps: {count}",
|
|
28
|
+
"failedSteps": "[ZH] Failed steps: {count}",
|
|
29
|
+
"requiredFailedSteps": "[ZH] Required steps failed: {count}",
|
|
30
|
+
"stepDetails": "[ZH] Step Details:",
|
|
31
|
+
"errorDetails": "[ZH] Error: {error}",
|
|
32
|
+
"reportSavedTo": "[ZH] Report saved to: {path}",
|
|
33
|
+
"overallStatusSuccess": "[ZH] SUCCESS",
|
|
34
|
+
"overallStatusFailed": "[ZH] FAILED",
|
|
35
|
+
"overallStatus": "[ZH] Overall Status: {status}",
|
|
36
|
+
"customSettingsConfiguration": "[ZH] Custom Settings Configuration",
|
|
37
|
+
"pressEnterForDefaults": "[ZH] Press Enter to use default settings for any prompt.",
|
|
38
|
+
"sourceDirPrompt": "[ZH] Enter source directory (default: {default}): ",
|
|
39
|
+
"sourceLangPrompt": "[ZH] Enter source language (default: {default}): ",
|
|
40
|
+
"targetLangsPrompt": "[ZH] Enter target languages (comma-separated, default: {default}): ",
|
|
41
|
+
"translationMarkerPrompt": "[ZH] Enter translation marker (default: {default}): ",
|
|
42
|
+
"outputDirPrompt": "[ZH] Enter output directory for reports (default: {default}): ",
|
|
43
|
+
"settingsUpdatedSuccessfully": "[ZH] Settings updated successfully!",
|
|
44
|
+
"errorConfiguringSettings": "[ZH] Error configuring settings: {error}",
|
|
45
|
+
"autoRunScriptTitle": "[ZH] Auto-Run Script",
|
|
46
|
+
"usageTitle": "[ZH] Usage:",
|
|
47
|
+
"runAllSteps": "[ZH] node i18ntk-autorun.js --all - Run all steps defined in i18ntk-config.json",
|
|
48
|
+
"configureSettingsFirst": "[ZH] node i18ntk-autorun.js --config - Configure settings for the workflow",
|
|
49
|
+
"runSpecificSteps": "[ZH] node i18ntk-autorun.js --steps <step_numbers> - Run specific steps (e.g., --steps 1,3,5)",
|
|
50
|
+
"showHelp": "[ZH] node i18ntk-autorun.js --help - Show this help message",
|
|
51
|
+
"availableSteps": "[ZH] Available Steps:",
|
|
52
|
+
"examplesTitle": "[ZH] Examples:",
|
|
53
|
+
"configExample": "[ZH] node i18ntk-autorun.js --config",
|
|
54
|
+
"stepsExample1": "[ZH] node i18ntk-autorun.js --steps 1,2,3",
|
|
55
|
+
"stepsExample2": "[ZH] node i18ntk-autorun.js --all",
|
|
56
|
+
"configurationComplete": "[ZH] Configuration complete.",
|
|
57
|
+
"runAutoRunCommand": "[ZH] Now you can run the auto-run command.",
|
|
58
|
+
"configurationFailed": "[ZH] Configuration failed: {error}",
|
|
59
|
+
"noValidStepNumbers": "[ZH] No valid step numbers provided.",
|
|
60
|
+
"autoRunFailed": "[ZH] Auto-run failed: {error}",
|
|
61
|
+
"stepAnalyzeTranslations": "[ZH] Analyze Translations",
|
|
62
|
+
"stepValidateTranslations": "[ZH] Validate Translations",
|
|
63
|
+
"stepCheckUsage": "[ZH] Check Usage",
|
|
64
|
+
"stepCompleteTranslations": "[ZH] Complete Translations",
|
|
65
|
+
"stepAnalyzeSizing": "[ZH] Analyze Sizing",
|
|
66
|
+
"stepGenerateSummary": "[ZH] Generate Summary",
|
|
67
|
+
"translationLoadWarning": "[ZH] Warning: Could not load {lang} translations",
|
|
68
|
+
"configReadError": "[ZH] Error reading {file}",
|
|
69
|
+
"separator": "[ZH] =================================================="
|
|
70
|
+
}
|
|
66
71
|
}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"success": "成功",
|
|
3
|
-
"error": "错误"
|
|
3
|
+
"error": "错误",
|
|
4
|
+
"warning": "警告",
|
|
5
|
+
"info": "信息",
|
|
6
|
+
"debug": "调试",
|
|
7
|
+
"progress": "进度",
|
|
8
|
+
"remaining": "剩余",
|
|
9
|
+
"total": "总计",
|
|
10
|
+
"completed": "已完成",
|
|
11
|
+
"missing": "缺失",
|
|
12
|
+
"partial": "部分",
|
|
13
|
+
"sameAsSource": "与源相同",
|
|
14
|
+
"formatMismatch": "格式不匹配",
|
|
15
|
+
"typeMismatch": "类型不匹配",
|
|
16
|
+
"structureMismatch": "结构不匹配"
|
|
4
17
|
}
|
|
@@ -3,5 +3,15 @@
|
|
|
3
3
|
"genericError": "❌ 错误: {{error}}",
|
|
4
4
|
"errorGeneratingStatusSummary": "生成状态摘要时出错: {error}",
|
|
5
5
|
"errorRunningDebugTool": "运行调试工具'{displayName}'时出错: {error}",
|
|
6
|
-
"errorReadingDebugLogs": "读取调试日志时出错: {error}"
|
|
6
|
+
"errorReadingDebugLogs": "读取调试日志时出错: {error}",
|
|
7
|
+
"errorAnalyzingLogFile": "[ZH] Error analyzing log file: {error}",
|
|
8
|
+
"errorAnalyzingTranslationKeys": "[ZH] Error analyzing translation keys: {error}",
|
|
9
|
+
"errorAnalyzingTranslationCompleteness": "[ZH] Error analyzing translation completeness: {error}",
|
|
10
|
+
"errorAnalyzingTranslationFormat": "[ZH] Error analyzing translation format: {error}",
|
|
11
|
+
"errorAnalyzingTranslationType": "[ZH] Error analyzing translation type: {error}",
|
|
12
|
+
"errorAnalyzingTranslationStructure": "[ZH] Error analyzing translation structure: {error}",
|
|
13
|
+
"errorAnalyzingTranslationFormatMismatch": "[ZH] Error analyzing translation format mismatch: {error}",
|
|
14
|
+
"errorAnalyzingTranslationTypeMismatch": "[ZH] Error analyzing translation type mismatch: {error}",
|
|
15
|
+
"errorAnalyzingTranslationStructureMismatch": "[ZH] Error analyzing translation structure mismatch: {error}",
|
|
16
|
+
"errorAnalyzingTranslationSameAsSource": "[ZH] Error analyzing translation same as source: {error}"
|
|
7
17
|
}
|