diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-20 00:02:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-20 00:02:07 +0300 |
| commit | a35ca6f40de73e93372ade6f2d74c231389799e2 (patch) | |
| tree | faf7a53d476cbd6d01b694443e8e601cec9257db /internal/comic/localization.go | |
| parent | 6130cae3fa396cff94653225e47326b642e270f3 (diff) | |
Fix task 25: keep comic generation single-language and single-style
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" +} |
