Skip to content

Рекомендации по улучшению 4f40a - #23

Open
igor04091968 wants to merge 4 commits into
mainfrom
рекомендации-по-улучшению-4f40a

Hidden character warning

The head ref may contain hidden characters: "\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438-\u043f\u043e-\u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044e-4f40a"
Open

Рекомендации по улучшению 4f40a#23
igor04091968 wants to merge 4 commits into
mainfrom
рекомендации-по-улучшению-4f40a

Conversation

@igor04091968

Copy link
Copy Markdown
Owner

Summary

  • what changed
  • why it changed
  • risk and rollback notes

Checklist

  • No real secrets or credentials committed
  • Server-side scripts validated (bash -n)
  • PowerShell scripts validated (Invoke-ScriptAnalyzer)
  • Docs updated (full paths and runbook steps)
  • Rollback steps documented

qwen-intl and others added 4 commits April 27, 2026 06:55
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.
- Modified docs/1C_GRAFANA_DEPLOYMENT_RU.md to update dashboard titles from English to Russian while preserving "DLP" term
- Updated grafana-1c/grafana/dashboards/1c-accounting-overview.json title to "1C Бухгалтерия — Обзор"
- Updated grafana-1c/grafana/dashboards/1c-accounting-sre.json maintaining Russian interface with preserved "DLP" terminology
- Complete localization ensures consistent Russian language throughout monitoring system while maintaining technical accuracy
…t wrapper function

Key features implemented:
- Added Invoke-AwJsonPost function to handle UTF-8 encoded JSON POST requests with proper content type header
- Replaced direct Invoke-RestMethod calls with Invoke-AwJsonPost wrapper in Ensure-Bucket, Send-Heartbeat, Send-CategoryHeartbeat, and Send-DlpIncidentHeartbeat functions
- Updated .gitignore with comprehensive file exclusion patterns for various development environments and system files

The changes ensure proper UTF-8 character encoding when sending JSON data to the ActivityWatch API while maintaining all existing functionality. The gitignore updates provide better project hygiene by excluding common temporary and environment-specific files.
…ия-298c5

Update from task 9d312d5c-ebcc-4c50-a5f3-9e14f71298c5

@igor04091968 igor04091968 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants