flamingo icon indicating copy to clipboard operation
flamingo copied to clipboard

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

Open renovate[bot] opened this issue 2 years ago • 2 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/nicksnyder/go-i18n v0.0.0-20180814031359-04f547cc50da -> v2.4.1 age adoption passing confidence

Release Notes

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

v2.4.1

Compare Source

Bug fixes

Full Changelog: https://github.com/nicksnyder/go-i18n/compare/v2.4.0...v2.4.1

v2.4.0

What's new

This release adds support for configurable template parsers in https://github.com/nicksnyder/go-i18n/pull/317.

By setting TemplateParser on LocalizeConfig it is now possible to:

Full Changelog: https://github.com/nicksnyder/go-i18n/compare/v2.3.0...v2.4.0

v2.4.0+incompatible

v2.3.0

New features

Bug fixes

Maintenance

New Contributors

Full Changelog: https://github.com/nicksnyder/go-i18n/compare/v2.2.2...v2.3.0

v2.3.0+incompatible

v2.2.2

New features

Bug fixes

Maintenance

New Contributors

Full Changelog: https://github.com/nicksnyder/go-i18n/compare/v2.2.1...v2.3.0

v2.2.2+incompatible

v2.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/nicksnyder/go-i18n/compare/v2.2.0...v2.2.1

v2.2.1+incompatible

v2.2.0

Changelog

v2.2.0+incompatible

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.2+incompatible

v2.1.1

Changelog

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

v2.1.1+incompatible

v2.1.0

Changelog

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

v2.1.0+incompatible

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.4+incompatible

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.3+incompatible

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.2+incompatible

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://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 https://github.com/nicksnyder/go-i18n/pull/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

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

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). https://github.com/nicksnyder/go-i18n/pull/65 https://github.com/nicksnyder/go-i18n/pull/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.

renovate[bot] avatar Jan 19 '23 17:01 renovate[bot]