credits: give Onest its version, the Google Fonts release it came from
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+3
−1
credits/fonts.go+3 −1
CI passed — run details
CI log
=== modcache === all modules verified === vet === CGO_ENABLED=0 go vet ./... === fmt === === build === CGO_ENABLED=0 go build -buildvcs=false ./... === go-test === CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/estilo.git/base 0.004s ok amadan.net/oficina/estilo.git/brand 0.006s ok amadan.net/oficina/estilo.git/callui 0.004s ok amadan.net/oficina/estilo.git/chrome 0.157s ? amadan.net/oficina/estilo.git/cmd/oficina-notices [no test files] ok amadan.net/oficina/estilo.git/credits 0.007s ok amadan.net/oficina/estilo.git/credits/catalog 0.007s ok amadan.net/oficina/estilo.git/homeconnect 0.006s ok amadan.net/oficina/estilo.git/internal/lint 0.007s ? amadan.net/oficina/estilo.git/internal/tokencheck [no test files] ok amadan.net/oficina/estilo.git/menu 0.010s ok amadan.net/oficina/estilo.git/savestatus 0.076s ok amadan.net/oficina/estilo.git/sky 0.008s ok amadan.net/oficina/estilo.git/theme 0.007s
diff --git a/credits/fonts.go b/credits/fonts.go| index 3cd35f1..08990f7 100644 |
| --- a/credits/fonts.go |
| +++ b/credits/fonts.go |
| @@ -9,5 +9,7 @@ var onestNotice string |
| // which estilo's theme package embeds and serves (theme/fonts.go). An app |
| // that mounts theme.FontHandler lists it on its credits page. |
| func Onest() Component { |
| - return Component{Name: "Onest", SourceURL: "https://github.com/googlefonts/onest", Notices: []Notice{{Name: "OFL.txt", Text: onestNotice}}} |
| + // The version is the Google Fonts release the embedded file came from |
| + // (its gstatic path, recorded in notices/onest-provenance.json). |
| + return Component{Name: "Onest", Version: "Google Fonts v11", SourceURL: "https://github.com/googlefonts/onest", Notices: []Notice{{Name: "OFL.txt", Text: onestNotice}}} |
| } |