Skip to content

Commit 083847e

Browse files
committed
fix: add missing words to json file
1 parent ba48848 commit 083847e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/containers/CategoryForm/CategoryForm.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ const CategoryForm = ({ type }: IProps) => {
7575
<div className={styles.categoryForm}>
7676
<FormProvider {...methods}>
7777
<form className={styles.form}>
78-
<TextField name='title' label='Category name' />
79-
<ColorPicker name='color' label='Color' />
78+
<TextField name='title' label={t('category_name')} />
79+
<ColorPicker name='color' label={t('color')} />
8080
</form>
8181
</FormProvider>
8282
</div>

src/lib/twa-sdk.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { InitOptions } from '@tma.js/sdk';
22

33
export const sdkInitOptions: InitOptions = {
4-
// cssVars: true,
4+
cssVars: true,
55
};

src/translations/en.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"completed": "completed",
77
"left": "left",
88
"new_task": "New task",
9+
"color": "Color",
910
"new_category": "New category",
1011
"new_todo_list": "New todo list",
1112
"category_name": "Category name",

0 commit comments

Comments
 (0)