// SPDX-FileCopyrightText: 2026 Progmasoft // SPDX-License-Identifier: AGPL-3.0-or-later import type { Metadata } from "next"; import { getLocale } from "@/lib/locale.server"; import { getLicenseMessages, licensePages, licensePageTitle, pmSplIdentifiers, } from "@/lib/license-messages"; import { LicenseFrame, LicenseTexts } from "./LicenseFrame"; export async function generateMetadata(): Promise { const text = getLicenseMessages(await getLocale()); return { title: text.metadataTitle, description: text.metadataDescription, alternates: { canonical: "https://license.progmasoft.com/" }, }; } /** license.progmasoft.com: the licenses Progmasoft wrote. */ export default async function LicensesPage() { const locale = await getLocale(); const text = getLicenseMessages(locale); return (

{text.name}

{text.index.pmSpl}

{text.identifiers}{" "} {pmSplIdentifiers.map((id, index) => ( {index > 0 ? ", " : null} {id} ))}

{text.texts}

); }