Skip to content

Commit

Permalink
fix(deps): latest i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
trakhimenok committed Aug 21, 2024
1 parent a635489 commit 6cfeb7a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion botsfw/webhook_context_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ func (whcb *WebhookContextBase) SetLocale(code5 string) error {
if supportedLocales == nil {
return fmt.Errorf("supportedLocales is nil")
}
locale, err := supportedLocales.GetLocaleByCode5(code5)
locale, err := whcb.botAppContext.GetLocaleByCode5(code5)
if err != nil {
return fmt.Errorf(
"whcb.SetLocate(%s) failed to call supportedLocales.GetLocaleByCode5(%s): %w",
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/pquerna/ffjson v0.0.0-20190930134022-aa0246cd15f7
github.com/stretchr/testify v1.9.0
github.com/strongo/gamp v0.0.1
github.com/strongo/i18n v0.0.4
github.com/strongo/i18n v0.2.0
github.com/strongo/logus v0.2.0
)

Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ github.com/strongo/gamp v0.0.1 h1:b6vzHUzNvbPOhzPtIja1NqKf8GQqrJWjs2gninQPZac=
github.com/strongo/gamp v0.0.1/go.mod h1:ZcVVIzSQFygVehdtGh6KYmcp1eOacuEKb9th81WcUOw=
github.com/strongo/i18n v0.0.4 h1:48DQrrlqTlZBi7uFbyruOVsSfr+X24RmO59FaOXLWGQ=
github.com/strongo/i18n v0.0.4/go.mod h1:4jBQ4PJ3Uiri2Y+LHJ5/o1nB1H2ToddRW/yZXSOTUjE=
github.com/strongo/i18n v0.1.0 h1:yCEFJcUwW7zx5BNn2cF8JMrCcWunG/X9tA7YYapHBuE=
github.com/strongo/i18n v0.1.0/go.mod h1:4jBQ4PJ3Uiri2Y+LHJ5/o1nB1H2ToddRW/yZXSOTUjE=
github.com/strongo/i18n v0.2.0 h1:FuMjFruBgfTGZ/xpMFTYHnzBrlO07XRx5V+bqKxbFXY=
github.com/strongo/i18n v0.2.0/go.mod h1:4jBQ4PJ3Uiri2Y+LHJ5/o1nB1H2ToddRW/yZXSOTUjE=
github.com/strongo/logus v0.2.0 h1:IbLupLW9WMIwjefJF+u9/Ajlaw6ysFuEeKQxOFX5tOE=
github.com/strongo/logus v0.2.0/go.mod h1:sd8gjJklqGQAg+Q0mlP5MWgzguAuxR25YYFSkfVOPdc=
github.com/strongo/random v0.0.1 h1:OZHJBb/3uEa7OX8L2Dv2pLnSeewRmXMyTACoeto6O8I=
Expand Down

0 comments on commit 6cfeb7a

Please sign in to comment.