Skip to content

Commit

Permalink
persnickety apostrophes, but only for UI copy
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomEtc committed Oct 3, 2023
1 parent 0fca502 commit 7532b12
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/state-calculator.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('template spec', () => {

cy.get('rewiring-america-state-calculator')
.shadow()
.contains("Incentives you're interested in");
.contains('Incentives youre interested in');

cy.get('rewiring-america-state-calculator')
.shadow()
Expand Down
6 changes: 3 additions & 3 deletions src/calculator-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export const formTemplate = (
gridClass: string = 'grid-3-2',
) => {
const labelSlot = html`<label slot="label">
Projects you're most interested in
<sl-tooltip content="Select the projects you're most interested in." hoist
Projects youre most interested in
<sl-tooltip content="Select the projects youre most interested in." hoist
>${questionIcon(tooltipSize, tooltipSize)}</sl-tooltip
></label
>`;
Expand Down Expand Up @@ -163,7 +163,7 @@ export const formTemplate = (
<label for="household_income">
Household income
<sl-tooltip
content="Enter your gross income (income before taxes). Include wages and salary plus other forms of income, including pensions, interest, dividends, and rental income. If you are married and file jointly, include your spouse's income"
content="Enter your gross income (income before taxes). Include wages and salary plus other forms of income, including pensions, interest, dividends, and rental income. If you are married and file jointly, include your spouses income."
hoist
>${questionIcon(tooltipSize, tooltipSize)}</sl-tooltip
>
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h1>Rewiring America Embeddable IRA Calculator</h1>
This page is a demonstration of our embeddable calculator, intended for
website owners to add to their own page to help their visitors
understand the electrification incentives offered as part of the
Inflation Reduction Act (IRA). If you're looking to evaluate the impact
Inflation Reduction Act (IRA). If youre looking to evaluate the impact
of IRA electrification incentives for your own home, please use
<a href="https://www.rewiringamerica.org/app/ira-calculator"
>our official IRA Calculator</a
Expand Down
4 changes: 2 additions & 2 deletions src/state-incentive-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ const atAGlanceTemplate = (response: APIResponse) => {
${summaryBoxTemplate(
'Upfront discounts',
`$${response.savings.pos_rebate.toLocaleString()}`,
"Money saved on a project's upfront costs.",
'Money saved on a projects upfront costs.',
)}
${summaryBoxTemplate(
'Rebates',
Expand Down Expand Up @@ -479,7 +479,7 @@ export const stateIncentivesTemplate = (

return html` ${atAGlanceTemplate(response)}
${gridTemplate(
"Incentives you're interested in",
'Incentives youre interested in',
selectedIncentives,
selectedProjects,
projectTab,
Expand Down
2 changes: 1 addition & 1 deletion src/working-copy.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h1>Rewiring America Embeddable IRA Calculator</h1>
This page is a demonstration of our embeddable calculator, intended for
website owners to add to their own page to help their visitors
understand the electrification incentives offered as part of the
Inflation Reduction Act (IRA). If you're looking to evaluate the impact
Inflation Reduction Act (IRA). If youre looking to evaluate the impact
of IRA electrification incentives for your own home, please use
<a href="https://www.rewiringamerica.org/app/ira-calculator"
>our official IRA Calculator</a
Expand Down

0 comments on commit 7532b12

Please sign in to comment.