Skip to content

fix: add missing translations for alpha validators#1510

Merged
deankarn merged 1 commit intogo-playground:masterfrom
shindonghwi:fix/add-missing-alpha-translations-1480
Dec 21, 2025
Merged

fix: add missing translations for alpha validators#1510
deankarn merged 1 commit intogo-playground:masterfrom
shindonghwi:fix/add-missing-alpha-translations-1480

Conversation

@shindonghwi
Copy link
Contributor

Summary

Add missing English translations for alpha-related validators:

  • alphaspace
  • alphanumspace
  • alphaunicode
  • alphanumunicode

These validators exist in baked_in.go but had no corresponding translations registered.

Changes

  • translations/en/en.go: Added 4 new translation entries
  • translations/en/en_test.go: Added test struct fields and expected translations

Test plan

  • go test ./translations/en/... passes
  • All existing tests pass

Fixes #1480

@shindonghwi shindonghwi requested a review from a team as a code owner December 18, 2025 08:50
Add translations for:
- alphaspace
- alphanumspace
- alphaunicode
- alphanumunicode

Languages updated:
- English (en)
- Korean (ko)

Fixes go-playground#1480
@shindonghwi shindonghwi force-pushed the fix/add-missing-alpha-translations-1480 branch from bb68770 to c175d4c Compare December 18, 2025 09:11
@coveralls
Copy link

coveralls commented Dec 18, 2025

Coverage Status

coverage: 73.749%. remained the same
when pulling c175d4c on shindonghwi:fix/add-missing-alpha-translations-1480
into 79fba72 on go-playground:master.

Copy link
Contributor

@deankarn deankarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deankarn deankarn merged commit 4d600be into go-playground:master Dec 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: no translation for "alphaunicode"

3 participants