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

I18n translations for fnd 1431 #40410

Merged
merged 4 commits into from May 7, 2021
Merged

Conversation

JamesHankinsDev
Copy link

mall PR to add i18n strings for FND-1431: Lock Section

Adds required strings to React and Rails i18n files

  • apps/i18n/common/en_us.json implements for React,
  • dashboard/config/locales/en.yml implements for Rails

**NOTE: This sets up strings to be included in feature branch FND-1431: Section Lock and should be reviewed/approved/merged first.

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@JamesHankinsDev JamesHankinsDev requested a review from dju90 May 4, 2021 18:13
@@ -1169,6 +1172,8 @@
"manageStudentsNotificationAtCapacity": "You can’t have more than 500 students in a section. Questions about this limit? [Contact support](https://code.org/contact)",
"manageStudentsNotificationAddSuccess": "You added {numStudents, plural, one {1 student} other {# students}} to your section.",
"manageStudentsNotificationSuccess": "Success!",
"manageStudentsNotificationLocked": "You have locked this section",
"manageStudentsNotificationLockedDetails": "Students can not join this section using the section code. {loginType, select, email {You can still add students to the section manually by moving or copying them from another section} other {You can still add students manually on the Manage Students tab}}. You can unlock this section by clicking \"Edit Section Details\".",
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: "can not" should be one word: "cannot"

Copy link
Author

Choose a reason for hiding this comment

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

Thank you! Just pushed a fix for that typo

@dju90 dju90 marked this pull request as ready for review May 5, 2021 21:12
@dju90 dju90 requested a review from a team as a code owner May 5, 2021 21:12
@JamesHankinsDev JamesHankinsDev force-pushed the i18n-translations-for-FND-1431 branch from 438bae4 to 1615043 Compare May 6, 2021 18:09
Copy link
Contributor

@hacodeorg hacodeorg left a comment

Choose a reason for hiding this comment

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

You don't have to check in the changes in dashboard/db/schema_cache.yml.
It is taken care by the CI/CD pipeline https://github.com/code-dot-org/code-dot-org/commits/3ffbc6d787350a7e6b0b41d2000af16456adc3d0/dashboard/db/schema_cache.yml

@@ -3980,7 +3980,7 @@ en:
description_student: In this lesson the class develops a preliminary definition of a computer. After brainstorming the possible definitions for a computer, the class works in groups to sort pictures into “is a computer” or “is not a computer” on poster paper and explain their motivations for choosing some of the most difficult categorizations. The teacher then introduces a definition of the computer and allows groups to revise their posters according to the new definition.
description_teacher: 'In this lesson students develop a preliminary definition of a computer. To begin the lesson, the class will brainstorm possible definitions for a computer and place the results of this brainstorm on the board. Next, students will work in groups to sort pictures into “is a computer” or “is not a computer” on poster paper. Groups will place their posters around the room and briefly explain their motivations for choosing some of their most difficult categorizations. The teacher will then introduce a definition of the computer and allow students to revise their posters according to the new definition.

'
'
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are there so many space changes in this file?

Copy link
Author

Choose a reason for hiding this comment

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

Sorry about that - just pulled the scripts.en.yml file out

@dju90 dju90 merged commit 435d0e5 into staging May 7, 2021
@dju90 dju90 deleted the i18n-translations-for-FND-1431 branch May 7, 2021 22:07
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.

None yet

3 participants