Skip to content

Commit

Permalink
fix language
Browse files Browse the repository at this point in the history
  • Loading branch information
Janderson Souza Matias authored and Janderson Souza Matias committed Feb 2, 2024
1 parent 89a0319 commit 988989f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/i18n/langs/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const enTranslation = {
actions: 'Actions',
activate: 'Activate',
deactivate: 'Deactivate',
total_items: 'Total items: ',
save: 'Save',
edit: 'Edit',
view: 'View',
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/langs/np.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const npTranslation = {
actions: 'क्रियाहरू',
activate: 'सक्रिय गर्नुहोस्',
deactivate: 'निष्क्रिय गर्नुहोस्',
total_items: 'कुल वस्तुहरू: ',
save: 'बचत गर्नुहोस्',
edit: 'सम्पादन गर्नुहोस्',
view: 'हेर्नुहोस्',
Expand Down Expand Up @@ -261,6 +262,7 @@ const npTranslation = {
edit: 'सम्पादन गर्नुहोस्',
total_schools: 'कुल विद्यालय: {{ value }}',
placeholder: 'क्षेत्रको नाम',
delete: 'मेटाउन',
import: 'csv आयात गर्नुहोस्',
'import-title': 'क्षेत्र फाइल आयात गर्नुहोस्',
0: {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Settings/Regions/RegionImportModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const RegionImportModal: React.FC<Props> = ({ isOpen, onClose }) => {
)}

<ModalFooter>
{!!arrayData.length && <Text mr="auto">{'Total items: ' + arrayData.length}</Text>}
{!!arrayData.length && <Text mr="auto">{t('common.total_items') + arrayData.length}</Text>}
{!response && (
<Button variant="ghost" onClick={onCancel} isDisabled={isLoading}>
{t('common.cancel')}
Expand Down

0 comments on commit 988989f

Please sign in to comment.