Skip to content

Commit

Permalink
Fix translation for 'Until cancelled' in SubscriptionItem component
Browse files Browse the repository at this point in the history
  • Loading branch information
b-l-i-n-d committed Jan 23, 2025
1 parent e11ec1b commit 6c64baa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export default function SubscriptionItem({
{...controllerProps}
label={__('Billing Cycles', 'tutor')}
placeholder={__('Select or type times to renewing the plan', 'tutor')}
content={controllerProps.field.value !== 'Until cancelled' && __('Times', 'tutor')}
content={controllerProps.field.value !== __('Until cancelled', 'tutor') && __('Times', 'tutor')}
contentPosition="right"
type="number"
presetOptions={lifetimeOptions}
Expand Down

0 comments on commit 6c64baa

Please sign in to comment.