Skip to content

Commit

Permalink
Update ko.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jkh0kr authored Nov 18, 2024
1 parent b58a55b commit 1679182
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions translations/ko/ko.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
return
}

// if err = ut.AddCardinal("len-string-character", "{0}문자", locales.PluralRuleOne, false); err != nil {
// if err = ut.AddCardinal("len-string-character", "{0}", locales.PluralRuleOne, false); err != nil {
// return
// }

if err = ut.AddCardinal("len-string-character", "{0}문자", locales.PluralRuleOther, false); err != nil {
if err = ut.AddCardinal("len-string-character", "{0}", locales.PluralRuleOther, false); err != nil {
return
}

Expand Down Expand Up @@ -129,11 +129,11 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
return
}

// if err = ut.AddCardinal("min-string-character", "{0}문자", locales.PluralRuleOne, false); err != nil {
// if err = ut.AddCardinal("min-string-character", "{0}", locales.PluralRuleOne, false); err != nil {
// return
// }

if err = ut.AddCardinal("min-string-character", "{0}문자", locales.PluralRuleOther, false); err != nil {
if err = ut.AddCardinal("min-string-character", "{0}", locales.PluralRuleOther, false); err != nil {
return
}

Expand Down Expand Up @@ -218,11 +218,11 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
return
}

// if err = ut.AddCardinal("max-string-character", "{0}문자", locales.PluralRuleOne, false); err != nil {
// if err = ut.AddCardinal("max-string-character", "{0}", locales.PluralRuleOne, false); err != nil {
// return
// }

if err = ut.AddCardinal("max-string-character", "{0}문자", locales.PluralRuleOther, false); err != nil {
if err = ut.AddCardinal("max-string-character", "{0}", locales.PluralRuleOther, false); err != nil {
return
}

Expand Down Expand Up @@ -393,11 +393,11 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
return
}

// if err = ut.AddCardinal("lt-string-character", "{0}문자", locales.PluralRuleOne, false); err != nil {
// if err = ut.AddCardinal("lt-string-character", "{0}", locales.PluralRuleOne, false); err != nil {
// return
// }

if err = ut.AddCardinal("lt-string-character", "{0}문자", locales.PluralRuleOther, false); err != nil {
if err = ut.AddCardinal("lt-string-character", "{0}", locales.PluralRuleOther, false); err != nil {
return
}

Expand Down Expand Up @@ -512,11 +512,11 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
return
}

// if err = ut.AddCardinal("lte-string-character", "{0}문자", locales.PluralRuleOne, false); err != nil {
// if err = ut.AddCardinal("lte-string-character", "{0}", locales.PluralRuleOne, false); err != nil {
// return
// }

if err = ut.AddCardinal("lte-string-character", "{0}문자", locales.PluralRuleOther, false); err != nil {
if err = ut.AddCardinal("lte-string-character", "{0}", locales.PluralRuleOther, false); err != nil {
return
}

Expand Down Expand Up @@ -631,11 +631,11 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
return
}

// if err = ut.AddCardinal("gt-string-character", "{0}문자", locales.PluralRuleOne, false); err != nil {
// if err = ut.AddCardinal("gt-string-character", "{0}", locales.PluralRuleOne, false); err != nil {
// return
// }

if err = ut.AddCardinal("gt-string-character", "{0}문자", locales.PluralRuleOther, false); err != nil {
if err = ut.AddCardinal("gt-string-character", "{0}", locales.PluralRuleOther, false); err != nil {
return
}

Expand Down

0 comments on commit 1679182

Please sign in to comment.