Fix German transliteration for Ü and add attribution

This commit is contained in:
Elara 2021-10-04 13:17:48 -07:00
parent ca02e8c62f
commit 471de06158
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,8 @@ import (
"strings" "strings"
) )
// Maps stores transliteration maps as slices to preserve order // Maps stores transliteration maps as slices to preserve order.
// Some of these maps were sourced from https://codeberg.org/Freeyourgadget/Gadgetbridge
var Maps = map[string][]string{ var Maps = map[string][]string{
"eASCII": { "eASCII": {
"œ", "oe", "œ", "oe",
@ -27,7 +28,7 @@ var Maps = map[string][]string{
"ü", "ue", "ü", "ue",
"Ä", "Ae", "Ä", "Ae",
"Ö", "Oe", "Ö", "Oe",
"Ü", "Üe", "Ü", "Ue",
"ß", "ss", "ß", "ss",
"ẞ", "SS", "ẞ", "SS",
}, },