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

Lots of copy changes #2120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Lots of copy changes #2120

wants to merge 1 commit into from

Conversation

KimberleyCook
Copy link
Contributor

@KimberleyCook KimberleyCook commented Oct 4, 2024

I also moved the placement of the donate button and made the font size 16px (and semi-bold) as it was 14 and the rest of the nav so didn't match up.

Screenshot 2024-10-04 at 14 08 21

@@ -340,12 +340,10 @@ en:
sign_up_as_coach: "Join us as a coach"
code_of_conduct: "code of conduct"
new:
intro: "We offer a welcoming, inclusive and learning-friendly environment, and have a zero tolerance policy towards any form of harassment or inappropriate behavior. Before you sign up, read our"
intro_html: "We provide a welcoming, inclusive, and supportive learning environment, with a strict zero-tolerance policy for any form of harassment or inappropriate behavior. Please take a moment to review our <a href='https://codebar.io/code-of-conduct'>code of conduct</a> before signing up."
Copy link
Contributor

@matyikriszta matyikriszta Oct 9, 2024

Choose a reason for hiding this comment

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

Instead of hard coding the href of the links like this can we pass it in as a variable to the translation string? That way we can make use of the path helpers (where they are available) and if the path every changes we'll only have to update it in one place. Here's the Rails guide on how to pass variables to translation strings https://guides.rubyonrails.org/i18n.html#passing-variables-to-translations

PS. I forgot to do this is a couple of places myself 😳

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