Introduce prettier
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
import ProjectsPage from "./ProjectsPage";
|
||||
import { useTranslations } from "next-intl";
|
||||
import ProjectsPage from './ProjectsPage';
|
||||
import { useTranslations } from 'next-intl';
|
||||
|
||||
export default function Page(params: { locale: string }) {
|
||||
const t = useTranslations("Projects");
|
||||
const t = useTranslations('Projects');
|
||||
const messages = {
|
||||
projectList: t("projectList"),
|
||||
project: t("project"),
|
||||
newProject: t("new_project"),
|
||||
editProject: t("edit_project"),
|
||||
deleteProject: t("delete_project"),
|
||||
id: t("id"),
|
||||
name: t("name"),
|
||||
detail: t("detail"),
|
||||
lastUpdate: t("last_update"),
|
||||
actions: t("actions"),
|
||||
projectName: t("project_name"),
|
||||
projectDetail: t("project_detail"),
|
||||
close: t("close"),
|
||||
create: t("create"),
|
||||
update: t("update"),
|
||||
pleaseEnter: t("please_enter"),
|
||||
noProjectsFound: t("no_projects_found"),
|
||||
projectList: t('projectList'),
|
||||
project: t('project'),
|
||||
newProject: t('new_project'),
|
||||
editProject: t('edit_project'),
|
||||
deleteProject: t('delete_project'),
|
||||
id: t('id'),
|
||||
name: t('name'),
|
||||
detail: t('detail'),
|
||||
lastUpdate: t('last_update'),
|
||||
actions: t('actions'),
|
||||
projectName: t('project_name'),
|
||||
projectDetail: t('project_detail'),
|
||||
close: t('close'),
|
||||
create: t('create'),
|
||||
update: t('update'),
|
||||
pleaseEnter: t('please_enter'),
|
||||
noProjectsFound: t('no_projects_found'),
|
||||
};
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user