Skip to content

Commit

Permalink
Merge branch 'master' into custom-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
mashpie committed May 19, 2022
2 parents e110662 + 192086f commit e55a597
Show file tree
Hide file tree
Showing 5 changed files with 279 additions and 623 deletions.
2 changes: 1 addition & 1 deletion examples/singleton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ two()

// -------------------------------------------------

// set to german
// set to english
i18n.setLocale('en')

// will put 'Hello'
Expand Down
4 changes: 2 additions & 2 deletions i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ const i18n = function I18n(_OPTS = false) {
' retrying in ' +
defaultLocale
)
mutator(translate(defaultLocale, singular, plural))
mutator(translate(defaultLocale, singular, plural, true))
} else {
mutator({
one: defaultSingular || singular,
Expand All @@ -1056,7 +1056,7 @@ const i18n = function I18n(_OPTS = false) {
' retrying in ' +
defaultLocale
)
mutator(translate(defaultLocale, singular, plural))
mutator(translate(defaultLocale, singular, plural, true))
} else {
mutator(defaultSingular || singular)
}
Expand Down
Loading

0 comments on commit e55a597

Please sign in to comment.