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

Add petition call to action strings #45991

Merged
merged 6 commits into from May 3, 2022
Merged

Conversation

megcrenshaw
Copy link
Contributor

@megcrenshaw megcrenshaw commented Apr 26, 2022

Includes the strings needed for internationalization on the Petition CtA

image

image

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

@megcrenshaw megcrenshaw requested a review from a team as a code owner April 26, 2022 17:14
@megcrenshaw megcrenshaw requested review from davidsbailey and a team April 28, 2022 21:01
Copy link
Member

@davidsbailey davidsbailey left a comment

Choose a reason for hiding this comment

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

looks great, thanks for following up! one request inline

@@ -976,6 +978,8 @@
"histogram": "Histogram",
"homepageHeading": "My Dashboard",
"howItWorks": "How it Works (View Code)",
"iAgree": "I agree",
"iAmA": "I am a",
Copy link
Member

Choose a reason for hiding this comment

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

partial sentences will not work well for translations. I would suggest:

"I am a ..."

only slightly different, but prompts translators to move the ... in languages where the word order might be something like "a ... am I" (my new trick for this will be to imagine Yoda saying everything)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, good call. I'll do that for now, and will double check with Tess if we want to keep this label as "I am a ..." because you're right that translations will be tricky

@megcrenshaw
Copy link
Contributor Author

Forgot to update the error strings! Updated the screenshots accordingly

@megcrenshaw
Copy link
Contributor Author

Unit Tests passing: https://drone.cdn-code.org/code-dot-org/code-dot-org/18303
UI Tests passing: https://drone.cdn-code.org/code-dot-org/code-dot-org/18419

@megcrenshaw megcrenshaw merged commit 6fa2790 into staging May 3, 2022
@megcrenshaw megcrenshaw deleted the add-petition-form-strings branch May 3, 2022 19:51
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