diff options
3 files changed, 22 insertions, 9 deletions
diff --git a/app/[lng]/partners/(partners)/techsales/rfq-offshore-hull/page.tsx b/app/[lng]/partners/(partners)/techsales/rfq-offshore-hull/page.tsx index ee31c95b..1254e992 100644 --- a/app/[lng]/partners/(partners)/techsales/rfq-offshore-hull/page.tsx +++ b/app/[lng]/partners/(partners)/techsales/rfq-offshore-hull/page.tsx @@ -8,12 +8,16 @@ import { LogIn } from "lucide-react"; import { Shell } from "@/components/shell"; import { VendorQuotationsTable } from "@/lib/techsales-rfq/vendor-response/table/vendor-quotations-table"; import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n"; + export const metadata: Metadata = { title: "기술영업 해양HULL RFQ 관리", description: "기술영업 해양HULL RFQ를 관리합니다.", }; -export default async function VendorQuotationsHullPage() { +export default async function VendorQuotationsHullPage(props: { params: { lng: string } }) { + const { lng } = props.params + const { t } = await useTranslation(lng, 'menu') // 세션 확인 const session = await getServerSession(authOptions); @@ -62,11 +66,11 @@ export default async function VendorQuotationsHullPage() { <div className="flex-shrink-0 flex flex-col gap-4 md:flex-row md:items-center md:justify-between"> <div> <div className="flex items-center gap-2"> - <h1 className="text-2xl font-bold tracking-tight">기술영업 해양HULL RFQ</h1> + <h1 className="text-2xl font-bold tracking-tight">{t('menu.vendor.sales.offshore_hull_rfq')}</h1> <InformationButton pagePath="partners/techsales/rfq-offshore-hull" /> </div> <p className="text-muted-foreground"> - 할당받은 해양HULL RFQ에 대한 견적서를 작성하고 관리합니다. + {t('menu.vendor.sales.offshore_hull_rfq_desc')} </p> </div> </div> diff --git a/app/[lng]/partners/(partners)/techsales/rfq-offshore-top/page.tsx b/app/[lng]/partners/(partners)/techsales/rfq-offshore-top/page.tsx index 36697a3f..467f2bdb 100644 --- a/app/[lng]/partners/(partners)/techsales/rfq-offshore-top/page.tsx +++ b/app/[lng]/partners/(partners)/techsales/rfq-offshore-top/page.tsx @@ -8,13 +8,17 @@ import { LogIn } from "lucide-react"; import { Shell } from "@/components/shell"; import { InformationButton } from "@/components/information/information-button" import { VendorQuotationsTable } from "@/lib/techsales-rfq/vendor-response/table/vendor-quotations-table"; +import { useTranslation } from "@/i18n"; + export const metadata: Metadata = { title: "기술영업 해양TOP RFQ 관리", description: "기술영업 해양TOP RFQ를 관리합니다.", }; -export default async function VendorQuotationsTopPage() { +export default async function VendorQuotationsTopPage(props: { params: { lng: string } }) { + const { lng } = props.params + const { t } = await useTranslation(lng, 'menu') // 세션 확인 const session = await getServerSession(authOptions); @@ -64,11 +68,11 @@ export default async function VendorQuotationsTopPage() { <div className="flex-shrink-0 flex flex-col gap-4 md:flex-row md:items-center md:justify-between"> <div> <div className="flex items-center gap-2"> - <h1 className="text-2xl font-bold tracking-tight">기술영업 해양TOP RFQ</h1> + <h1 className="text-2xl font-bold tracking-tight">{t('menu.vendor.sales.offshore_top_rfq')}</h1> <InformationButton pagePath="partners/techsales/rfq-offshore-top" /> </div> <p className="text-muted-foreground"> - 할당받은 해양TOP RFQ에 대한 견적서를 작성하고 관리합니다. + {t('menu.vendor.sales.offshore_top_rfq_desc')} </p> </div> </div> diff --git a/app/[lng]/partners/(partners)/techsales/rfq-ship/page.tsx b/app/[lng]/partners/(partners)/techsales/rfq-ship/page.tsx index bd3291f4..271d62c7 100644 --- a/app/[lng]/partners/(partners)/techsales/rfq-ship/page.tsx +++ b/app/[lng]/partners/(partners)/techsales/rfq-ship/page.tsx @@ -9,12 +9,17 @@ import { LogIn } from "lucide-react"; import { Shell } from "@/components/shell"; import { VendorQuotationsTable } from "@/lib/techsales-rfq/vendor-response/table/vendor-quotations-table"; import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n"; + + export const metadata: Metadata = { title: "기술영업 조선 RFQ 관리", description: "기술영업 조선 RFQ를 관리합니다.", }; -export default async function VendorQuotationsPage() { +export default async function VendorQuotationsPage(props: { params: { lng: string } }) { + const { lng } = props.params + const { t } = await useTranslation(lng, 'menu') // 세션 확인 const session = await getServerSession(authOptions); console.log(session, "session") @@ -67,11 +72,11 @@ export default async function VendorQuotationsPage() { <div className="flex-shrink-0 flex flex-col gap-4 md:flex-row md:items-center md:justify-between"> <div> <div className="flex items-center gap-2"> - <h1 className="text-2xl font-bold tracking-tight">기술영업 조선 RFQ</h1> + <h1 className="text-2xl font-bold tracking-tight">{t('menu.vendor.sales.ship_rfq')}</h1> <InformationButton pagePath="partners/techsales/rfq-ship" /> </div> <p className="text-muted-foreground"> - 할당받은 조선 RFQ에 대한 견적서를 작성하고 관리합니다. + {t('menu.vendor.sales.ship_rfq_desc')} </p> </div> </div> |
