mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Use unique translation IDs instead of English text as key
This commit is contained in:
parent
f244df6293
commit
beb7a0cfcb
66 changed files with 4069 additions and 2972 deletions
|
@ -6,13 +6,7 @@ package locale // import "miniflux.app/locale"
|
|||
|
||||
import "miniflux.app/logger"
|
||||
|
||||
// Translation is the translation mapping table.
|
||||
type Translation map[string]interface{}
|
||||
|
||||
// Locales represents locales supported by the system.
|
||||
type Locales map[string]Translation
|
||||
|
||||
// Load prepare the locale system by loading all translations.
|
||||
// Load loads all translations.
|
||||
func Load() *Translator {
|
||||
translator := NewTranslator()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue