diff options
Diffstat (limited to 'internal/comic/localization.go')
| -rw-r--r-- | internal/comic/localization.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/comic/localization.go b/internal/comic/localization.go new file mode 100644 index 0000000..2578feb --- /dev/null +++ b/internal/comic/localization.go @@ -0,0 +1,11 @@ +package comic + +import "strings" + +// localizedBrandName returns the comic's subtitle/series name in the selected script. +func localizedBrandName(language, script string) string { + if strings.EqualFold(script, "Cyrillic") || strings.EqualFold(language, "Bulgarian") { + return "КомиксФордж Приключения" + } + return "ComicForge Adventures" +} |
