1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-SaneRename synced 2024-05-02 20:54:04 +02:00

Fixed language bug in funcConvertName

This commit is contained in:
Jonny007-MKD 2014-10-29 13:03:35 +01:00
parent a81962ad75
commit 6c2b1795e0

View file

@ -145,7 +145,7 @@ function funcConvertName {
if $debug; then echo -e "\033[36mfuncConvertName $1\033[37m"; fi;
tmp="$1"
tmp=${tmp// s /\'s } # Replace a single s with 's
if [ "$lang" == "de" ]; then
if [ "$langCurrent" == "de" ]; then
tmp=${tmp//Ae/Ä} # Replace umlauts
tmp=${tmp//Oe/Ö}
tmp=${tmp//Ue/Ü}