Fix German transliteration for Ü and add attribution

This commit is contained in:
Elara 2021-10-04 13:17:48 -07:00
parent 1db2ca3395
commit 9df6531023

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",
}, },