mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
delete button text was not translated
This commit is contained in:
@ -14,6 +14,9 @@
|
||||
"buttons": {
|
||||
"add": {
|
||||
"label": "Add"
|
||||
},
|
||||
"delete": {
|
||||
"label": "Delete"
|
||||
}
|
||||
},
|
||||
"printDialog": {
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import Checkbox from './Checkbox';
|
||||
import { deleteItem, moveItemUp, moveItemDown } from '../utils';
|
||||
|
||||
const ItemActions = ({ dispatch, first, identifier, item, last, onChange, type }) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<div className="flex justify-between">
|
||||
<div className="flex items-center">
|
||||
@ -22,7 +25,7 @@ const ItemActions = ({ dispatch, first, identifier, item, last, onChange, type }
|
||||
>
|
||||
<div className="flex items-center">
|
||||
<i className="material-icons mr-2 font-bold text-base">delete</i>
|
||||
<span className="text-sm">Delete</span>
|
||||
<span className="text-sm">{t('buttons.delete.label')}</span>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user