Skip to content

Add translator mechanism #948

Add translator mechanism

Add translator mechanism #948

Triggered via pull request November 28, 2024 13:35
Status Failure
Total duration 55s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: examples/translation/translation.go#L25
Error return value of `giu.Context.Translator.SetLanguage` is not checked (errcheck)
Lint: examples/translation/translation.go#L39
Error return value of `translator.SetLanguage` is not checked (errcheck)
Lint: Context.go#L123
Comment should end in a period (godot)
Lint: Translator.go#L19
Comment should end in a period (godot)
Lint: Translator.go#L28
Comment should end in a period (godot)
Lint: Translator.go#L73
`ther` is a misspelling of `there` (misspell)
Lint: Translator.go#L31
exported: exported method EmptyTranslator.Translate should have comment or be unexported (revive)
Lint: Translator.go#L35
exported: exported method EmptyTranslator.SetLanguage should have comment or be unexported (revive)
Lint: examples/translation/translation.go#L19
var-declaration: should drop = 0 from declaration of var currentLang; it is the zero value (revive)
Lint: examples/translation/translation.go#L1
package-comments: should have a package comment (revive)