mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Add logger
This commit is contained in:
parent
c6d9eb3614
commit
1d8193b892
56 changed files with 228 additions and 192 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
package locale
|
||||
|
||||
import "log"
|
||||
import "github.com/miniflux/miniflux/logger"
|
||||
|
||||
// Translation is the translation mapping table.
|
||||
type Translation map[string]interface{}
|
||||
|
@ -17,7 +17,7 @@ func Load() *Translator {
|
|||
translator := NewTranslator()
|
||||
|
||||
for language, tr := range translations {
|
||||
log.Println("Loading translation:", language)
|
||||
logger.Debug("Loading translation: %s", language)
|
||||
translator.AddLanguage(language, tr)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue