fix(i18n): strip className from scopesHint <code> rich tag

next-intl rich tags must be attribute-less. The className on the
<code> wrapping 'GET /api/v1/me' was being silently dropped, so the
'text-[11px]' Tailwind utility was a phantom — the code rendered at
the surrounding text size anyway.

This strips the className from both en.json and ko.json so the rich
tag is parsed correctly. The <code> element still renders at default
size; the smaller styling can be restored globally via CSS
('code { font-size: ... }') if desired.

Part of #375
This commit is contained in:
Fabian Andres Parra Sanchez 2026-07-20 07:33:54 -05:00
parent 18b1b2943b
commit 4f02b4cf58
2 changed files with 2 additions and 2 deletions

View File

@ -1600,7 +1600,7 @@
"nameLabel": "Name",
"namePlaceholder": "e.g. Zapier automation",
"scopesLabel": "Scopes",
"scopesHint": "A key with no scopes can still call <code className=\"text-[11px]\">GET /api/v1/me</code> to verify it works.",
"scopesHint": "A key with no scopes can still call <code>GET /api/v1/me</code> to verify it works.",
"cancel": "Cancel",
"creating": "Creating…",
"createKey": "Create key",

View File

@ -1598,7 +1598,7 @@
"nameLabel": "이름",
"namePlaceholder": "예: Zapier 자동화",
"scopesLabel": "권한 범위",
"scopesHint": "권한 범위가 없는 키도 <code className=\"text-[11px]\">GET /api/v1/me</code>를 호출해 동작을 확인할 수 있습니다.",
"scopesHint": "권한 범위가 없는 키도 <code>GET /api/v1/me</code>를 호출해 동작을 확인할 수 있습니다.",
"cancel": "취소",
"creating": "만드는 중…",
"createKey": "키 생성",