flamingo
flamingo copied to clipboard
chore(deps): update module github.com/nicksnyder/go-i18n to v1
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/nicksnyder/go-i18n | require | major | v0.0.0-20180814031359-04f547cc50da -> v1.10.1 |
Release Notes
nicksnyder/go-i18n
v1.10.1
v1.10.0
Export language.GetPluralSpec
#83
v1.9.0
Enhancements
- Export
language.RegisterPluralFunc
- Export
language.Operand
- Update to CLDR 31.0.1
- Fix panic in goi18n command https://github.com/nicksnyder/go-i18n/issues/48
v1.8.1
Fix issue with leading comments on .yaml
files.
v1.8.0
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
Bundles are now goroutine safe. #54 #59 @emosbaugh
Improved error message when translation file fails to parse. #55 @mh-cbon
v1.6.0
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
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
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
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
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
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
)
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 becomes conflicted, 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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Package | Line Rate | Health |
---|---|---|
flamingo.me/flamingo/v3/core/auth | 13% | ❌ |
flamingo.me/flamingo/v3/core/auth/fake | 50% | ➖ |
flamingo.me/flamingo/v3/core/auth/http | 40% | ❌ |
flamingo.me/flamingo/v3/core/auth/oauth | 47% | ❌ |
flamingo.me/flamingo/v3/core/cache | 52% | ➖ |
flamingo.me/flamingo/v3/core/gotemplate | 87% | ✔ |
flamingo.me/flamingo/v3/core/healthcheck/interfaces/controllers | 76% | ✔ |
flamingo.me/flamingo/v3/core/healthcheck | 64% | ➖ |
flamingo.me/flamingo/v3/core/internalauth/application | 100% | ✔ |
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/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/domain | 62% | ➖ |
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 | 50% | ➖ |
flamingo.me/flamingo/v3/core/runtime | 77% | ✔ |
flamingo.me/flamingo/v3/core/security/application/role | 95% | ✔ |
flamingo.me/flamingo/v3/core/security/application | 98% | ✔ |
flamingo.me/flamingo/v3/core/security/application/voter | 100% | ✔ |
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/zap | 43% | ❌ |
flamingo.me/flamingo/v3/framework/cmd | 12% | ❌ |
flamingo.me/flamingo/v3/framework/config | 49% | ❌ |
flamingo.me/flamingo/v3/framework/flamingo | 34% | ❌ |
flamingo.me/flamingo/v3/framework | 29% | ❌ |
flamingo.me/flamingo/v3/framework/opencensus | 88% | ✔ |
flamingo.me/flamingo/v3/framework/prefixrouter | 43% | ❌ |
flamingo.me/flamingo/v3/framework/systemendpoint | 27% | ❌ |
flamingo.me/flamingo/v3/framework/testutil | 0% | ❌ |
flamingo.me/flamingo/v3/framework/web | 49% | ❌ |
Summary | 49% (3257 / 6621) | ❌ |