feat(locales): dynamically update copyright year (#2583)

This commit is contained in:
Suemor
2025-01-16 16:26:14 +08:00
committed by GitHub
parent 180aa667d5
commit a231e178c1
7 changed files with 9 additions and 7 deletions
@@ -64,7 +64,9 @@ export const SettingAbout = () => {
</div>
</div>
<p className="mt-6 text-balance text-sm">{t("about.licenseInfo", { appName: APP_NAME })}</p>
<p className="mt-6 text-balance text-sm">
{t("about.licenseInfo", { appName: APP_NAME, currentYear: new Date().getFullYear() })}
</p>
<p className="mt-3 text-balance text-sm">
<Trans
ns="settings"