Skip to content

fix: add translation text for technicalName, category, cardinality#3189

Merged
sfeilmeier merged 1 commit intoOpenEMS:developfrom
girasolenergy:bugfix/improve-comopnent-page-translation
Aug 3, 2025
Merged

fix: add translation text for technicalName, category, cardinality#3189
sfeilmeier merged 1 commit intoOpenEMS:developfrom
girasolenergy:bugfix/improve-comopnent-page-translation

Conversation

@miettal
Copy link
Copy Markdown
Contributor

@miettal miettal commented Jun 17, 2025

This pull request introduces localization improvements to the app settings UI by replacing hardcoded strings with translatable keys and updating language files to include the necessary translations.

Localization improvements:

  • ui/src/app/edge/settings/app/index.component.html: Replaced hardcoded labels like "Technischer Name," "Kategorie," and "Cardinality" with translatable keys (Edge.Config.App.technicalName, Edge.Config.App.category, and Edge.Config.App.cardinality) to support internationalization.

Language file updates:

co-author: @Jasonlee6789 , codex, copilot

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

❗ There is a different number of reports uploaded between BASE (bd2d8cc) and HEAD (39db16f). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (bd2d8cc) HEAD (39db16f)
java 1 0
Additional details and impacted files
@@              Coverage Diff               @@
##             develop    #3189       +/-   ##
==============================================
- Coverage      58.87%   26.91%   -31.96%     
==============================================
  Files           2619      291     -2328     
  Lines         113027     7791   -105236     
  Branches        8318     1197     -7121     
==============================================
- Hits           66536     2096    -64440     
+ Misses         44000     5602    -38398     
+ Partials        2491       93     -2398     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@sfeilmeier sfeilmeier left a comment

Choose a reason for hiding this comment

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

Thank you!

NOTE: It's best practice to name translation ids with UPPER_CASE, but we are not yet enforcing it.

@sfeilmeier sfeilmeier merged commit da19a9e into OpenEMS:develop Aug 3, 2025
5 of 7 checks passed
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