Fix i18n: use common:key namespace syntax for cross-namespace keys

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-29 10:19:11 +02:00
parent 070a316164
commit 715b272395
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -192,7 +192,7 @@ export default function Settings({ loaderData }: Route.ComponentProps) {
disabled={profileFetcher.state !== "idle"}
className="rounded-md bg-blue-600 px-4 py-2 text-sm text-white hover:bg-blue-700 disabled:opacity-50"
>
{profileFetcher.state !== "idle" ? t("common.loading") : t("common.save")}
{profileFetcher.state !== "idle" ? t("common:loading") : t("common:save")}
</button>
{profileSaved && (
<p className="text-sm text-green-600">{t("settings.profile.saved")}</p>
@ -238,7 +238,7 @@ export default function Settings({ loaderData }: Route.ComponentProps) {
type="submit"
className="text-sm text-red-600 hover:text-red-800"
>
{t("common.delete")}
{t("common:delete")}
</button>
</deleteFetcher.Form>
</div>
@ -310,7 +310,7 @@ export default function Settings({ loaderData }: Route.ComponentProps) {
onClick={() => { setShowEmailForm(false); setNewEmail(""); }}
className="text-sm text-gray-500 hover:text-gray-700"
>
{t("common.cancel")}
{t("common:cancel")}
</button>
</emailFetcher.Form>
)}
@ -362,7 +362,7 @@ export default function Settings({ loaderData }: Route.ComponentProps) {
onClick={() => { setDeleteConfirm(false); setDeleteUsername(""); }}
className="text-sm text-gray-500 hover:text-gray-700"
>
{t("common.cancel")}
{t("common:cancel")}
</button>
</div>
</div>