From 471de0615860cba1491a2aa806d65dcb7e3ae84a Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Mon, 4 Oct 2021 13:17:48 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20German=20transliteration=20for=20=C3=9C?= =?UTF-8?q?=20and=20add=20attribution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- translit/translit.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/translit/translit.go b/translit/translit.go index 533a12e..ad3f4b8 100644 --- a/translit/translit.go +++ b/translit/translit.go @@ -4,7 +4,8 @@ import ( "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{ "eASCII": { "œ", "oe", @@ -27,7 +28,7 @@ var Maps = map[string][]string{ "ü", "ue", "Ä", "Ae", "Ö", "Oe", - "Ü", "Üe", + "Ü", "Ue", "ß", "ss", "ẞ", "SS", },