Skip to content

Commit

Permalink
Remove translated strings
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBroddin committed Oct 1, 2024
1 parent d315bea commit 677274d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Button } from '@wordpress/components';
import { useTranslate } from 'i18n-calypso';
import FormattedHeader from 'calypso/components/formatted-header';
import HundredYearPlanStepWrapper from '../hundred-year-plan-step-wrapper';
import type { Step } from '../../types';
Expand All @@ -8,7 +7,6 @@ import './styles.scss';

const HundredYearPlanDIYOrDIFM: Step = function HundredYearPlanDIYOrDIFM( { navigation, flow } ) {
const { submit } = navigation;
const translate = useTranslate();

return (
<HundredYearPlanStepWrapper
Expand All @@ -21,8 +19,8 @@ const HundredYearPlanDIYOrDIFM: Step = function HundredYearPlanDIYOrDIFM( { navi
formattedHeader={
<FormattedHeader
brandFont
headerText={ translate( 'TODO: title' ) }
subHeaderText={ translate( 'TODO: header' ) }
headerText="TODO: title"
subHeaderText="TODO: header"
subHeaderAlign="center"
/>
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import config from '@automattic/calypso-config';
import { UserSelect } from '@automattic/data-stores';
import { useSelect } from '@wordpress/data';
import { useTranslate } from 'i18n-calypso';
import FormattedHeader from 'calypso/components/formatted-header';
import { USER_STORE } from '../../../../stores';
import CalendlyWidget from '../components/calendy-widget';
Expand All @@ -16,7 +15,6 @@ const HundredYearPlanScheduleAppointment: Step = function HundredYearPlanSchedul
} ) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { submit } = navigation;
const translate = useTranslate();

const currentUser = useSelect(
( select ) => ( select( USER_STORE ) as UserSelect ).getCurrentUser(),
Expand Down Expand Up @@ -48,8 +46,8 @@ const HundredYearPlanScheduleAppointment: Step = function HundredYearPlanSchedul
formattedHeader={
<FormattedHeader
brandFont
headerText={ translate( 'TODO: title' ) }
subHeaderText={ translate( 'TODO: header' ) }
headerText="TODO: title"
subHeaderText="TODO: header"
subHeaderAlign="center"
/>
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import { useTranslate } from 'i18n-calypso';
import FormattedHeader from 'calypso/components/formatted-header';
import HundredYearPlanStepWrapper from '../hundred-year-plan-step-wrapper';
import type { Step } from '../../types';

import './styles.scss';

const HundredYearPlanThankYou: Step = function HundredYearPlanThankYou( { flow } ) {
const translate = useTranslate();

return (
<HundredYearPlanStepWrapper
stepContent={
Expand All @@ -18,8 +15,8 @@ const HundredYearPlanThankYou: Step = function HundredYearPlanThankYou( { flow }
formattedHeader={
<FormattedHeader
brandFont
headerText={ translate( 'TODO: Thank You title' ) }
subHeaderText={ translate( 'TODO: Thank You header' ) }
headerText="TODO: Thank You title"
subHeaderText="TODO: Thank You header"
subHeaderAlign="center"
/>
}
Expand Down

0 comments on commit 677274d

Please sign in to comment.