Skip to content

Commit

Permalink
fix: order status translation
Browse files Browse the repository at this point in the history
  • Loading branch information
acnormun committed Feb 10, 2025
1 parent f5fcb20 commit 4f5276b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/settings/OrderStatusActive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ export function PreferencesOrderStatusActive() {
<Checkbox
checked={hasTestContactNumber}
onChange={(e: ChangeEvent<HTMLInputElement>) => setHasTestContactNumber(e.target.value as unknown as boolean)}
aria-label={t('agents.categories.active.order_status.settings.is_test_contact_number.title')}
aria-label={t('agents.categories.active.order-status.settings.is_test_contact_number.title')}
>
{t('agents.categories.active.order_status.settings.is_test_contact_number.title')}
{t('agents.categories.active.order-status.settings.is_test_contact_number.title')}
</Checkbox>

<FieldDescription style={{ marginLeft: 'var(--sl-space-7)' }}>
{t('agents.categories.active.order_status.settings.is_test_contact_number.description')}
{t('agents.categories.active.order-status.settings.is_test_contact_number.description')}
</FieldDescription>
</Field>

Expand All @@ -97,7 +97,7 @@ export function PreferencesOrderStatusActive() {
display: 'flex',
marginTop: 'var(--sl-space-6)',
}}>
<Label>{t('agents.categories.active.order_status.settings.test_contact_number.label')}</Label>
<Label>{t('agents.categories.active.order-status.settings.test_contact_number.label')}</Label>

<Input
name="contact-number"
Expand All @@ -116,13 +116,13 @@ export function PreferencesOrderStatusActive() {
<Checkbox
checked={hasSelectedSellers}
onChange={(e: ChangeEvent<HTMLInputElement>) => setHasSelectedSellers(e.target.value as unknown as boolean)}
aria-label={t('agents.categories.active.order_status.settings.is_selected_sellers.title')}
aria-label={t('agents.categories.active.order-status.settings.is_selected_sellers.title')}
>
{t('agents.categories.active.order_status.settings.is_selected_sellers.title')}
{t('agents.categories.active.order-status.settings.is_selected_sellers.title')}
</Checkbox>

<FieldDescription style={{ marginLeft: 'var(--sl-space-7)' }}>
{t('agents.categories.active.order_status.settings.is_selected_sellers.description')}
{t('agents.categories.active.order-status.settings.is_selected_sellers.description')}
</FieldDescription>
</Field>

Expand All @@ -134,14 +134,14 @@ export function PreferencesOrderStatusActive() {
marginTop: 'var(--sl-space-6)',
}}
>
<Label>{t('agents.categories.active.order_status.settings.selected_sellers.label')}</Label>
<Label>{t('agents.categories.active.order-status.settings.selected_sellers.label')}</Label>

<Select
value={selectedSellers}
setValue={updateSelectedSellers}
messages={
{
placeholder: t('agents.categories.active.order_status.settings.selected_sellers.placeholder')
placeholder: t('agents.categories.active.order-status.settings.selected_sellers.placeholder')
}
}
style={{ width: '100%' }}
Expand Down

0 comments on commit 4f5276b

Please sign in to comment.