-
Notifications
You must be signed in to change notification settings - Fork 7
Made small text adjustments to loc /splash and /issues #1722
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
Conversation
|
|
||
| assert second.area_complained_of_mc == hp.AreaComplainedOfMC.PUBLIC_AREA | ||
| assert second.which_room_mc.value == "Public areas" # type: ignore | ||
| assert second.which_room_mc.value == "Building-wide" # type: ignore |
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.
Hey @toolness! Noticed that me changing the names of the issue areas broke this HPA back-end test. I fixed it here but just wanted to make sure there weren't any other HP-related consequences of this copy change. Lmk!
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.
Ah right, there shouldn't be any, since outside of tests, all string comparisons are done against the "code" (e.g. `PUBLIC_AREAS") rather than the user-facing string! NOICE
|
@toolness on the second thought, lemme just get your eyes on this quick— see my comment above ^^ |
| HOME: "Home-wide", | ||
| PUBLIC_AREAS: "Building-wide", |
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.
One of the requests was to reorder these sections, hence the change here
toolness
left a comment
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.
This looks good to me! Just to confirm, all the changes you made don't need to be internationalized or translated prior to pushing to production right?
|
|
||
| assert second.area_complained_of_mc == hp.AreaComplainedOfMC.PUBLIC_AREA | ||
| assert second.which_room_mc.value == "Public areas" # type: ignore | ||
| assert second.which_room_mc.value == "Building-wide" # type: ignore |
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.
Ah right, there shouldn't be any, since outside of tests, all string comparisons are done against the "code" (e.g. `PUBLIC_AREAS") rather than the user-facing string! NOICE
|
@toolness yep! They're only LOC (and bc of the issues, EHP) changes, and since those tools aren't i18n enabled yet, we can push this. |
#1722 made some trivial re-orderings to how we list issue areas, but due to Django's migration logic sillyness (which I think has actually just been fixed in Django's main branch) it requires a completely trivial migration. This is it.
This PR makes some minor tweaks to our Letter of Complaint content, as requested during a content audit.