mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
Added German diacritics (#284)
This commit is contained in:
parent
2b82a497f9
commit
17b40ee798
1 changed files with 10 additions and 1 deletions
|
@ -6,6 +6,7 @@ def remove-diacritics [
|
||||||
arg: string
|
arg: string
|
||||||
] {
|
] {
|
||||||
let diacritics_map = {
|
let diacritics_map = {
|
||||||
|
# Polish
|
||||||
"Ą": "A",
|
"Ą": "A",
|
||||||
"ą": "a",
|
"ą": "a",
|
||||||
"Ć": "C",
|
"Ć": "C",
|
||||||
|
@ -23,7 +24,15 @@ def remove-diacritics [
|
||||||
"Ż": "Z",
|
"Ż": "Z",
|
||||||
"ż": "z",
|
"ż": "z",
|
||||||
"Ź": "Z",
|
"Ź": "Z",
|
||||||
"ź": "z"
|
"ź": "z",
|
||||||
|
# German
|
||||||
|
"ä": "ae",
|
||||||
|
"Ä": "Ae",
|
||||||
|
"ö": "oe",
|
||||||
|
"Ö": "Oe",
|
||||||
|
"ü": "ue",
|
||||||
|
"Ü": "Ue",
|
||||||
|
"ß": "ss"
|
||||||
}
|
}
|
||||||
$arg
|
$arg
|
||||||
|split chars
|
|split chars
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue