mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
refactor(locale): unexport a symbol
This commit is contained in:
parent
8e86004936
commit
915b7b3cf7
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ var defaultCatalog = make(catalog, len(AvailableLanguages))
|
|||
//go:embed translations/*.json
|
||||
var translationFiles embed.FS
|
||||
|
||||
func GetTranslationDict(language string) (translationDict, error) {
|
||||
func getTranslationDict(language string) (translationDict, error) {
|
||||
if _, ok := defaultCatalog[language]; !ok {
|
||||
var err error
|
||||
if defaultCatalog[language], err = loadTranslationFile(language); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue