[CONKY] Add taiwainese mandarin to languages
This commit is contained in:
parent
c7a3796b66
commit
c9305b52f5
1 changed files with 3 additions and 1 deletions
|
@ -258,10 +258,12 @@ language+=([no]="Norsk");
|
|||
language+=([se]="Svenska");
|
||||
language+=([it]="Italiano");
|
||||
language+=([es]="Español");
|
||||
language+=([jp]="Nihongo");
|
||||
language+=([goyu]="Taiwanese Mandarin");
|
||||
|
||||
if cmus-remote -Q &>/dev/null ; then
|
||||
COMMENT=$( cmus-remote -Q | grep "tag comment " | cut -d " " -f 3- )
|
||||
LANGUAGE=$( echo $COMMENT | sed 's/.*lang:\(.\{2\}\).*/\1/')
|
||||
LANGUAGE=$( echo $COMMENT | sed 's/.*lang:\(.\{2,4\}\).*/\1/')
|
||||
if [ "$LANGUAGE" = "$COMMENT" ]; then
|
||||
LANGUAGE="";
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue