Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development: Fix missing aboutUs translation key #6623

Merged
merged 1 commit into from
May 25, 2023

Conversation

pal03377
Copy link
Contributor

@pal03377 pal03377 commented May 24, 2023

Checklist

General

Motivation and Context

@JohannesStoehr noticed a bug caused by #6546: The translation keys for the about us page had gone missing. This PR fixes that.

Description

I noticed that the reported issue was caused by a small mistake in the prebuild.mjs script where I forgot the initial value for a call to .reduce. This caused the first filename to be the initial value, therefore the first file alphabetically (aboutUs.json) not to be considered.

This PR adds an initial value.

Steps for Testing

  • Visit the About Us page
  • Verify that the translations are not broken

Review Progress

tested by 4 people, 1 line of code change

Screenshots

Before:

screenshot-2023-05-24_001381

After:
screenshot-2023-05-25_001387

@pal03377 pal03377 self-assigned this May 24, 2023
@pal03377 pal03377 marked this pull request as ready for review May 24, 2023 17:00
@pal03377 pal03377 requested a review from a team as a code owner May 24, 2023 17:00
@codecov-commenter
Copy link

Codecov Report

Merging #6623 (c0c45bc) into develop (ffd4885) will decrease coverage by 4.67%.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #6623      +/-   ##
=============================================
- Coverage      84.95%   80.29%   -4.67%     
+ Complexity     13331    13329       -2     
=============================================
  Files           1092     2369    +1277     
  Lines          42905    90759   +47854     
  Branches        4448    12803    +8355     
=============================================
+ Hits           36450    72873   +36423     
- Misses          4001     9809    +5808     
- Partials        2454     8077    +5623     

see 1278 files with indirect coverage changes

Flag Coverage Δ
client 76.11% <ø> (?)
server 84.95% <ø> (-0.01%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ffd4885...c0c45bc. Read the comment docs.

@github-actions
Copy link

❌ Unable to deploy to test servers ❌

Testserver "artemis-test4.artemis.cit.tum.de" is already in use by PR #6475.

@github-actions github-actions bot added the deployment-error Added by deployment workflows if an error occured label May 24, 2023
Copy link
Contributor

@DominikRemo DominikRemo left a comment

Choose a reason for hiding this comment

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

Tested on ts2, works well 🚀

Copy link
Contributor

@JohannesStoehr JohannesStoehr left a comment

Choose a reason for hiding this comment

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

Thanks for the bugfix!

@4ludwig4 4ludwig4 added deploy:artemis-test4 and removed deployment-error Added by deployment workflows if an error occured labels May 24, 2023
@4ludwig4 4ludwig4 temporarily deployed to artemis-test4.artemis.cit.tum.de May 24, 2023 17:50 — with GitHub Actions Inactive
@4ludwig4
Copy link
Contributor

Just tested this on Docker Compose TS4 and the about page works again.

Copy link
Contributor

@terlan98 terlan98 left a comment

Choose a reason for hiding this comment

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

Tested on TS4. The about us page is fixed now

@bassner bassner added this to the 6.2.0 milestone May 25, 2023
@bassner bassner merged commit dfaa41b into develop May 25, 2023
@bassner bassner deleted the development/fix-prebuild-18n-merge branch May 25, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants