Skip to content

Commit

Permalink
add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomzy2223 committed Jan 13, 2025
1 parent a661eb5 commit 040e6ca
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/dashboard/hiiq-table/pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function TablePagination<T>({
className="flex-shrink-0"
>
<ChevronLeft className="h-4 w-4" />
<span className="hidden lg:inline ml-1">Previous</span>
<span className="hidden lg:inline ml-1">{t('previous')}</span>
</Button>

<div className="hidden lg:flex items-center gap-2">
Expand Down Expand Up @@ -105,7 +105,7 @@ export function TablePagination<T>({
disabled={currentPage === totalPages}
className="flex-shrink-0"
>
<span className="hidden lg:inline mr-1">Next</span>
<span className="hidden lg:inline mr-1">{t('next')}</span>
<ChevronRight className="h-4 w-4" />
</Button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/lock/RewardCalculator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const RewardCalculator = ({
/>
<InputRightElement>
<HStack mr={6}>
<Text fontWeight="bold">Years</Text>
<Text fontWeight="bold">{t('years')}</Text>
</HStack>
</InputRightElement>
</InputGroup>
Expand Down
3 changes: 3 additions & 0 deletions src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
"searchPlaceholder": "Search by address...",
"page": "Page",
"of": "of",
"previous": "Previous",
"next": "Next",
"hiiqTableStatus": {
"searching": "Searching...",
"noResults": "No results."
Expand Down Expand Up @@ -154,6 +156,7 @@
"supply": "Supply",
"amountToLock": "Amount of IQ to lock",
"yearsToLock": "No of years to lock the IQ (4 years max)",
"years": "Years",
"totalReward": "Total Reward"
},
"networkError": {
Expand Down
3 changes: 3 additions & 0 deletions src/messages/kr.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
"searchPlaceholder": "주소로 검색...",
"page": "페이지",
"of": "",
"previous": "이전",
"next": "다음",
"hiiqTableStatus": {
"searching": "검색 중...",
"noResults": "결과 없음."
Expand Down Expand Up @@ -154,6 +156,7 @@
"supply": "공급량",
"amountToLock": "잠글 IQ 수량",
"yearsToLock": "IQ를 잠글 연수 (최대 4년)",
"years": "",
"totalReward": "총 보상"
},
"networkError": {
Expand Down
3 changes: 3 additions & 0 deletions src/messages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
"searchPlaceholder": "按地址搜索...",
"page": "",
"of": "",
"previous": "이전",
"next": "다음",
"hiiqTableStatus": {
"searching": "搜索中...",
"noResults": "无搜索结果。"
Expand Down Expand Up @@ -154,6 +156,7 @@
"supply": "供应量",
"amountToLock": "要锁定的IQ数量",
"yearsToLock": "锁定IQ的年数(最多4年)",
"years": "",
"totalReward": "总奖励"
},
"networkError": {
Expand Down

0 comments on commit 040e6ca

Please sign in to comment.