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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/views/layouts/_navigation.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
%li.nav-item
= link_to "http://jobs.codebar.io/", class: 'nav-link border-0' do
Job Board
%li.nav-item.d-flex.align-items-center
.nav-link.py-0
= link_to new_donation_path, class: 'btn btn-sm btn-outline-primary' do
Donate
- if !logged_in?
%li.nav-item
= link_to '/auth/github', class: 'nav-link border-0' do
Expand All @@ -54,3 +50,7 @@
= link_to '#', {'role': 'button', 'aria-expanded': 'false', 'data-bs-toggle': 'dropdown', class: 'nav-link border-0 dropdown-toggle', id: 'navbarDropdownMenuLinkMember'} do
Menu
= render 'layouts/member_menu'
%li.nav-item.d-flex.align-items-center
.nav-link.py-0
= link_to new_donation_path, class: 'btn btn-sm fs-6 fw-semibold btn-primary' do
Donate
10 changes: 2 additions & 8 deletions app/views/members/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@
.container
.row.justify-content-md-center
.col-12.col-lg-6
%p
= t('members.new.intro')
= link_to t('members.code_of_conduct'), code_of_conduct_path
\.
%p
= t('members.new.students.intro')
= link_to t('members.new.students.criteria_link'), student_guide_path(anchor: 'eligibility')
= t('members.new.students.criteria_brief')
%p= t('members.new.intro_html')
%p= t('members.new.students.intro_html')
%p.mb-4
= t('members.new.students.github')
.d-grid.d-lg-block
Expand Down
4 changes: 2 additions & 2 deletions app/views/shared/_donation_platforms.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.row.justify-content-center
.col-12.col-md-7.text-center.mb-3
%h2.h1= title
%p= t("donation_platforms.description")
%p.my-4= t("donation_platforms.description")

.row.d-flex
.d-flex.col-sm-12.col-md-6.col-lg-3
Expand Down Expand Up @@ -41,4 +41,4 @@

- if local_assigns[:with_button]
.d-flex.justify-content-center.mt-4
= link_to t("donation_platforms.link"), how_to_support_us_path, class: "btn btn-primary btn-lg"
= link_to t("donation_platforms.link"), how_to_support_us_path, class: "btn btn-primary btn-lg my-4"
8 changes: 4 additions & 4 deletions app/views/sponsors/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
.col.col-md-10.col-lg-8
%h1 Sponsors
%p.lead
Without our sponsors running <strong>codebar</strong> would be impossible. They provide us with space, food and drinks, internet, and they also help us cover our running costs.
Codebar wouldn’t be possible without the support of our sponsors. They provide us with essential resources like space, food, drinks, and internet, and help cover our operational costs.
%p.lead
Thank you for sharing our dream of creating a more welcoming, equal and diverse tech industry.
%p.mb-0
If you are interested in becoming a host please do get in touch with us at #{mail_to "[email protected]", "[email protected]"}.
Thank you for sharing our vision of building a more inclusive, equal, and diverse tech industry.
%p.lead.mb-0
If you are interested in becoming a sponsor please do get in touch with us at #{mail_to "[email protected]", "[email protected]"}.

- ['gold', 'silver', 'bronze', 'community', 'standard'].each do |level|
- if @sponsor_levels[level]
Expand Down
24 changes: 12 additions & 12 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ de:
explanation: "Unser Ziel ist unterrepräsentierten Menschen zu programmieren in einer sicheren und kollaborative Umgebung lernen und erweitern ihre Karrierechancen zu ermöglichen. Um dies zu erreichen betreiben wir kostenlose regelmäßige Workshops, regelmäßige Einzelveranstaltungen und versuchen, die Möglichkeiten für unsere Schüler die Technologie und Programmierung zugänglicher zu schaffen."
participate:
students_title: "Students"
students_explanation_p1: "Our students come from a variety of backgrounds. Some want to become full-time developers, whereas some would like to learn the basics of coding in a supportive environment."
students_explanation_p2: "Join our vibrant community and attend our workshops."
students_explanation_p1: "Our students come from diverse backgrounds—some aspiring to become full-time developers, while others simply want to learn the basics of coding in a supportive environment."
students_explanation_p2: "Join our vibrant community and take part in our workshops!"
students_button: "Join us as a student"
coaches_title: "Coaches"
coaches_explanation_p1: "We encourage new students to work on our HTML/CSS, JavaScript, Ruby, Python or Git <a href='http://tutorials.codebar.io'>tutorials</a>. We also help them understand programming concepts."
coaches_explanation_p2: "Therefore we are always on the lookout for more developers to join our community and help coach at our workshops."
coaches_explanation_p1: "We encourage new students to start with our <a href='http://tutorials.codebar.io'>tutorials</a> on HTML/CSS, JavaScript, Ruby, Python, or Git, while also helping them grasp key programming concepts."
coaches_explanation_p2: "That’s why we’re always looking for more developers to join our community and coach at our workshops."
coaches_button: "Join us as a coach"
workshop_title: "Workshops"
workshop_explanation_p1: "We are hosted by some amazing companies who support our cause. Our normal format is 30 minutes of socialising with food and drink, followed by a lightning talk then coding."
workshop_explanation_p2: Help our expansion and enable us to provide help and support to our chapters by hosting and sponsoring our workshops.
workshop_button: "Host a workshop"
workshop_explanation_p1: "We’re proud to be hosted by amazing companies that support our mission. Our typical format includes 30 minutes of socialising over food and drinks, a lightning talk, and then hands-on coding."
workshop_explanation_p2: "Help us grow and support our chapters by hosting or sponsoring our workshops, and together, we can expand opportunities for more aspiring developers."
workshop_button: "Let's work together"
workshop_email_subject: "Regarding hosting a workshop"
chapters:
title: "Chapters"
Expand Down Expand Up @@ -513,11 +513,11 @@ de:
description: Affect change as a volunteer coach with codebar - your expertise and guidance will pave the way for aspiring developers, unlocking the world of coding and creating opportunities for folks from groups under represented in the tech industry.
volunteer:
title: Other skills
description: codebar welcomes volunteers with a diverse range of skills - whether it's event coordination, fundraising, marketing or any other skill. Your unique abilities can enrich our community and drive our mission forward.
description: Your unique abilities could be our missing piece in the codebar puzzle. Having a diverse range of skills in our team is necessary to enrich our community. From fundraising to event coordination to marketing, we always welcome new talent to drive our mission forward.
link: Email us to become a volunteer
fundraise:
title: Fundraise
description_html: "Join our team at running and sporting events across the UK and challenge yourself physically while also supporting codebar. Use the registration forms below to register for an event. If you are not seeing an event in your area, <a href='mailto:[email protected]'>drop us an email</a> telling us where you are located and we'll let you know about upcoming events in your area."
description_html: "Join the codebar team with a physical challenge event. Whether you are a runner, swimmer, or cyclist, sign up with our registration form for your desired event and raise vital funds to help keep our events running. If your event does not appear below, feel free to <a href='mailto:[email protected]'>drop us an email</a> and we would be happy to coordinate with you."
image_alt: A Black British woman crosses the finish line at the Hackney Half Marathon in London in a shower of confetti while spectators cheer her on.

admin:
Expand Down Expand Up @@ -565,15 +565,15 @@ de:
expiry_date: Application closing date
donation_platforms:
title: "Donate"
description: "Your support, whether a single gift or ongoing commitment, fuels our efforts to create an inclusive tech industry and provides consistent opportunities for learning and growth for members of groups underrepresented in the tech industry."
description: "Your supportwhether through a one-time gift or ongoing commitment—drives our mission to create a more inclusive tech industry. It enables us to provide continuous learning opportunities and empower individuals from underrepresented groups to grow and thrive in tech."
link: "Find out how else to support us"
donation_form:
title: "Use the donation page"
text: "Consider making a lasting impact through codebar with a one-time donation or a monthly recurring contribution."
text: "Make a lasting impact with codebar by giving a one-time donation or committing to a monthly contribution."
image_alt: "codebar logo"
github_sponsors:
title: "Github Sponsors"
text: "Support codebar's mission directly through GitHub Sponsors. Join us in shaping the future of technology through your generous donation."
text: "Support codebars mission directly through GitHub Sponsors and help shape the future of technology with your generous donation."
image_alt: "Github Sponsors logo"
open_collective:
title: "Open Collective"
Expand Down
34 changes: 16 additions & 18 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,23 +85,23 @@ en:
explanation: "Our goal is to enable minority group members to learn programming in a safe and collaborative environment and expand their career opportunities. To achieve this we run free regular workshops, regular one-off events and try to create opportunities for our students making technology and coding more accessible."
participate:
students_title: "Students"
students_explanation_p1: "Our students come from a variety of backgrounds. Some want to become full-time developers, whereas some would like to learn the basics of coding in a supportive environment."
students_explanation_p2: "Join our vibrant community and attend our workshops."
students_explanation_p1: "Our students come from diverse backgrounds—some aspiring to become full-time developers, while others simply want to learn the basics of coding in a supportive environment."
students_explanation_p2: "Join our vibrant community and take part in our workshops!"
students_button: "Join us as a student"
coaches_title: "Coaches"
coaches_explanation_p1: "We encourage new students to work on our HTML/CSS, JavaScript, Ruby, Python or Git <a href='http://tutorials.codebar.io'>tutorials</a>. We also help them understand programming concepts."
coaches_explanation_p2: "Therefore we are always on the lookout for more developers to join our community and help coach at our workshops."
coaches_explanation_p1: "We encourage new students to start with our <a href='http://tutorials.codebar.io'>tutorials</a> on HTML/CSS, JavaScript, Ruby, Python, or Git, while also helping them grasp key programming concepts."
coaches_explanation_p2: "That’s why we’re always looking for more developers to join our community and coach at our workshops."
coaches_button: "Join us as a coach"
workshop_title: "Workshops"
workshop_explanation_p1: "We are hosted by some amazing companies who support our cause. Our normal format is 30 minutes of socialising with food and drink, followed by a lightning talk then coding."
workshop_explanation_p2: Help our expansion and enable us to provide help and support to our chapters by hosting and sponsoring our workshops.
workshop_button: "Host a workshop"
workshop_explanation_p1: "We’re proud to be hosted by amazing companies that support our mission. Our typical format includes 30 minutes of socialising over food and drinks, a lightning talk, and then hands-on coding."
workshop_explanation_p2: "Help us grow and support our chapters by hosting or sponsoring our workshops, and together, we can expand opportunities for more aspiring developers."
workshop_button: "Let's work together"
workshop_email_subject: "Regarding hosting a workshop"
chapters:
title: "Chapters"
newsletter:
title: Subscribe to our newsletter
description: Get regular updates about the codebar community. Be informed about upcoming events, jobs, scholarships and other learning opportunities.
description: Stay connected with the codebar community! Get regular updates on upcoming events, job opportunities, scholarships, and other learning resources.
events:
upcoming: "Upcoming Events"
donation_platforms:
Expand Down Expand Up @@ -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 😳

students:
intro: "If you would like to attend as a student, make sure you meet our"
criteria_link: "eligibility criteria"
criteria_brief: "as our workshops are only available to women, non-binary, LGBTQ, and people from underrepresented minority groups."
github: "Lastly, when you click the sign up button, you'll be taken to something called GitHub. After logging in with a GitHub account, you'll be taken back to the codebar website. If you don't have an account yet, you'll need to create one. It doesn't take long and it's something that will come in handy when you get started with coding!"
intro_html: "If you’re interested in attending as a student, be sure to check our <a href='https://codebar.io/student-guide#eligibility'>eligibility criteria</a>. Our workshops and events are exclusively for women, non-binary, LGBTQ+ members, and people from underrepresented minority groups."
github: "When you click the sign-up button, you'll be redirected to GitHub. After logging in with your GitHub account, you'll return to the codebar website. If you don’t have an account yet, creating one is quick and easy—and it will be useful as you begin your coding journey!"
invitations: "Invitations are sent out periodically, so don't worry if you don't receive one as soon as you register."
terms_and_conditions:
title: 'Terms and Conditions'
Expand Down Expand Up @@ -626,11 +624,11 @@ en:
description: Affect change as a volunteer coach with codebar - your expertise and guidance will pave the way for aspiring developers, unlocking the world of coding and creating opportunities for folks from groups under represented in the tech industry.
volunteer:
title: Other skills
description: codebar welcomes volunteers with a diverse range of skills - whether it's event coordination, fundraising, marketing or any other skill. Your unique abilities can enrich our community and drive our mission forward.
description: Your unique abilities could be our missing piece in the codebar puzzle. Having a diverse range of skills in our team is necessary to enrich our community. From fundraising to event coordination to marketing, we always welcome new talent to drive our mission forward.
link: Email us to become a volunteer
fundraise:
title: Fundraise
description_html: "Join our team at running and sporting events across the UK and challenge yourself physically while also supporting codebar. Use the registration forms below to register for an event. If you are not seeing an event in your area, <a href='mailto:[email protected]'>drop us an email</a> telling us where you are located and we'll let you know about upcoming events in your area."
description_html: "Join the codebar team with a physical challenge event. Whether you are a runner, swimmer, or cyclist, sign up with our registration form for your desired event and raise vital funds to help keep our events running. If your event does not appear below, feel free to <a href='mailto:[email protected]'>drop us an email</a> and we would be happy to coordinate with you."
image_alt: A Black British woman crosses the finish line at the Hackney Half Marathon in London in a shower of confetti while spectators cheer her on.

admin:
Expand Down Expand Up @@ -763,15 +761,15 @@ en:
discord_invitation: https://discord.gg/Eru89Rk
donation_platforms:
title: "Donate"
description: "Your support, whether a single gift or ongoing commitment, fuels our efforts to create an inclusive tech industry and provides consistent opportunities for learning and growth for members of groups underrepresented in the tech industry."
description: "Your supportwhether through a one-time gift or ongoing commitment—drives our mission to create a more inclusive tech industry. It enables us to provide continuous learning opportunities and empower individuals from underrepresented groups to grow and thrive in tech."
link: "Find out how else to support us"
donation_form:
title: "Use the donation page"
text: "Consider making a lasting impact through codebar with a one-time donation or a monthly recurring contribution."
text: "Make a lasting impact with codebar by giving a one-time donation or committing to a monthly contribution."
image_alt: "codebar logo"
github_sponsors:
title: "Github Sponsors"
text: "Support codebar's mission directly through GitHub Sponsors. Join us in shaping the future of technology through your generous donation."
text: "Support codebars mission directly through GitHub Sponsors and help shape the future of technology with your generous donation."
image_alt: "Github Sponsors logo"
open_collective:
title: "Open Collective"
Expand Down
Loading