mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
refactor(locale): use any instead of interface{}
This commit is contained in:
parent
a8b4e88742
commit
8e86004936
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ func (p *Printer) Print(key string) string {
|
|||
}
|
||||
|
||||
// Printf is like fmt.Printf, but using language-specific formatting.
|
||||
func (p *Printer) Printf(key string, args ...interface{}) string {
|
||||
func (p *Printer) Printf(key string, args ...any) string {
|
||||
translation := key
|
||||
|
||||
if dict, err := GetTranslationDict(p.language); err == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue