1
0
Fork 0
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:
jvoisin 2025-07-06 00:28:00 +02:00 committed by Frédéric Guillot
parent 8e86004936
commit 915b7b3cf7
2 changed files with 4 additions and 4 deletions

View file

@ -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 {