i18ntk 1.2.2 → 1.3.1

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.
Files changed (117) hide show
  1. package/CHANGELOG.md +75 -2
  2. package/LICENSE +3 -1
  3. package/README.md +48 -47
  4. package/docs/README.md +42 -19
  5. package/docs/SCRIPT_DIRECTORY_GUIDE.md +278 -0
  6. package/docs/release-notes/v1.3.0.md +162 -0
  7. package/docs/release-notes/v1.3.1.md +136 -0
  8. package/main/i18ntk-analyze.js +14 -6
  9. package/main/i18ntk-autorun.js +37 -36
  10. package/main/i18ntk-complete.js +9 -5
  11. package/main/i18ntk-init.js +16 -12
  12. package/main/i18ntk-manage.js +6 -4
  13. package/main/i18ntk-sizing.js +12 -12
  14. package/main/i18ntk-summary.js +6 -2
  15. package/main/i18ntk-usage.js +5 -5
  16. package/main/i18ntk-validate.js +9 -5
  17. package/package.json +20 -19
  18. package/scripts/copy-translations.js +90 -0
  19. package/settings/i18ntk-config.json +10 -0
  20. package/settings/settings-cli.js +201 -77
  21. package/settings/settings-manager.js +19 -0
  22. package/ui-locales/de/autorun.json +69 -64
  23. package/ui-locales/de/common.json +14 -1
  24. package/ui-locales/de/errors.json +11 -1
  25. package/ui-locales/de/menu.json +10 -1
  26. package/ui-locales/de/operations.json +11 -0
  27. package/ui-locales/de/security.json +2 -1
  28. package/ui-locales/de/settings.json +67 -9
  29. package/ui-locales/de/sizing.json +14 -1
  30. package/ui-locales/de/status.json +18 -1
  31. package/ui-locales/de/test-complete-system.json +13 -1
  32. package/ui-locales/en/autorun.json +68 -65
  33. package/ui-locales/en/common.json +15 -1
  34. package/ui-locales/en/init.json +20 -5
  35. package/ui-locales/en/menu.json +1 -0
  36. package/ui-locales/en/operations.json +11 -1
  37. package/ui-locales/en/settings.json +158 -35
  38. package/ui-locales/en/validate.json +1 -0
  39. package/ui-locales/es/autorun.json +68 -65
  40. package/ui-locales/es/common.json +14 -1
  41. package/ui-locales/es/errors.json +11 -1
  42. package/ui-locales/es/menu.json +10 -1
  43. package/ui-locales/es/operations.json +11 -0
  44. package/ui-locales/es/security.json +2 -1
  45. package/ui-locales/es/settings.json +60 -9
  46. package/ui-locales/es/sizing.json +14 -1
  47. package/ui-locales/es/status.json +18 -1
  48. package/ui-locales/es/test-complete-system.json +13 -1
  49. package/ui-locales/fr/autorun.json +69 -64
  50. package/ui-locales/fr/common.json +14 -1
  51. package/ui-locales/fr/errors.json +11 -1
  52. package/ui-locales/fr/menu.json +10 -1
  53. package/ui-locales/fr/operations.json +11 -0
  54. package/ui-locales/fr/security.json +2 -1
  55. package/ui-locales/fr/settings.json +60 -9
  56. package/ui-locales/fr/sizing.json +14 -1
  57. package/ui-locales/fr/status.json +18 -1
  58. package/ui-locales/fr/test-complete-system.json +13 -1
  59. package/ui-locales/ja/autorun.json +69 -64
  60. package/ui-locales/ja/common.json +14 -1
  61. package/ui-locales/ja/errors.json +11 -1
  62. package/ui-locales/ja/menu.json +10 -1
  63. package/ui-locales/ja/operations.json +11 -0
  64. package/ui-locales/ja/security.json +2 -1
  65. package/ui-locales/ja/settings.json +60 -9
  66. package/ui-locales/ja/sizing.json +14 -1
  67. package/ui-locales/ja/status.json +18 -1
  68. package/ui-locales/ja/test-complete-system.json +13 -1
  69. package/ui-locales/pt/analyze.json +2 -1
  70. package/ui-locales/pt/autorun.json +69 -64
  71. package/ui-locales/pt/common.json +14 -1
  72. package/ui-locales/pt/errors.json +11 -1
  73. package/ui-locales/pt/init.json +5 -1
  74. package/ui-locales/pt/menu.json +10 -1
  75. package/ui-locales/pt/operations.json +11 -0
  76. package/ui-locales/pt/security.json +2 -1
  77. package/ui-locales/pt/settings.json +60 -9
  78. package/ui-locales/pt/sizing.json +14 -1
  79. package/ui-locales/pt/status.json +18 -1
  80. package/ui-locales/pt/test-complete-system.json +13 -1
  81. package/ui-locales/ru/autorun.json +69 -64
  82. package/ui-locales/ru/common.json +14 -1
  83. package/ui-locales/ru/errors.json +11 -1
  84. package/ui-locales/ru/menu.json +10 -1
  85. package/ui-locales/ru/operations.json +11 -0
  86. package/ui-locales/ru/security.json +2 -1
  87. package/ui-locales/ru/settings.json +60 -9
  88. package/ui-locales/ru/sizing.json +14 -1
  89. package/ui-locales/ru/status.json +18 -1
  90. package/ui-locales/ru/test-complete-system.json +13 -1
  91. package/ui-locales/zh/autorun.json +69 -64
  92. package/ui-locales/zh/common.json +14 -1
  93. package/ui-locales/zh/errors.json +11 -1
  94. package/ui-locales/zh/menu.json +10 -1
  95. package/ui-locales/zh/operations.json +11 -0
  96. package/ui-locales/zh/security.json +2 -1
  97. package/ui-locales/zh/settings.json +67 -9
  98. package/ui-locales/zh/sizing.json +13 -1
  99. package/ui-locales/zh/status.json +25 -8
  100. package/ui-locales/zh/test-complete-system.json +13 -1
  101. package/utils/test-complete-system.js +178 -162
  102. package/settings/backups/i18ntk-config-backup-2025-08-01T23-38-43-753Z.json +0 -117
  103. package/ui-locales/de-old.json +0 -705
  104. package/ui-locales/de.json +0 -15
  105. package/ui-locales/en-old.json +0 -709
  106. package/ui-locales/en.json +0 -15
  107. package/ui-locales/es-old.json +0 -654
  108. package/ui-locales/es.json +0 -15
  109. package/ui-locales/fr-old.json +0 -606
  110. package/ui-locales/fr.json +0 -15
  111. package/ui-locales/ja-old.json +0 -660
  112. package/ui-locales/ja.json +0 -15
  113. package/ui-locales/pt.json +0 -15
  114. package/ui-locales/ru-old.json +0 -655
  115. package/ui-locales/ru.json +0 -15
  116. package/ui-locales/zh-old.json +0 -647
  117. package/ui-locales/zh.json +0 -15
@@ -1,4 +1,17 @@
1
1
  {
2
2
  "success": "Erfolg",
3
- "error": "Fehler"
3
+ "error": "Fehler",
4
+ "warning": "[DE] Warning",
5
+ "info": "[DE] Info",
6
+ "debug": "[DE] Debug",
7
+ "progress": "[DE] Progress",
8
+ "remaining": "[DE] Remaining",
9
+ "total": "[DE] Total",
10
+ "completed": "[DE] Completed",
11
+ "missing": "[DE] Missing",
12
+ "partial": "[DE] Partial",
13
+ "sameAsSource": "[DE] Same as source",
14
+ "formatMismatch": "[DE] Format mismatch",
15
+ "typeMismatch": "[DE] Type mismatch",
16
+ "structureMismatch": "[DE] Structure mismatch"
4
17
  }
@@ -3,5 +3,15 @@
3
3
  "genericError": "❌ Error: {{error}}",
4
4
  "errorGeneratingStatusSummary": "Error generating status summary: {error}",
5
5
  "errorRunningDebugTool": "Error running debug tool '{displayName}': {error}",
6
- "errorReadingDebugLogs": "Error reading debug logs: {error}"
6
+ "errorReadingDebugLogs": "Error reading debug logs: {error}",
7
+ "errorAnalyzingLogFile": "[DE] Error analyzing log file: {error}",
8
+ "errorAnalyzingTranslationKeys": "[DE] Error analyzing translation keys: {error}",
9
+ "errorAnalyzingTranslationCompleteness": "[DE] Error analyzing translation completeness: {error}",
10
+ "errorAnalyzingTranslationFormat": "[DE] Error analyzing translation format: {error}",
11
+ "errorAnalyzingTranslationType": "[DE] Error analyzing translation type: {error}",
12
+ "errorAnalyzingTranslationStructure": "[DE] Error analyzing translation structure: {error}",
13
+ "errorAnalyzingTranslationFormatMismatch": "[DE] Error analyzing translation format mismatch: {error}",
14
+ "errorAnalyzingTranslationTypeMismatch": "[DE] Error analyzing translation type mismatch: {error}",
15
+ "errorAnalyzingTranslationStructureMismatch": "[DE] Error analyzing translation structure mismatch: {error}",
16
+ "errorAnalyzingTranslationSameAsSource": "[DE] Error analyzing translation same as source: {error}"
7
17
  }
@@ -32,5 +32,14 @@
32
32
  "autoDetectedI18nDirectory": "Auto-detected i18n directory: {path}",
33
33
  "executingCommand": "Executing command: {command}",
34
34
  "unknownCommand": "Unknown command: {command}",
35
- "languageOption": " {{index}}. {{displayName}}{{current}}"
35
+ "languageOption": " {{index}}. {{displayName}}{{current}}",
36
+ "update": "[DE] 📦 Update Package",
37
+ "debugTools": {
38
+ "1": "[DE] Log file analysis",
39
+ "2": "[DE] Translation key usage analysis",
40
+ "3": "[DE] Translation completeness analysis",
41
+ "4": "[DE] Translation format analysis",
42
+ "5": "[DE] Translation type analysis",
43
+ "6": "[DE] Translation structure analysis"
44
+ }
36
45
  }
@@ -64,5 +64,16 @@
64
64
  "allKeysAvailable": "🎉 All translation keys are now available!",
65
65
  "runWithoutDryRun": "💡 Run without --dry-run to apply changes",
66
66
  "pressEnterToContinue": "Press Enter to continue..."
67
+ },
68
+ "cancelReportOption": "[DE] Cancel / Return to Menu",
69
+ "updatePackage": {
70
+ "title": "[DE] 📦 Update i18n-toolkit Package",
71
+ "description": "[DE] This will update the i18n-toolkit package to the latest version available on npm.",
72
+ "command": "[DE] Command to run",
73
+ "confirm": "[DE] Are you sure you want to proceed with the update? (y/N): ",
74
+ "updating": "[DE] Updating package... This may take a moment.",
75
+ "success": "[DE] ✅ i18n-toolkit updated successfully!",
76
+ "error": "[DE] ❌ Failed to update i18n-toolkit",
77
+ "cancelled": "[DE] ❌ Update cancelled."
67
78
  }
68
79
  }
@@ -20,5 +20,6 @@
20
20
  "inputDisallowedCharacters": "Security: Input contains disallowed characters",
21
21
  "unknownCommandArg": "Unknown command argument",
22
22
  "logMessage": "[SECURITY {level}] {timestamp}: {event}",
23
- "alertMessage": "[SECURITY ALERT] {timestamp}: {event}"
23
+ "alertMessage": "[SECURITY ALERT] {timestamp}: {event}",
24
+ "securityWarning": "[DE] [SECURITY WARNING] {timestamp}: {event}"
24
25
  }
@@ -25,7 +25,15 @@
25
25
  "helpDesc": "Show detailed help information",
26
26
  "quit": "Beenden",
27
27
  "quitDesc": "Exit settings (with save prompt if needed)",
28
- "selectOption": "Select an option: "
28
+ "selectOption": "Select an option: ",
29
+ "updatePackage": "[DE] Update Package",
30
+ "updatePackageDesc": "[DE] Update the i18n-toolkit package via npm",
31
+ "unsavedChangesWarning": "[DE] ⚠️ You have unsaved changes",
32
+ "saveChangesBeforeQuit": "[DE] Do you want to save changes before quitting? (y/N): ",
33
+ "goodbyeMessage": "[DE] Thank you for using the i18n settings manager!",
34
+ "selectSettingPrompt": "[DE] Select a setting to edit (or 'b' to go back): ",
35
+ "enterNewValue": "[DE] Enter new value: ",
36
+ "updatedSuccessfully": "[DE] {{setting}} updated successfully!"
29
37
  },
30
38
  "categories": {
31
39
  "uiSettings": "UI Settings",
@@ -132,7 +140,8 @@
132
140
  },
133
141
  "themes": {
134
142
  "light": "Light",
135
- "dark": "Dark"
143
+ "dark": "Dark",
144
+ "system": "[DE] System"
136
145
  },
137
146
  "languages": {
138
147
  "en": "English",
@@ -154,13 +163,19 @@
154
163
  "title": "View All Settings"
155
164
  },
156
165
  "importExport": {
157
- "title": "Import/Export Settings",
158
- "export": "Export Settings",
159
- "import": "Import Settings",
160
- "backup": "Create Backup"
166
+ "enterFilename": "[DE] Enter filename (or press Enter for default): ",
167
+ "exportSuccess": "[DE] Settings exported to {{file}}",
168
+ "exportFailed": "[DE] Failed to export settings: {{error}}",
169
+ "importFilename": "[DE] Enter filename to import: ",
170
+ "fileNotFound": "[DE] File not found.",
171
+ "invalidFormat": "[DE] Invalid settings file format.",
172
+ "confirmImport": "[DE] This will replace all current settings. Continue? (y/N): ",
173
+ "importSuccess": "[DE] Settings imported successfully.",
174
+ "importFailed": "[DE] Failed to import settings: {{error}}",
175
+ "backupSuccess": "[DE] Backup created: {{file}}",
176
+ "backupFailed": "[DE] Failed to create backup: {{error}}"
161
177
  },
162
178
  "pressEnter": "Press Enter to continue...",
163
- "selectOption": "Select an option: ",
164
179
  "current": "Aktuell",
165
180
  "back": "Back to main menu",
166
181
  "selectSettingPrompt": "Select setting to edit (or b for back): ",
@@ -190,6 +205,49 @@
190
205
  "benefitReset": "• Resetting settings",
191
206
  "setupCancelled": "⏭️ Admin PIN setup cancelled.",
192
207
  "operationCancelled": "❌ Operation cancelled.",
193
- "startingSettings": "🎛️ Starting Settings CLI..."
194
- }
208
+ "startingSettings": "🎛️ Starting Settings CLI...",
209
+ "selectOption": "[DE] Select option: ",
210
+ "updateSuccess": "[DE] Admin PIN updated successfully!",
211
+ "updateFailed": "[DE] Failed to update admin PIN.",
212
+ "protectionRemoved": "[DE] Admin PIN protection removed.",
213
+ "configSuccess": "[DE] Admin PIN configured successfully!",
214
+ "configFailed": "[DE] Failed to configure admin PIN.",
215
+ "setupPinPrompt": "[DE] Would you like to set up an admin PIN? (y/N): ",
216
+ "pinUpdatedSuccess": "[DE] Admin PIN updated successfully!",
217
+ "pinUpdatedFailed": "[DE] Failed to update admin PIN.",
218
+ "pinRemoved": "[DE] Admin PIN protection removed.",
219
+ "pinConfiguredSuccess": "[DE] Admin PIN configured successfully!",
220
+ "pinConfiguredFailed": "[DE] Failed to configure admin PIN.",
221
+ "authRequired": "[DE] 🔒 Admin authentication required for: {{label}}",
222
+ "pinSetupTitle": "[DE] Admin PIN Setup",
223
+ "browserOpenFailed": "[DE] Could not automatically open browser.",
224
+ "manualVisit": "[DE] Please manually visit: {{url}}",
225
+ "browserOpened": "[DE] ✅ Browser opened successfully!"
226
+ },
227
+ "goodbyeMessage": "[DE] Thank you for using the i18ntk settings manager!",
228
+ "updatePackage": {
229
+ "title": "[DE] Update Package",
230
+ "description": "[DE] Update the i18n-toolkit package via npm",
231
+ "command": "[DE] npm update i18ntk -g",
232
+ "success": "[DE] Update completed successfully.",
233
+ "failed": "[DE] Update failed.",
234
+ "prompt": "[DE] Do you want to update the package now? (y/N): ",
235
+ "promptDesc": "[DE] Note: This will update the i18ntk package to the latest version.",
236
+ "confirm": "[DE] y",
237
+ "cancelled": "[DE] Update cancelled."
238
+ },
239
+ "resetConfirm": "[DE] Are you sure you want to continue? (y/N): ",
240
+ "resetSuccess": "[DE] Settings reset to defaults successfully.",
241
+ "resetFailed": "[DE] Failed to reset settings: {error}",
242
+ "saveSuccess": "[DE] Settings saved successfully.",
243
+ "saveFailed": "[DE] Failed to save settings.",
244
+ "initFailed": "[DE] Failed to initialize settings: {error}",
245
+ "invalidValueFormat": "[DE] Invalid value format.",
246
+ "selectSettingPrompt": "Einstellung zum Bearbeiten auswählen (oder b für Zurück, r für Zurücksetzen): ",
247
+ "enterNewValue": "Neuen Wert eingeben (oder Enter drücken um aktuellen Wert zu behalten, 'default' eingeben um Systemstandard zu verwenden):",
248
+ "resetScriptDirectories": "Auf Standardwerte zurücksetzen",
249
+ "resetScriptDirectoriesTitle": "Skript-Verzeichnisse auf Standardwerte zurücksetzen",
250
+ "resetScriptDirectoriesWarning1": "Dies setzt alle Skript-Verzeichniskonfigurationen auf ihre Systemstandardwerte zurück.",
251
+ "resetScriptDirectoriesWarning2": "Alle benutzerdefinierten Verzeichnispfade werden gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.",
252
+ "resetScriptDirectoriesConfirm": "Sind Sie sicher, dass Sie alle Skript-Verzeichnisse auf Standardwerte zurücksetzen möchten? (y/N): "
195
253
  }
@@ -29,5 +29,18 @@
29
29
  "no_translation_files_found": "No translation files found",
30
30
  "analysis_completed": "Analysis completed in {{duration}}ms",
31
31
  "analysis_failed": "Analysis failed: {{errorMessage}}",
32
- "failed_to_parse_language_error": "Failed to parse {{language}} translations: {{errorMessage}}"
32
+ "failed_to_parse_language_error": "Failed to parse {{language}} translations: {{errorMessage}}",
33
+ "keysHaveSignificantSizeVariations": "[DE] keys have significant size variations",
34
+ "longTranslationsDetected": "[DE] ${lang} has ${data.longKeys} translations longer than 100 characters - consider breaking them down",
35
+ "considerReviewingTranslations": "[DE] Consider reviewing ${lang} translations - they are ${data.percentageDifference}% longer than baseline",
36
+ "recommendations": {
37
+ "keys_have_significant_size_variations": "[DE] keys have significant size variations",
38
+ "consider_reviewing_translations": "[DE] Consider reviewing {{lang}} translations - they are {{percentageDifference}}% {{comparison}} than baseline",
39
+ "long_translations_detected": "[DE] {{lang}} has {{longKeys}} translations longer than {{threshold}} characters - consider breaking them down"
40
+ },
41
+ "hardcodedTexts": {
42
+ "keysHaveSignificantSizeVariations": "[DE] keys have significant size variations",
43
+ "considerReviewingTranslations": "[DE] Consider reviewing {{lang}} translations - they are {{percentageDifference}}% {{comparison}} than baseline",
44
+ "longTranslationsDetected": "[DE] {{lang}} has {{longKeys}} translations longer than {{threshold}} characters - consider breaking them down"
45
+ }
33
46
  }
@@ -6,5 +6,22 @@
6
6
  "nextStep4": "4. Complete missing translations:",
7
7
  "nextStep5": "5. Generate summary report:",
8
8
  "nextStep6": "6. Review and finalize translations:",
9
- "completed": "7. Completed successfully!"
9
+ "completed": "7. Completed successfully!",
10
+ "generating": "[DE] Generating summary report...",
11
+ "review": "[DE] Reviewing translations...",
12
+ "finalizing": "[DE] Finalizing translations...",
13
+ "finalized": "[DE] Finalized successfully!",
14
+ "errors": "[DE] Errors:",
15
+ "warnings": "[DE] Warnings:",
16
+ "info": "[DE] Info:",
17
+ "progress": "[DE] Progress:",
18
+ "remaining": "[DE] Remaining:",
19
+ "total": "[DE] Total:",
20
+ "completedKeys": "[DE] Completed keys:",
21
+ "missingKeys": "[DE] Missing keys:",
22
+ "partialKeys": "[DE] Partial keys:",
23
+ "sameAsSource": "[DE] Same as source:",
24
+ "formatMismatch": "[DE] Format mismatch:",
25
+ "typeMismatch": "[DE] Type mismatch:",
26
+ "structureMismatch": "[DE] Structure mismatch:"
10
27
  }
@@ -23,6 +23,18 @@
23
23
  "failure_message": "❌ {message}",
24
24
  "failure_error_message": " {errorMessage}",
25
25
  "warning_message": "⚠️ {message}",
26
- "test_runner_failed": "❌ Test runner failed:"
26
+ "test_runner_failed": "❌ Test runner failed:",
27
+ "recommendations": {
28
+ "add_missing_translation_keys": "[DE] Add missing translation keys to maintain consistency",
29
+ "fix_failing_scripts": "[DE] Fix failing scripts before deployment",
30
+ "review_warning_messages": "[DE] Review and address warning messages",
31
+ "system_ready_for_deployment": "[DE] System is ready for deployment"
32
+ },
33
+ "hardcodedTexts": {
34
+ "addMissingTranslationKeys": "[DE] Add missing translation keys to maintain consistency",
35
+ "fixFailingScripts": "[DE] Fix failing scripts before deployment",
36
+ "reviewWarningMessages": "[DE] Review and address warning messages",
37
+ "systemReadyForDeployment": "[DE] System is ready for deployment"
38
+ }
27
39
  }
28
40
  }
@@ -1,66 +1,69 @@
1
1
  {
2
- "missingRequiredFile": "Missing required file: {file}",
3
- "runInitializationFirst": "Please run initialization first.",
4
- "initializationCheckPassed": "Initialization check passed.",
5
- "runningStep": "Running step: {stepName}",
6
- "commandLabel": "Command: {command}",
7
- "stepRunning": "Step '{stepName}' running...",
8
- "stepCompletedWithTime": "Step '{stepName}' completed in {duration}ms.",
9
- "stepCompleted": "Step '{stepName}' completed.",
10
- "stepFailed": "Step '{stepName}' failed.",
11
- "errorLabel": "Error: {error}",
12
- "stepFailedWithError": "Step '{stepName}' failed with error: {error}",
13
- "requiredStepFailed": "Required step failed. Stopping workflow.",
14
- "optionalStepFailed": "Optional step failed. Continuing workflow.",
15
- "startingAutoRunWorkflow": "Starting Auto-Run Workflow...",
16
- "workflowIncludesSteps": "Workflow includes {count} steps:",
17
- "stepRequired": "(Required)",
18
- "stepOptional": "(Optional)",
19
- "startingExecution": "Starting execution...",
20
- "workflowStopped": "Workflow stopped.",
21
- "workflowCompleted": "Workflow completed.",
22
- "pressEnterToContinue": "Press Enter to continue...",
23
- "runningSelectedSteps": "Running selected steps...",
24
- "invalidStepNumber": "Invalid step number: {stepNum}",
25
- "executionReport": "Execution Report:",
26
- "successfulSteps": "Successful steps: {count}",
27
- "failedSteps": "Failed steps: {count}",
28
- "requiredFailedSteps": "Required steps failed: {count}",
29
- "stepDetails": "Step Details:",
30
- "errorDetails": "Error: {error}",
31
- "reportSavedTo": "Report saved to: {path}",
32
- "overallStatusSuccess": "SUCCESS",
33
- "overallStatusFailed": "FAILED",
34
- "overallStatus": "Overall Status: {status}",
35
- "customSettingsConfiguration": "Custom Settings Configuration",
36
- "pressEnterForDefaults": "Press Enter to use default settings for any prompt.",
37
- "sourceDirPrompt": "Enter source directory (default: {default}): ",
38
- "sourceLangPrompt": "Enter source language (default: {default}): ",
39
- "targetLangsPrompt": "Enter target languages (comma-separated, default: {default}): ",
40
- "translationMarkerPrompt": "Enter translation marker (default: {default}): ",
41
- "outputDirPrompt": "Enter output directory for reports (default: {default}): ",
42
- "settingsUpdatedSuccessfully": "Settings updated successfully!",
43
- "errorConfiguringSettings": "Error configuring settings: {error}",
44
- "autoRunScriptTitle": "Auto-Run Script",
45
- "usageTitle": "Usage:",
46
- "runAllSteps": "node i18ntk-autorun.js --all - Run all steps defined in i18ntk-config.json",
47
- "configureSettingsFirst": "node i18ntk-autorun.js --config - Configure settings for the workflow",
48
- "runSpecificSteps": "node i18ntk-autorun.js --steps <step_numbers> - Run specific steps (e.g., --steps 1,3,5)",
49
- "showHelp": "node i18ntk-autorun.js --help - Show this help message",
50
- "availableSteps": "Available Steps:",
51
- "examplesTitle": "Examples:",
52
- "configExample": "node i18ntk-autorun.js --config",
53
- "stepsExample1": "node i18ntk-autorun.js --steps 1,2,3",
54
- "stepsExample2": "node i18ntk-autorun.js --all",
55
- "configurationComplete": "Configuration complete.",
56
- "runAutoRunCommand": "Now you can run the auto-run command.",
57
- "configurationFailed": "Configuration failed: {error}",
58
- "noValidStepNumbers": "No valid step numbers provided.",
59
- "autoRunFailed": "Auto-run failed: {error}",
60
- "stepAnalyzeTranslations": "Analyze Translations",
61
- "stepValidateTranslations": "Validate Translations",
62
- "stepCheckUsage": "Check Usage",
63
- "stepCompleteTranslations": "Complete Translations",
64
- "stepAnalyzeSizing": "Analyze Sizing",
65
- "stepGenerateSummary": "Generate Summary"
66
- }
2
+ "missingRequiredFile": "Missing required file: {file}",
3
+ "runInitializationFirst": "Please run initialization first.",
4
+ "initializationCheckPassed": "Initialization check passed.",
5
+ "runningStep": "Running step: {stepName}",
6
+ "commandLabel": "Command: {command}",
7
+ "stepRunning": "Step '{stepName}' running...",
8
+ "stepCompletedWithTime": "Step '{stepName}' completed in {duration}ms.",
9
+ "stepCompleted": "Step '{stepName}' completed.",
10
+ "stepFailed": "Step '{stepName}' failed.",
11
+ "errorLabel": "Error: {error}",
12
+ "stepFailedWithError": "Step '{stepName}' failed with error: {error}",
13
+ "requiredStepFailed": "Required step failed. Stopping workflow.",
14
+ "optionalStepFailed": "Optional step failed. Continuing workflow.",
15
+ "startingAutoRunWorkflow": "Starting Auto-Run Workflow...",
16
+ "workflowIncludesSteps": "Workflow includes {count} steps:",
17
+ "stepRequired": "(Required)",
18
+ "stepOptional": "(Optional)",
19
+ "startingExecution": "Starting execution...",
20
+ "workflowStopped": "Workflow stopped.",
21
+ "workflowCompleted": "Workflow completed.",
22
+ "pressEnterToContinue": "Press Enter to continue...",
23
+ "runningSelectedSteps": "Running selected steps...",
24
+ "invalidStepNumber": "Invalid step number: {stepNum}",
25
+ "executionReport": "Execution Report:",
26
+ "successfulSteps": "Successful steps: {count}",
27
+ "failedSteps": "Failed steps: {count}",
28
+ "requiredFailedSteps": "Required steps failed: {count}",
29
+ "stepDetails": "Step Details:",
30
+ "errorDetails": "Error: {error}",
31
+ "reportSavedTo": "Report saved to: {path}",
32
+ "overallStatusSuccess": "SUCCESS",
33
+ "overallStatusFailed": "FAILED",
34
+ "overallStatus": "Overall Status: {status}",
35
+ "customSettingsConfiguration": "Custom Settings Configuration",
36
+ "pressEnterForDefaults": "Press Enter to use default settings for any prompt.",
37
+ "sourceDirPrompt": "Enter source directory (default: {default}): ",
38
+ "sourceLangPrompt": "Enter source language (default: {default}): ",
39
+ "targetLangsPrompt": "Enter target languages (comma-separated, default: {default}): ",
40
+ "translationMarkerPrompt": "Enter translation marker (default: {default}): ",
41
+ "outputDirPrompt": "Enter output directory for reports (default: {default}): ",
42
+ "settingsUpdatedSuccessfully": "Settings updated successfully!",
43
+ "errorConfiguringSettings": "Error configuring settings: {error}",
44
+ "autoRunScriptTitle": "Auto-Run Script",
45
+ "usageTitle": "Usage:",
46
+ "runAllSteps": "node i18ntk-autorun.js --all - Run all steps defined in i18ntk-config.json",
47
+ "configureSettingsFirst": "node i18ntk-autorun.js --config - Configure settings for the workflow",
48
+ "runSpecificSteps": "node i18ntk-autorun.js --steps <step_numbers> - Run specific steps (e.g., --steps 1,3,5)",
49
+ "showHelp": "node i18ntk-autorun.js --help - Show this help message",
50
+ "availableSteps": "Available Steps:",
51
+ "examplesTitle": "Examples:",
52
+ "configExample": "node i18ntk-autorun.js --config",
53
+ "stepsExample1": "node i18ntk-autorun.js --steps 1,2,3",
54
+ "stepsExample2": "node i18ntk-autorun.js --all",
55
+ "configurationComplete": "Configuration complete.",
56
+ "runAutoRunCommand": "Now you can run the auto-run command.",
57
+ "configurationFailed": "Configuration failed: {error}",
58
+ "noValidStepNumbers": "No valid step numbers provided.",
59
+ "autoRunFailed": "Auto-run failed: {error}",
60
+ "stepAnalyzeTranslations": "Analyze Translations",
61
+ "stepValidateTranslations": "Validate Translations",
62
+ "stepCheckUsage": "Check Usage",
63
+ "stepCompleteTranslations": "Complete Translations",
64
+ "stepAnalyzeSizing": "Analyze Sizing",
65
+ "stepGenerateSummary": "Generate Summary",
66
+ "translationLoadWarning": "Warning: Could not load {lang} translations",
67
+ "configReadError": "Error reading {file}",
68
+ "separator": "=================================================="
69
+ }
@@ -13,5 +13,19 @@
13
13
  "sameAsSource": "Same as source",
14
14
  "formatMismatch": "Format mismatch",
15
15
  "typeMismatch": "Type mismatch",
16
- "structureMismatch": "Structure mismatch"
16
+ "structureMismatch": "Structure mismatch",
17
+ "invalidOption": "Invalid option",
18
+ "welcome": "Welcome",
19
+ "hello": "Hello",
20
+ "goodbye": "Goodbye",
21
+ "yes": "Yes",
22
+ "no": "No",
23
+ "save": "Save",
24
+ "cancel": "Cancel",
25
+ "delete": "Delete",
26
+ "edit": "Edit",
27
+ "loading": "Loading...",
28
+ "separator": "==================================================",
29
+ "initializationFailed": "❌ Initialization failed: {error}",
30
+ "stackTrace": "Stack trace: {stack}"
17
31
  }
@@ -4,6 +4,8 @@
4
4
  "sourceDirectoryLabel": "📁 Source Directory: {dir}",
5
5
  "sourceLanguageLabel": "🌍 Source Language: {language}",
6
6
  "detectedI18nFrameworks": "🔍 Detected i18n framework(s): {frameworks}",
7
+ "existingDirectoriesFound": "📁 Existing translation directories found:",
8
+ "useExistingDirectoryPrompt": "Do you want to use the existing directory? (y/n)",
7
9
  "autoDetectedI18nDirectory": "📂 Auto-detected i18n directory: {directory}",
8
10
  "initializingProject": "⚙️ Initializing project configuration...",
9
11
  "languageSelectionTitle": "🌐 Language Configuration",
@@ -35,9 +37,22 @@
35
37
  "frameworks.i18next": "- i18next (i18next)",
36
38
  "frameworks.nuxt": "- Nuxt i18n (@nuxtjs/i18n)",
37
39
  "frameworks.svelte": "- Svelte i18n (svelte-i18n)",
38
- "selectOptionPrompt": "Select an option:",
39
- "existingDirectoriesFound": "📁 Existing translation directories found:",
40
- "useExistingDirectoryPrompt": "Use existing directory? Enter number (or press Enter to create new):",
41
- "usingExistingDirectory": "Using existing directory: {dir}",
42
- "usingExistingStructure": " Using existing translation structure in: {dir}"
40
+ "continueWithoutI18nPrompt": "No i18n framework detected. Do you want to continue without one? (y/N): ",
41
+ "detectedI18nFramework": "Detected i18n framework: {frameworks}",
42
+ "existingDirectoryItem": " {index}. {location}",
43
+ "usingExistingStructure": "Using existing structure: {dir}",
44
+ "creatingSourceDirectory": "Creating source directory: {dir}",
45
+ "creatingSourceLanguageDirectory": "Creating source language directory: {dir}",
46
+ "errors": {
47
+ "sourceDirectoryNotFound": "Source directory not found: {dir}",
48
+ "sourceLanguageDirectoryNotFound": "Source language directory not found: {dir}",
49
+ "noJsonFilesInSourceDirectory": "No JSON files found in source directory: {dir}",
50
+ "invalidFilePathDetected": "Invalid file path detected",
51
+ "initializationFailed": "Initialization failed: {error}"
52
+ },
53
+ "processingFile": "Processing {file} for {language}...",
54
+ "fileAlreadyExistsMerging": "File {file} already exists. Merging new keys.",
55
+ "createdNewFile": "Created new file: {file}",
56
+ "updatedFile": "Updated file: {file}",
57
+ "skippingExcludedFile": "Skipping {file} for {language} as it's excluded."
43
58
  }
@@ -17,6 +17,7 @@
17
17
  "debug": "🔧 Debug Tools",
18
18
  "exit": "🚪 Exit"
19
19
  },
20
+ "update": "📦 Update Package",
20
21
  "goodbye": "👋 Goodbye!",
21
22
  "invalidChoice": "❌ Invalid choice. Please select 0-13.",
22
23
  "returning": "🔄 Returning to main menu...",
@@ -65,5 +65,15 @@
65
65
  "allKeysAvailable": "🎉 All translation keys are now available!",
66
66
  "runWithoutDryRun": "💡 Run without --dry-run to apply changes",
67
67
  "pressEnterToContinue": "Press Enter to continue..."
68
+ },
69
+ "updatePackage": {
70
+ "title": "📦 Update i18n-toolkit Package",
71
+ "description": "This will update the i18n-toolkit package to the latest version available on npm.",
72
+ "command": "Command to run",
73
+ "confirm": "Are you sure you want to proceed with the update? (y/N): ",
74
+ "updating": "Updating package... This may take a moment.",
75
+ "success": "✅ i18n-toolkit updated successfully!",
76
+ "error": "❌ Failed to update i18n-toolkit",
77
+ "cancelled": "❌ Update cancelled."
68
78
  }
69
- }
79
+ }