forked from an/flokati
fix
This commit is contained in:
parent
ab8e21b716
commit
d544c84873
2 changed files with 3 additions and 4 deletions
|
@ -47,13 +47,12 @@ func NumberToString(n int, sep rune) string {
|
|||
return buf.String()
|
||||
}
|
||||
|
||||
func ReplaceUmlauts(s string) (ret string) {
|
||||
func ReplaceUmlauts(s string) string {
|
||||
ret := strings.Replace(s, "Ä", "Ae", -1)
|
||||
ret = strings.Replace(ret, "Ö", "Oe", -1)
|
||||
ret = strings.Replace(ret, "Ü", "Ue", -1)
|
||||
ret = strings.Replace(ret, "ä", "ae", -1)
|
||||
ret = strings.Replace(ret, "ö", "oe", -1)
|
||||
ret = strings.Replace(ret, "ü", "ue", -1)
|
||||
ret = strings.Replace(ret, "ß", "ss", -1)
|
||||
return
|
||||
return strings.Replace(ret, "ß", "ss", -1)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue