Improve translation of dashboard and list
This commit is contained in:
@@ -32,21 +32,18 @@ export const FirmRoutes = () => {
|
||||
}
|
||||
|
||||
const FirmHome = () => {
|
||||
const { currentFirm } = useContext(FirmContext);
|
||||
const { translate: t } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
<h1>This is la firme {currentFirm.instance} / {currentFirm.firm}</h1>
|
||||
<h1>{t("dashboard.title")}</h1>
|
||||
<ul>
|
||||
<li><Link to="entities">Entitées</Link></li>
|
||||
<li><Link to="provisions">Templates de Clauses</Link></li>
|
||||
<li><Link to="templates">Templates de Contrats</Link></li>
|
||||
<li><Link to="drafts">Brouillons</Link></li>
|
||||
<li><Link to="contracts">Contrats</Link></li>
|
||||
<li><Link to="entities">{t("schemas.entity.resource_plural")}</Link></li>
|
||||
<li><Link to="provisions">{t("schemas.provision_template.resource_plural")}</Link></li>
|
||||
<li><Link to="templates">{t("schemas.contract_template.resource_plural")}</Link></li>
|
||||
<li><Link to="drafts">{t("schemas.contract_draft.resource_plural")}</Link></li>
|
||||
<li><Link to="contracts">{t("schemas.contract.resource_plural")}</Link></li>
|
||||
</ul>
|
||||
</>
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user