1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-25 12:55:57 +00:00

CI: minor: use the new exclude-paths (dependabot PR approved some days ago)

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-16 22:48:38 +03:00
parent a8a3afea22
commit 92164cee52
37 changed files with 268 additions and 266 deletions

View File

@@ -7,8 +7,8 @@ import "golang.org/x/text/language"
type I18nReadOnly interface {
Tags() []language.Tag
GetLocale(ctx *Context) Locale
Tr(lang string, key string, args ...interface{}) string
TrContext(ctx *Context, key string, args ...interface{}) string
Tr(lang string, key string, args ...any) string
TrContext(ctx *Context, key string, args ...any) string
}
// Locale is the interface which returns from a `Localizer.GetLocale` method.
@@ -25,5 +25,5 @@ type Locale interface {
// Same as `Tag().String()` but it's static.
Language() string
// GetMessage should return translated text based on the given "key".
GetMessage(key string, args ...interface{}) string
GetMessage(key string, args ...any) string
}