Skip to content

chore(deps): update module github.com/nicksnyder/go-i18n to v2#316

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-nicksnyder-go-i18n-2.x
Open

chore(deps): update module github.com/nicksnyder/go-i18n to v2#316
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-nicksnyder-go-i18n-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 19, 2023

This PR contains the following updates:

Package Change Age Confidence
github.com/nicksnyder/go-i18n v0.0.0-20180814031359-04f547cc50dav2.6.1 age confidence

Release Notes

nicksnyder/go-i18n (github.com/nicksnyder/go-i18n)

v2.6.1

Compare Source

What's Changed

New Contributors

Full Changelog: nicksnyder/go-i18n@v2.6.0...v2.6.1

v2.6.0

Compare Source

Key changes

  • go-i18n extract will error if it finds a message ID that has been duplicated but contains different content.
  • Upgraded to CLDR v47 data
  • Minimum version of Go increased from 1.18 to 1.23.

All changes

New Contributors

Full Changelog: nicksnyder/go-i18n@v2.5.1...v2.6.0

v2.5.1

Compare Source

What's Changed

  • Fix case sensitivity with message keys by @​nicksnyder in #​358
    Note: There have always been a small number of reserved words that cannot be used in message keys: id, description, hash, leftdelim, rightdelim, zero, one, two, few, many, other. Prior to this release, only the lowercase versions were reserved. As of this release, any casing of these words are reserved (e.g. "Description", "ID"). This should have always been the case to align with the case insensitivity of message parsing, and the fact that it wasn't is a bug that is now fixed.

Full Changelog: nicksnyder/go-i18n@v2.5.0...v2.5.1

v2.5.0

Compare Source

Highlights

Other changes

New Contributors

Full Changelog: nicksnyder/go-i18n@v2.4.1...v2.5.0

v2.4.1

Compare Source

Bug fixes

Full Changelog: nicksnyder/go-i18n@v2.4.0...v2.4.1

v2.4.0

What's new

This release adds support for configurable template parsers in #​317.

By setting TemplateParser on LocalizeConfig it is now possible to:

Full Changelog: nicksnyder/go-i18n@v2.3.0...v2.4.0

v2.3.0

New features

Bug fixes

Maintenance

New Contributors

Full Changelog: nicksnyder/go-i18n@v2.2.2...v2.3.0

v2.2.2

New features

Bug fixes

  • Fix Localize regression with empty default message by @​KuSh in #​305

Maintenance

New Contributors

Full Changelog: nicksnyder/go-i18n@v2.2.1...v2.3.0

v2.2.1

What's Changed

New Contributors

Full Changelog: nicksnyder/go-i18n@v2.2.0...v2.2.1

v2.2.0

Changelog

v2.1.2

Changelog

c587b0d fix escape sequences when extracting string literals (#​244)
a5b9f57 Fixing typos (#​242)
603af13 Add Sourcegraph code intelligence
7ff69e7 Fix broken link (#​229)

v2.1.1

Changelog

703c3bd Do not encode HTML entities in JSON message files (#​228)

v2.1.0

Changelog

e2aedcf Upgrade CLDR data to v37 (#​227)
cba41a4 upgrade deps

v2.0.4

This release fixes a few bugs with goi18n extract and goi18n merge, and it greatly increases the performance of the i18n package when localizing messages.

Changelog

9926328 Add build step (#​226)
d17510c Update goreleaser.yml
9c75f7e goreleaser workflow (#​225)
e15e8df fixed panic: runtime error: index out of range [0] with length 0 (#​212)
8f09be8 fixes nil reference exception if localization text is empty, fixes #​207 (#​208)
354b2fc Pull request event
66dee75 simpler fallback behavior (#​189)
663c088 tweak codecov
51d732d Build with GitHub actions (#​224)
949485d Add a nil pointer check before dereferencing an identifier's Obj (#​211)

v2.0.3

Changelog

26334ab minimum go version
275c8ec fix(goi18n): could not extract constant message id (#​202)
3f2fe62 add benchmarks (#​190)
48ecfc2 remove go.mod
0e318ba fix automatic release
de0ca95 remove comment
d69004e only deploy from latest

v2.0.2

Changelog

0c6ce6a Move code to v2 subfolder for greater compatibility (#​187)
25e77af deploy when tag is pushed (#​186)
1b244f7 Fix path in README (#​185)

v2.0.1

Compare Source

Changelog

e0f0d41 Fix data race and optimize performance (#​183)
38f9eac Update README.md (#​177)
be3966f v2 only (#​176)

v2.0.0

Compare Source

Changelog

3c6ee90 update goreleaser
d1ef4ae update to CLDR v35.1 (2019-04-17) (#​175)
b280125 Revert "change package"
b5ee509 change package

v2.0.0-beta.7

Compare Source

There is one small backwards incompatible change from beta.6, which is that you now need to call NewBundle to create a bundle (instead of using a struct literal). See https://redirect.github.com/nicksnyder/go-i18n/pull/163/files.

There are no more known issues filed on the repo that would prevent v2.0.0 from being tagged but I am going to let beta.7 bake for a bit before actually tagging v2.0.0.

Changelog

6d605d0 attempt fallback to "other" plural form (#​174)
4cc2a0f fix build
a8a5c04 remove LocalizeMessageID until extract can extract it
20fdd68 add convenience functions (#​173)
3b00441 improve readme
245a313 support artificial languages (#​171)
8ad1b00 update x/text
1c44ce2 export message (#​170)
14847a9 enable gofmt
70cf5c1 cleanup
a3498dc extract messages from slices and maps (#​169)
4878883 update readme to reflect changes made in #​163
030e502 handle null in json (#​166)
b2843f1 escape extracted strings correctly (#​165)
45eb7b3 don't extract strings from _test.go files (#​164)
5a9fdb7 add NewBundle and remove init (#​163)
7e9faa0 go 1.12
7e1988a remove sudo:false (#​162)
8b3465d Nested translation support (#​157)
7a73c96 Fix deserialization of leftDelim and rightDelim
d698e2f Provide nice output of plural form not found error (#​147)
cc0ca3b add .golangci.yml (#​144)

v2.0.0-beta.6

Compare Source

Changelog

178b9fc extract concatenated strings (#​143)
0ebaecb Better extract/merge workflow documentation (#​140)
ad28c68 Add LocalizeWithTag (#​139)
c52be5d update to CLDR 34
fc57a7d Export MessageNotFoundErr (#​124)
f406bb2 error if message ids mismatch (#​132)
04f547c Fixed localizer example (#​122)
e786c88 add func to list Language tags from bundle (#​120)

v2.0.0-beta.5

Compare Source

Fix v2 go.mod

v2.0.0-beta.4

Compare Source

v2.0.0-beta.3

Compare Source

  • i18n.NewBundle(language.English) -> &i18n.Bundle{DefaultLanguage: language.English}
  • Define custom funcs in message templates #​100
  • goi18n extract walks current directory by default dfe004a
  • Better example #​102
  • Proper semver tag for beta releases #​104

v2.0.0-beta.2: 2.0.0-beta.2

Compare Source

  • Update CLDR data to v33.
  • Fix issue that caused extract to always output toml, even if -format parameter was provided.
  • Fix panic when translation is empty.

v2.0.0-beta.1: 2.0.0-beta.1

Compare Source

See the changelog for a description of v2.

Please file any issues that you experience.

Although I don't currently anticipate making any more changes to v2 API at this point, breaking changes are possible until v2.0.0 is tagged.

v1.10.3

Compare Source

v1.10.2

Compare Source

v1.10.1

Compare Source

v1.10.0: 1.10.0

Compare Source

Export language.GetPluralSpec #​83

v1.9.0: 1.9.0

Compare Source

Enhancements

  • Export language.RegisterPluralFunc
  • Export language.Operand
  • Update to CLDR 31.0.1
  • Fix panic in goi18n command #​48

v1.8.1: 1.8.1

Compare Source

Fix issue with leading comments on .yaml files.

v1.8.0: 1.8.0

Compare Source

Added support for TOML and a new flatter file format for all encodings (including YAML and JSON).
#​65 #​66 @​bogem

v1.7.0: 1.7.0

Compare Source

Bundles are now goroutine safe.
#​54 #​59 @​emosbaugh

Improved error message when translation file fails to parse.
#​55 @​mh-cbon

v1.6.0: 1.6.0

Compare Source

The count used to determine which plural form to use for a translation may now be provided in the template data (#​53)

Thanks @​mh-cbon and @​benoittoulme!

v1.5.0: 1.5.0

Compare Source

A new command has been added to goi18n.

goi18n constants generates a file of constants for each translation id.

e.g.

package R

// MyHeightInMeters is the identifier for the following localizable string template(s):
// one: "I am {{.Count}} meter tall."
// other: "I am {{.Count}} meters tall."
const MyHeightInMeters = "my_height_in_meters"

Thanks @​rodrigocorsi2!

v1.4.0: 1.4.0

Compare Source

Add support for YAML translation files (uses go-yaml).

Remember to run go get -u github.com/nicksnyder/go-i18n/goi18n to fetch/update transitive dependencies.

Thanks @​zippoxer!

v1.3.0: 1.3.0

Compare Source

Added plural support for all 200+ languages in the Unicode Common Locale Data Repository via code generation.

Added new APIs to inspect translations loaded into the default bundle

Thanks to those who contributed!
@​dennisfaust @​parkr @​dalu

v1.2.0: 1.2.0

Compare Source

Template data may now be passed into a Tfunc as a struct (previously only maps were supported).

// These will print the same thing
fmt.Println(T("person_greeting", map[string]interface{}{"Person": "Bob"}))
fmt.Println(T("person_greeting", struct{ Person string }{Person: "Bob"}))

New language support

  • Thai (th)

Thanks to those who contributed!
@​parkr @​ExUltima

v1.1.0: 1.1.0

Compare Source

Better support for short language tags

  • If a user requests “zh” and there are no translations for that locale, then translations for “zh-hans” or “zh-hans-cn” will be used if available.

Added new APIs to retrieve the language associated with Tfunc

  • TfuncAndLanguage
  • MustTfuncAndLanguage

New language support

  • Burmese (my)

Thanks to those who contributed!
@​mash @​wichert


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@carstendietrich carstendietrich added the needs-tests code not covered by tests label Jan 26, 2023
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch from 33b9c87 to e9a27fe Compare January 26, 2023 14:12
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 3 times, most recently from 508f46f to f567e76 Compare February 13, 2023 17:28
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch from f567e76 to 9ff8004 Compare February 27, 2023 12:25
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 3 times, most recently from 187820f to e44f04c Compare March 11, 2023 12:53
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 2 times, most recently from 8d93339 to 0cf7359 Compare March 24, 2023 14:54
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 3 times, most recently from 8821bb0 to c6c073a Compare April 21, 2023 07:13
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 2 times, most recently from 1be664d to 0444f6f Compare May 5, 2023 16:51
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch from 0444f6f to 578fd9b Compare May 19, 2023 10:30
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 3 times, most recently from b3b45fa to 7b47748 Compare June 1, 2023 15:06
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch from 7b47748 to 7a49ce6 Compare June 15, 2023 13:04
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 2 times, most recently from f11df9f to 490da4a Compare July 13, 2023 13:22
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 3 times, most recently from 6084ac1 to ab00cf6 Compare August 3, 2023 13:45
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 4 times, most recently from 40d69f3 to 58b7049 Compare August 17, 2023 15:18
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 2 times, most recently from d44357a to 83c072f Compare December 6, 2023 09:23
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch from 83c072f to 8c08165 Compare December 14, 2023 14:07
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 19 times, most recently from aa229e6 to fc531f4 Compare February 6, 2024 15:05
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch 3 times, most recently from 838e7ae to 4bd8a65 Compare February 7, 2024 15:57
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch from 4bd8a65 to 1dead61 Compare March 7, 2024 14:30
@renovate renovate bot force-pushed the renovate/github.com-nicksnyder-go-i18n-2.x branch from 1dead61 to c191565 Compare March 14, 2024 14:58
@renovate
Copy link
Contributor Author

renovate bot commented Jan 1, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
golang.org/x/mod v0.29.0 -> v0.30.0
golang.org/x/text v0.31.0 -> v0.32.0
golang.org/x/tools v0.38.0 -> v0.39.0

@github-actions
Copy link
Contributor

Code Coverage

Package Line Rate Health
flamingo.me/flamingo/v3 44%
flamingo.me/flamingo/v3/core/auth 13%
flamingo.me/flamingo/v3/core/auth/example/custom 0%
flamingo.me/flamingo/v3/core/auth/example 0%
flamingo.me/flamingo/v3/core/auth/fake 50%
flamingo.me/flamingo/v3/core/auth/http 40%
flamingo.me/flamingo/v3/core/auth/mock 0%
flamingo.me/flamingo/v3/core/auth/oauth 49%
flamingo.me/flamingo/v3/core/cache 66%
flamingo.me/flamingo/v3/core/gotemplate 87%
flamingo.me/flamingo/v3/core/healthcheck/domain/healthcheck 0%
flamingo.me/flamingo/v3/core/healthcheck/interfaces/controllers 67%
flamingo.me/flamingo/v3/core/healthcheck 66%
flamingo.me/flamingo/v3/core/internalauth/application 88%
flamingo.me/flamingo/v3/core/internalauth 100%
flamingo.me/flamingo/v3/core/locale/application 87%
flamingo.me/flamingo/v3/core/locale/domain 75%
flamingo.me/flamingo/v3/core/locale/infrastructure/fake 0%
flamingo.me/flamingo/v3/core/locale/infrastructure 0%
flamingo.me/flamingo/v3/core/locale/interfaces/controllers 100%
flamingo.me/flamingo/v3/core/locale/interfaces/templatefunctions 92%
flamingo.me/flamingo/v3/core/locale 59%
flamingo.me/flamingo/v3/core/oauth/application 4%
flamingo.me/flamingo/v3/core/oauth/application/fake 0%
flamingo.me/flamingo/v3/core/oauth/domain 62%
flamingo.me/flamingo/v3/core/oauth/example 0%
flamingo.me/flamingo/v3/core/oauth/infrastructure 0%
flamingo.me/flamingo/v3/core/oauth/interfaces 0%
flamingo.me/flamingo/v3/core/oauth/interfaces/fake 0%
flamingo.me/flamingo/v3/core/oauth 55%
flamingo.me/flamingo/v3/core/requestlogger 100%
flamingo.me/flamingo/v3/core/requesttask 10%
flamingo.me/flamingo/v3/core/robotstxt/interfaces 0%
flamingo.me/flamingo/v3/core/robotstxt 50%
flamingo.me/flamingo/v3/core/runtime 77%
flamingo.me/flamingo/v3/core/security/application/role 96%
flamingo.me/flamingo/v3/core/security/application 98%
flamingo.me/flamingo/v3/core/security/application/voter 100%
flamingo.me/flamingo/v3/core/security/domain 0%
flamingo.me/flamingo/v3/core/security/interface/controller 100%
flamingo.me/flamingo/v3/core/security/interface/middleware 72%
flamingo.me/flamingo/v3/core/security 59%
flamingo.me/flamingo/v3/core/silentzap 0%
flamingo.me/flamingo/v3/core/zap 80%
flamingo.me/flamingo/v3/examples/hello-world 0%
flamingo.me/flamingo/v3/framework/cmd 5%
flamingo.me/flamingo/v3/framework/config 49%
flamingo.me/flamingo/v3/framework/controller 0%
flamingo.me/flamingo/v3/framework/flamingo 38%
flamingo.me/flamingo/v3/framework/flamingo/healthcheck 0%
flamingo.me/flamingo/v3/framework 29%
flamingo.me/flamingo/v3/framework/opencensus 78%
flamingo.me/flamingo/v3/framework/prefixrouter 46%
flamingo.me/flamingo/v3/framework/systemendpoint/application 0%
flamingo.me/flamingo/v3/framework/systemendpoint 27%
flamingo.me/flamingo/v3/framework/testutil 0%
flamingo.me/flamingo/v3/framework/web 48%
flamingo.me/flamingo/v3/framework/web/filter 0%
Summary 43% (3750 / 8730)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-tests code not covered by tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants