i18ntk 2.0.4 → 2.2.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/README.md +38 -60
- package/main/i18ntk-analyze.js +49 -44
- package/main/i18ntk-complete.js +75 -74
- package/main/i18ntk-fixer.js +3 -3
- package/main/i18ntk-init.js +5 -5
- package/main/i18ntk-scanner.js +2 -2
- package/main/i18ntk-sizing.js +35 -35
- package/main/i18ntk-summary.js +4 -4
- package/main/i18ntk-ui.js +54 -8
- package/main/i18ntk-usage.js +14 -14
- package/main/i18ntk-validate.js +6 -5
- package/main/manage/commands/AnalyzeCommand.js +40 -35
- package/main/manage/commands/FixerCommand.js +2 -2
- package/main/manage/commands/ScannerCommand.js +2 -2
- package/main/manage/commands/ValidateCommand.js +9 -9
- package/main/manage/index.js +147 -75
- package/main/manage/managers/LanguageMenu.js +7 -2
- package/main/manage/services/UsageService.js +7 -7
- package/package.json +269 -290
- package/settings/settings-cli.js +3 -3
- package/ui-locales/de.json +161 -166
- package/ui-locales/en.json +13 -18
- package/ui-locales/es.json +171 -184
- package/ui-locales/fr.json +155 -161
- package/ui-locales/ja.json +192 -243
- package/ui-locales/ru.json +145 -196
- package/ui-locales/zh.json +179 -185
- package/utils/cli-helper.js +26 -98
- package/utils/extractors/regex.js +39 -12
- package/utils/i18n-helper.js +88 -40
- package/{scripts → utils}/locale-optimizer.js +61 -60
- package/utils/security-check-improved.js +16 -13
- package/utils/security.js +6 -4
- package/main/i18ntk-go.js +0 -283
- package/main/i18ntk-java.js +0 -380
- package/main/i18ntk-js.js +0 -512
- package/main/i18ntk-manage.js +0 -1694
- package/main/i18ntk-php.js +0 -462
- package/main/i18ntk-py.js +0 -379
- package/main/i18ntk-settings.js +0 -23
- package/main/manage/index-fixed.js +0 -1447
- package/main/manage/services/ConfigurationService-fixed.js +0 -449
- package/scripts/build-lite.js +0 -279
- package/scripts/deprecate-versions.js +0 -317
- package/scripts/export-translations.js +0 -84
- package/scripts/fix-all-i18n.js +0 -215
- package/scripts/fix-and-purify-i18n.js +0 -213
- package/scripts/fix-locale-control-chars.js +0 -110
- package/scripts/lint-locales.js +0 -80
- package/scripts/prepublish.js +0 -348
- package/scripts/security-check.js +0 -117
- package/scripts/sync-translations.js +0 -151
- package/scripts/sync-ui-locales.js +0 -20
- package/scripts/validate-all-translations.js +0 -139
- package/scripts/verify-deprecations.js +0 -157
- package/scripts/verify-translations.js +0 -63
- package/utils/security-fixed.js +0 -607
package/ui-locales/en.json
CHANGED
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
"failedToAnalyzeFile": "Failed to analyze file {filePath}: {error}",
|
|
599
599
|
"failedToAnalyzeLanguage": "Failed to analyze language {language}: {error}",
|
|
600
600
|
"translationCompletenessAnalysisFailed": "Translation completeness analysis failed: {error}",
|
|
601
|
-
"n": ""
|
|
601
|
+
"n": "\\n"
|
|
602
602
|
},
|
|
603
603
|
"complete": {
|
|
604
604
|
"configLoadedSuccessfully": "Configuration loaded successfully",
|
|
@@ -1104,17 +1104,18 @@
|
|
|
1104
1104
|
"warningProceedingWithoutFramework": "Proceeding without detected i18n framework."
|
|
1105
1105
|
},
|
|
1106
1106
|
"language": {
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1107
|
+
"title": "🌍 Change Language",
|
|
1108
|
+
"separator": "============================================================",
|
|
1109
|
+
"current": "Current language: {language}",
|
|
1110
|
+
"available": "Available Languages:",
|
|
1111
|
+
"languageOption": "{index}. {displayName}{current}",
|
|
1112
|
+
"backToMainMenu": "Back to Main Menu",
|
|
1113
|
+
"prompt": "Select a language (0-8):",
|
|
1114
|
+
"cancelled": "Language change cancelled.",
|
|
1115
|
+
"invalid": "Invalid choice. Please try again.",
|
|
1116
|
+
"changed": "Language changed to: {language}",
|
|
1117
|
+
"changeFailed": "Failed to change language: {error}",
|
|
1118
|
+
"pressEnterToContinue": "Press Enter to continue..."
|
|
1118
1119
|
},
|
|
1119
1120
|
"maintainLanguagePurity": {
|
|
1120
1121
|
"workflow_title": "🚀 Language Purity Maintenance Workflow",
|
|
@@ -2369,9 +2370,6 @@
|
|
|
2369
2370
|
"found_hardcoded_messages": "Found hardcoded messages",
|
|
2370
2371
|
"all_console_messages_use_translation": "All console messages use translation"
|
|
2371
2372
|
},
|
|
2372
|
-
"\\nSelect directory to clean (0-${availableDirs": {
|
|
2373
|
-
"length + 1}): ": ""
|
|
2374
|
-
},
|
|
2375
2373
|
"exportTranslations": {
|
|
2376
2374
|
"createdDirectory": "Created Directory",
|
|
2377
2375
|
"foundFiles": "Found Files",
|
|
@@ -2387,9 +2385,6 @@
|
|
|
2387
2385
|
"location": "Location",
|
|
2388
2386
|
"nextSteps": "Next Steps"
|
|
2389
2387
|
},
|
|
2390
|
-
")) {\n console": {
|
|
2391
|
-
"log(": "Log("
|
|
2392
|
-
},
|
|
2393
2388
|
"dashboard": {
|
|
2394
2389
|
"title": "Title",
|
|
2395
2390
|
"overview": "Overview"
|