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

Remove old categories from scripts.en.yml #45989

Merged
merged 2 commits into from
May 26, 2022

Conversation

dmcavoy
Copy link
Contributor

@dmcavoy dmcavoy commented Apr 26, 2022

Follow up work to the changes to the Assignment Dropdown.

We are no longer using these categories listed in scripts.en.yml. Instead we are using the category field on Course Offering which has been in and being translated for over 2 months (#44707). Any pattern matching by Crowdin should have happened already so this removes those old categories that are not longer needed.

@dmcavoy dmcavoy requested a review from a team as a code owner April 26, 2022 16:37
@dmcavoy dmcavoy requested review from a team and removed request for a team April 28, 2022 19:42
@@ -1549,36 +1549,6 @@ class CanViewVersion < ActiveSupport::TestCase
assert_equal("Waiting for review", feedback2_result[:reviewStateLabel])
end

# This test checks that all categories that may show up in the UI have
# translation strings.
test 'all visible categories have translations' do
Copy link
Member

Choose a reason for hiding this comment

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

just confirming my understanding that this statement is now enforced by the not null requirement here?

# display_name :string(255) not null

@dmcavoy
Copy link
Contributor Author

dmcavoy commented Apr 29, 2022

I just realized the category headers in the Assignment Dropdown are not getting translated. I need to do a step before this PR. Will let you know when its ready to come back to

@dmcavoy
Copy link
Contributor Author

dmcavoy commented May 26, 2022

Just checked an the translations are now live for the new way we are translating these so going to merge this now

@dmcavoy dmcavoy merged commit 3fc0dd4 into staging May 26, 2022
@dmcavoy dmcavoy deleted the eptools/dani/remove-unused-scripts-en-yml branch May 26, 2022 16:32
@davidsbailey
Copy link
Member

Woohoo!

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

2 participants