-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix #7161: Removes expression evaluation braces from i18n translation-values #7183
Conversation
@kevinlee12, @vojtechjelinek, @nithusha21, @aks681, Can you please review this PR as a code owner? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I didn't manually test as I'm away from my laptop right now. Can one of the other codeowners please manually test this change and give an update?
Codecov Report
@@ Coverage Diff @@
## develop #7183 +/- ##
============================================
+ Coverage 53.79% 87.75% +33.95%
============================================
Files 564 945 +381
Lines 20000 83588 +63588
Branches 2349 2349
============================================
+ Hits 10759 73352 +62593
- Misses 8796 9791 +995
Partials 445 445
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## develop #7183 +/- ##
============================================
+ Coverage 53.79% 87.75% +33.95%
============================================
Files 564 945 +381
Lines 20000 83588 +63588
Branches 2349 2349
============================================
+ Hits 10759 73352 +62593
- Misses 8796 9791 +995
Partials 445 445
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -483,7 +483,7 @@ <h2 translate="I18N_ABOUT_PAGE_CREDITS_TAB_HEADING"></h2> | |||
<li>Zoe Madden-Wood</li> | |||
</ul> | |||
</div> | |||
<p translate="I18N_ABOUT_PAGE_CREDITS_TAB_TEXT_BOTTOM" translate-values="{listOfNames: '<[$ctrl.listOfNames]>'}"> | |||
<p translate="I18N_ABOUT_PAGE_CREDITS_TAB_TEXT_BOTTOM" translate-values="{listOfNames: $ctrl.listOfNames}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -309,7 +309,7 @@ <h2 class="activity-title protractor-test-exp-summary-tile-title"> | |||
<span ng-if="$ctrl.subscribersList.length > 1" | |||
style="margin-top: 14px; display: inline-block;" | |||
translate="I18N_TOTAL_SUBSCRIBERS_TEXT" | |||
translate-values="{totalSubscribers: <[$ctrl.subscribersList.length]>}">> | |||
translate-values="{totalSubscribers: $ctrl.subscribersList.length}">> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -25,7 +25,7 @@ | |||
ng-click="toggleShowPreviousResponses()"> | |||
<span class="conversation-skin-responses-dropdown-text"> | |||
<span translate="I18N_PLAYER_PREVIOUS_RESPONSES" | |||
translate-values="{previousResponses: <[getDisplayedCard().getInputResponsePairs().length - (isInteractionInline() ? 1 : 0)]>}"> | |||
translate-values="{previousResponses: getDisplayedCard().getInputResponsePairs().length - (isInteractionInline() ? 1 : 0)}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added a few "steps to reproduce" for testing.
Explanation
Fixes #7161, removes expression evaluation braces from i18n translation-values.
Checklist
python scripts/pre_commit_linter.py
andbash scripts/run_frontend_tests.sh
.