Skip to content

[BUG] TcoComprehensiveResult missing translation tags#61

Merged
peterbarancek merged 2 commits into
devfrom
49-_BUG_TcoComprehensiveResult_missing_translation_tags
Jun 15, 2026
Merged

[BUG] TcoComprehensiveResult missing translation tags#61
peterbarancek merged 2 commits into
devfrom
49-_BUG_TcoComprehensiveResult_missing_translation_tags

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

closes #49

@peterbarancek peterbarancek marked this pull request as ready for review June 15, 2026 07:07
Copilot AI review requested due to automatic review settings June 15, 2026 07:07
@peterbarancek peterbarancek merged commit 4cb12c6 into dev Jun 15, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes missing translation metadata for TcoComprehensiveResult so its fields can be localized in tooling/UI (closes #49).

Changes:

  • Added TwinCAT {attribute addProperty Name "<#...#>"} translation tags to TcoComprehensiveResult fields.
  • Added corresponding Result / Failures / ErrorCodes entries to WPF strings*.resx resources.
  • Added missing connector localization keys for the new tags in Localizations.resx.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/TcoInspectors/src/XAE/XAE/TcoInspectors/POUs/TcoInspector/TcoComprehensiveResult.TcDUT Adds translation-tagged property names for Result, Failures, ErrorCodes.
src/TcoInspectors/src/Wpf/TcOpen.Inxton.TcoInspectors.Wpf/Properties/strings.resx Adds neutral-culture WPF strings for the new labels.
src/TcoInspectors/src/Wpf/TcOpen.Inxton.TcoInspectors.Wpf/Properties/strings.sk-SK.resx Adds Slovak translations for the new labels.
src/TcoInspectors/src/Wpf/TcOpen.Inxton.TcoInspectors.Wpf/Properties/strings.es-MX.resx Adds es-MX translations for the new labels.
src/TcoInspectors/src/Wpf/TcOpen.Inxton.TcoInspectors.Wpf/Properties/strings.es-ES.resx Adds es-ES translations for the new labels.
src/TcoInspectors/src/Wpf/TcOpen.Inxton.TcoInspectors.Wpf/Properties/strings.de-DE.resx Adds German translations for the new labels.
src/TcoInspectors/src/Wpf/TcOpen.Inxton.TcoInspectors.Wpf/Properties/strings.cs-CZ.resx Adds Czech translations for the new labels.
src/TcoInspectors/src/TcoInspectorsConnector/Properties/Localizations.resx Adds connector localization keys for the new tags (and reorders/adjusts existing entries).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +126 to +128
<data name="___ErrorCodes__" xml:space="preserve">
<value>ErrorCodes</value>
</data>
Comment on lines +120 to +128
<data name="___Result__" xml:space="preserve">
<value>Result</value>
</data>
<data name="___Failures__" xml:space="preserve">
<value>Failures</value>
</data>
<data name="___ErrorCodes__" xml:space="preserve">
<value>ErrorCodes</value>
</data>
Comment on lines +153 to +161
<data name="Result" xml:space="preserve">
<value>Result</value>
</data>
<data name="Failures" xml:space="preserve">
<value>Failures</value>
</data>
<data name="ErrorCodes" xml:space="preserve">
<value>Error codes</value>
</data>
Comment on lines +120 to +128
<data name="___Result__" xml:space="preserve">
<value>Result</value>
</data>
<data name="___Failures__" xml:space="preserve">
<value>Failures</value>
</data>
<data name="___ErrorCodes__" xml:space="preserve">
<value>ErrorCodes</value>
</data>
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.

[BUG] TcoComprehensiveResult missing translation tags

2 participants