Skip to content

Commit ccc1514

Browse files
colinhacksColin McDonnell
andauthored
fix(locales): add the credit_card key to the seven locales missing it (#6424)
#5931 backfilled credit_card across every locale that existed when it landed, so the only gaps are locales added after it: bn, ckb, hi, kn, nn, sk and tk. The fall-through prints the raw snake_case key, which is the one FormatDictionary miss that reads as broken rather than merely untranslated. Each translation reuses the word the same file already uses for e164, so it matches that locale's own vocabulary rather than a sibling's. Co-authored-by: Colin McDonnell <colin@colinhacks.com>
1 parent 73bacbb commit ccc1514

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

packages/zod/src/v4/locales/bn.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const error: () => errors.$ZodErrorMap = () => {
4545
base64url: "base64url-এনকোডেড স্ট্রিং",
4646
json_string: "JSON স্ট্রিং",
4747
e164: "E.164 নম্বর",
48+
credit_card: "ক্রেডিট কার্ড নম্বর",
4849
jwt: "JWT",
4950
template_literal: "ইনপুট",
5051
};

packages/zod/src/v4/locales/ckb.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const error: () => errors.$ZodErrorMap = () => {
4545
base64url: "دەقی base64url",
4646
json_string: "دەقی JSON",
4747
e164: "ژمارەی E.164",
48+
credit_card: "ژمارەی کارتی کرێدیت",
4849
jwt: "JWT",
4950
template_literal: "تێکردە",
5051
};

packages/zod/src/v4/locales/hi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const error: () => errors.$ZodErrorMap = () => {
4545
base64url: "Base64URL-एन्कोडेड स्ट्रिंग",
4646
json_string: "JSON स्ट्रिंग",
4747
e164: "E.164 संख्या",
48+
credit_card: "क्रेडिट कार्ड संख्या",
4849
jwt: "JWT",
4950
template_literal: "इनपुट",
5051
};

packages/zod/src/v4/locales/kn.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const error: () => errors.$ZodErrorMap = () => {
4545
base64url: "base64url-encodedಸ್ಟ್ರಿಂಗ್",
4646