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

chore(www): add meaning attribute to messages with updated placeholders #1934

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

sbruens
Copy link
Contributor

@sbruens sbruens commented Mar 18, 2024

#1924 updated the placeholders of an existing message, without changing the message ID. This is a problem in the Translation Console as it can mess up existing translations that are based on a single placeholder. Here I'm changing the message ID by adding the meaning attribute, as suggested.

@sbruens sbruens requested a review from jyyi1 March 18, 2024 18:20
@sbruens sbruens requested a review from a team as a code owner March 18, 2024 18:20
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32%. Comparing base (70df767) to head (b73023a).

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1934   +/-   ##
======================================
  Coverage      32%     32%           
======================================
  Files          45      45           
  Lines        2620    2620           
  Branches      340     340           
======================================
  Hits          860     860           
  Misses       1760    1760           
Flag Coverage Δ
apple 15% <ø> (ø)
ios 15% <ø> (ø)
maccatalyst 15% <ø> (ø)
macos 15% <ø> (ø)
unittests 32% <ø> (ø)
www 40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sbruens sbruens requested a review from jyyi1 March 20, 2024 14:13
@sbruens sbruens merged commit bd590b3 into master Mar 20, 2024
21 checks passed
@sbruens sbruens deleted the sbruens/tc branch March 20, 2024 22:24
daniellacosse pushed a commit that referenced this pull request Apr 1, 2024
…ders (#1934)

* chore(www): add `meaning` attribute to messages with mismatched number of placeholders

* Use a more specific meaning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants