Skip to content

Commit 3c969d4

Browse files
authored
Merge pull request #32 from keepsimpleio/chore/our-proects-hy
Chore/our projects hy
2 parents 61c2f4c + dcb99da commit 3c969d4

5 files changed

Lines changed: 13 additions & 2 deletions

File tree

src/components/OurProjectsModal/OurProjectsModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const OurProjectsModal: FC<OurProjectsModalProps> = ({
2424
}) => {
2525
const router = useRouter();
2626
const { locale } = router as TRouter;
27-
const { inDevTxt } = ourProjectsData[locale || 'en'];
27+
const { inDevTxt, doneTxt } = ourProjectsData[locale || 'en'];
2828
return (
2929
<Modal
3030
onClick={onClose}
@@ -154,7 +154,7 @@ const OurProjectsModal: FC<OurProjectsModalProps> = ({
154154

155155
<div className={styles.doneBtn}>
156156
<Button
157-
label={'Done'}
157+
label={doneTxt}
158158
onClick={() => onClose()}
159159
type={'primary'}
160160
dataCy={'our-projects-close-button'}

src/data/ourProjects/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const en = {
22
inDevTxt: 'In Development',
3+
doneTxt: 'Done',
34
};
45

56
export default en;

src/data/ourProjects/hy.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const hy = {
2+
inDevTxt: 'In Development',
3+
doneTxt: 'Done',
4+
};
5+
6+
export default hy;

src/data/ourProjects/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import en from './en';
22
import ru from './ru';
3+
import hy from './hy';
34

45
const locales = {
56
en,
67
ru,
8+
hy,
79
} as const satisfies {
810
en: typeof en;
911
ru: typeof ru;
12+
hy: typeof en;
1013
};
1114

1215
export default locales;

src/data/ourProjects/ru.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const ru = {
22
inDevTxt: 'В разработке',
3+
doneTxt: 'Готово',
34
};
45

56
export default ru;

0 commit comments

Comments
 (0)