Skip to content

Commit 5434fce

Browse files
fix: i18n keysets
1 parent b257f11 commit 5434fce

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/components/ProblemFilter/ProblemFilter.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ export function ProblemFilter({value, onChange, className}: ProblemFilterProps)
2424
onUpdate={handleValueChange}
2525
className={className}
2626
>
27-
<SegmentedRadioGroup.Option value={'false'}>{i18n('all')}</SegmentedRadioGroup.Option>
27+
<SegmentedRadioGroup.Option value={'false'}>
28+
{i18n('value_all')}
29+
</SegmentedRadioGroup.Option>
2830
<SegmentedRadioGroup.Option value={'true'}>
29-
{i18n('with-problems')}
31+
{i18n('value_with-problems')}
3032
</SegmentedRadioGroup.Option>
3133
</SegmentedRadioGroup>
3234
);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"all": "All",
3-
"with-problems": "With problems"
2+
"value_all": "All",
3+
"value_with-problems": "With problems"
44
}

0 commit comments

Comments
 (0)