openems icon indicating copy to clipboard operation
openems copied to clipboard

Convert translation keys to Uppercase snake_case

Open saeedniko opened this issue 1 year ago • 1 comments

Summary This pull request introduces a new Java class designed to manage translation keys in the OpenEMS project.

Details

  • Java Class: A new Java class has been written to read all translation keys from the de.json file.
  • Functionality: The class scans for used translation keys within the OpenEMS/ui/src directory.
  • File Updates: It updates all files with the format .html or .ts to ensure they include the correct translation keys.
  • Translation Key Update: All translation keys are converted to uppercase snake case.

Link to Java Class You can find the Java class here: Link to Java Class

saeedniko avatar Jul 05 '24 12:07 saeedniko

Codecov Report

:x: Patch coverage is 2.27273% with 86 lines in your changes missing coverage. Please review.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #2703      +/-   ##
=============================================
+ Coverage      50.70%   50.71%   +0.02%     
- Complexity      8042     8045       +3     
=============================================
  Files           2100     2100              
  Lines          96427    96427              
  Branches        6530     6530              
=============================================
+ Hits           48880    48893      +13     
+ Misses         45851    45838      -13     
  Partials        1696     1696              
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Jul 05 '24 12:07 codecov[bot]

This would still be a good improvement, but it requires a full restart, because the PR is outdated.

sfeilmeier avatar Apr 14 '25 11:04 sfeilmeier

This PR has been automatically marked as stale due to inactivity. It will be closed in 7 days if no further activity occurs.

github-actions[bot] avatar Sep 19 '25 02:09 github-actions[bot]

This PR has been closed due to inactivity

It was automatically closed because there has been no recent activity. If the PR is still relevant, please feel free to reopen and update it and add any new information.

github-actions[bot] avatar Oct 10 '25 02:10 github-actions[bot]

This would still be a good improvement, but it requires a full restart, because the PR is outdated.

https://github.com/OpenEMS/openems/pull/3367

done

Sn0w3y avatar Oct 19 '25 15:10 Sn0w3y