From 4f02b4cf58759e7baddf99dde0e835a3fab9c873 Mon Sep 17 00:00:00 2001 From: Fabian Andres Parra Sanchez Date: Mon, 20 Jul 2026 07:33:54 -0500 Subject: [PATCH] fix(i18n): strip className from scopesHint rich tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit next-intl rich tags must be attribute-less. The className on the 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 element still renders at default size; the smaller styling can be restored globally via CSS ('code { font-size: ... }') if desired. Part of #375 --- messages/en.json | 2 +- messages/ko.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/messages/en.json b/messages/en.json index a3dd25f..846be95 100644 --- a/messages/en.json +++ b/messages/en.json @@ -1600,7 +1600,7 @@ "nameLabel": "Name", "namePlaceholder": "e.g. Zapier automation", "scopesLabel": "Scopes", - "scopesHint": "A key with no scopes can still call GET /api/v1/me to verify it works.", + "scopesHint": "A key with no scopes can still call GET /api/v1/me to verify it works.", "cancel": "Cancel", "creating": "Creating…", "createKey": "Create key", diff --git a/messages/ko.json b/messages/ko.json index 7c54fc9..6d0b1d5 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -1598,7 +1598,7 @@ "nameLabel": "이름", "namePlaceholder": "예: Zapier 자동화", "scopesLabel": "권한 범위", - "scopesHint": "권한 범위가 없는 키도 GET /api/v1/me를 호출해 동작을 확인할 수 있습니다.", + "scopesHint": "권한 범위가 없는 키도 GET /api/v1/me를 호출해 동작을 확인할 수 있습니다.", "cancel": "취소", "creating": "만드는 중…", "createKey": "키 생성",