File tree Expand file tree Collapse file tree
components/OurProjectsModal Expand file tree Collapse file tree Original file line number Diff line number Diff 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' }
Original file line number Diff line number Diff line change 11const en = {
22 inDevTxt : 'In Development' ,
3+ doneTxt : 'Done' ,
34} ;
45
56export default en ;
Original file line number Diff line number Diff line change 1+ const hy = {
2+ inDevTxt : 'In Development' ,
3+ doneTxt : 'Done' ,
4+ } ;
5+
6+ export default hy ;
Original file line number Diff line number Diff line change 11import en from './en' ;
22import ru from './ru' ;
3+ import hy from './hy' ;
34
45const 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
1215export default locales ;
Original file line number Diff line number Diff line change 11const ru = {
22 inDevTxt : 'В разработке' ,
3+ doneTxt : 'Готово' ,
34} ;
45
56export default ru ;
You can’t perform that action at this time.
0 commit comments