Skip to content

Commit

Permalink
refactor: add context to title i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloiankoski committed Mar 21, 2024
1 parent 74f5ddf commit 98a37df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/EventTickets/resources/components/EventTicketsList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {__} from '@wordpress/i18n';
import {_x} from '@wordpress/i18n';
import EventTicketsListItem from './EventTicketsListItem';
import {EventTicketsListProps} from './types';

Expand All @@ -15,7 +15,9 @@ export default function EventTicketsList({

return (
<div className={'givewp-event-tickets__tickets'}>
<h4>{__('Select tickets', 'give')}</h4>
<h4>
{_x('Select tickets', 'Title above the list of ticket types in the Event Tickets template', 'give')}
</h4>
{ticketTypes.map((ticketType) => {
return (
<EventTicketsListItem
Expand Down

0 comments on commit 98a37df

Please sign in to comment.