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

apps/livequestions apps/plans: fixed missing translations by moving translation strings into variables at top of files in all affected jsx files #4151

Merged
merged 3 commits into from
Jan 13, 2022

Conversation

sabinammm
Copy link
Contributor

Fixes Issues #4150 and #4149 as caused by PR #4126

Leaving this in WIP until question is resolved, i.e. if there is another PR besides #4126 that deleted translations that are actually still needed.

…ranslation strings into variables at top of files in all affected jsx files

Fixes Issues #4150 and #4149 as caused by PR #4126
@github-actions
Copy link

Coverage report

Total coverage

Status Category Percentage Covered / Total
🔴 Statements 9% 155/1723
🔴 Branches 7.01% 69/984
🔴 Functions 9.52% 52/546
🔴 Lines 13.83% 697/5040

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Report generated by 🧪jest coverage report action from 1e15476

@sabinammm sabinammm changed the title WIP apps/livequestions apps/plans: fixed missing translations by moving translation strings into variables at top of files in all affected jsx files apps/livequestions apps/plans: fixed missing translations by moving translation strings into variables at top of files in all affected jsx files Jan 13, 2022
Copy link
Contributor

@fuzzylogic2000 fuzzylogic2000 left a comment

Choose a reason for hiding this comment

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

Nice!

@@ -2,6 +2,14 @@
const React = require('react')
const Moment = require('moment')

const remainingStr = django.gettext('remaining')
Copy link
Contributor

Choose a reason for hiding this comment

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

nice, that you also moved these to the front!

@fuzzylogic2000 fuzzylogic2000 merged commit f41f54a into main Jan 13, 2022
@fuzzylogic2000 fuzzylogic2000 deleted the sm-2022-01-fix-missing-jsx-translations branch January 13, 2022 09:37
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