Skip to content

Commit

Permalink
Merge pull request #207 from ltagliamonte/fix_some_translations
Browse files Browse the repository at this point in the history
Translation improvement
  • Loading branch information
eko authored Apr 30, 2023
2 parents 213b471 + 8b6b881 commit 23688ec
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion frontend/src/component/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function DataTable<T>({
const response = await fetcher(paginationModel.page+1, paginationModel.pageSize, filter, sort);

if (isAPIError(response)) {
toast.error(`Impossible de charger les données : ${response.message}`);
toast.error(`Unable to load data : ${response.message}`);
} else {
setTotal(response.total);
setRows(response.data);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/component/MultipleAutocompleteInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default function MultipleAutocompleteInput({
))}
</List>
) : (
<p style={{ margin: '10px 0 0 2px' }}>Aucun élément sélectionné.</p>
<p style={{ margin: '10px 0 0 2px' }}>No item selected.</p>
)}
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/hook/confirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const useConfirm = () => {
</DialogContent>
<DialogActions>
<Button variant='contained' onClick={handleConfirm}>OK</Button>
<Button onClick={handleCancel}>Annuler</Button>
<Button onClick={handleCancel}>Cancel</Button>
</DialogActions>
</Dialog>
);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/page/clients/component/ClientCreateOrEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function ClientCreateOrEdit() {
startIcon={<SaveIcon />}
sx={{ marginTop: 2 }}
>
Enregistrer
Submit
</LoadingButton>

<Button
Expand All @@ -115,7 +115,7 @@ export default function ClientCreateOrEdit() {
onClick={() => navigate('/clients')}
sx={{ marginLeft: 2, marginTop: 2 }}
>
Retour
Cancel
</Button>
</Grid>
</form>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/page/clients/component/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const ListColumns = ({
Edit
</Button>

<Tooltip title='Supprimer' placement='right'>
<Tooltip title='Delete' placement='right'>
<Button
variant='text'
size='small'
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/page/policies/component/PolicyCreateOrEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default function PolicyCreateOrEdit() {
startIcon={<SaveIcon />}
sx={{ marginTop: 2 }}
>
Enregistrer
Submit
</LoadingButton>

<Button
Expand All @@ -225,7 +225,7 @@ export default function PolicyCreateOrEdit() {
onClick={() => navigate('/policies')}
sx={{ marginLeft: 2, marginTop: 2 }}
>
Retour
Cancel
</Button>
</Grid>
</form>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/page/policies/component/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const ListColumns = ({
Edit
</Button>

<Tooltip title='Supprimer' placement='right'>
<Tooltip title='Delete' placement='right'>
<Button
variant='text'
size='small'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function PrincipalCreateOrEdit() {
startIcon={<SaveIcon />}
sx={{ marginTop: 2 }}
>
Enregistrer
Submit
</LoadingButton>

<Button
Expand All @@ -162,7 +162,7 @@ export default function PrincipalCreateOrEdit() {
onClick={() => navigate('/principals')}
sx={{ marginLeft: 2, marginTop: 2 }}
>
Retour
Cancel
</Button>
</Grid>
</form>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/page/principals/component/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const ListColumns = ({
</span>
</Tooltip>
) : (
<Tooltip title='Supprimer' placement='right'>
<Tooltip title='Delete' placement='right'>
<Button
variant='text'
size='small'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function ResourceCreateOrEdit() {
startIcon={<SaveIcon />}
sx={{ marginTop: 2 }}
>
Enregistrer
Submit
</LoadingButton>

<Button
Expand All @@ -134,7 +134,7 @@ export default function ResourceCreateOrEdit() {
onClick={() => navigate('/resources')}
sx={{ marginLeft: 2, marginTop: 2 }}
>
Retour
Cancel
</Button>
</Grid>
</form>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/page/resources/component/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const ListColumns = ({
Edit
</Button>

<Tooltip title='Supprimer' placement='right'>
<Tooltip title='Delete' placement='right'>
<Button
variant='text'
size='small'
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/page/roles/component/RoleCreateOrEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default function RoleCreateOrEdit() {
startIcon={<SaveIcon />}
sx={{ marginTop: 2 }}
>
Enregistrer
Submit
</LoadingButton>

<Button
Expand All @@ -170,7 +170,7 @@ export default function RoleCreateOrEdit() {
onClick={() => navigate('/roles')}
sx={{ marginLeft: 2, marginTop: 2 }}
>
Retour
Cancel
</Button>
</Grid>
</form>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/page/roles/component/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const ListColumns = ({
Edit
</Button>

<Tooltip title='Supprimer' placement='right'>
<Tooltip title='Delete' placement='right'>
<Button
variant='text'
size='small'
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/page/users/component/UserCreateOrEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function UserCreateOrEdit() {
startIcon={<SaveIcon />}
sx={{ marginTop: 2 }}
>
Enregistrer
Submit
</LoadingButton>

<Button
Expand All @@ -107,7 +107,7 @@ export default function UserCreateOrEdit() {
onClick={() => navigate('/users')}
sx={{ marginLeft: 2, marginTop: 2 }}
>
Retour
Cancel
</Button>
</Grid>
</form>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/page/users/component/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const ListColumns = ({
headerName: 'Actions',
renderCell: (params: GridRenderCellParams) => (
<>
<Tooltip title='Supprimer' placement='right'>
<Tooltip title='Delete' placement='right'>
<Button
variant='text'
size='small'
Expand Down

0 comments on commit 23688ec

Please sign in to comment.