Title: Add i18n module with Russian localization and validation tools

Key features implemented:
- New i18n module with JSON-based message catalogs for multi-language support
- Added Russian (ru-RU) and English (en-US) localization files with 100+ messages
- PowerShell module ActivityWatch.Windows.I18n.psm1 with fallback mechanism
- Node.js validation and coverage analysis scripts for locale management
- Package.json configuration with semantic versioning and build tools
- README_RU.md documentation with integration examples and best practices

The implementation provides comprehensive internationalization support with automated validation, versioning, and fallback capabilities for robust multilingual deployments.
This commit is contained in:
qwen.ai[bot]
2026-04-27 06:55:20 +00:00
parent e22bd697f7
commit dc422e2e2e
9 changed files with 1443 additions and 7 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"name": "awatch-rus-i18n",
"version": "1.1.2",
"description": "Internationalization (i18n) module for AWatch-rus project",
"type": "module",
"scripts": {
"validate": "node scripts/validate-locales.js",
"coverage": "node scripts/check-coverage.js",
"extract": "node scripts/extract-keys.js",
"bump": "node scripts/bump-version.js"
},
"keywords": [
"i18n",
"localization",
"l10n",
"russian",
"activitywatch"
],
"author": "AWatch-rus Team",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"glob": "^10.3.0",
"jsonschema": "^1.4.1"
}
}