[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+=([se]="Svenska");
|
||||||
language+=([it]="Italiano");
|
language+=([it]="Italiano");
|
||||||
language+=([es]="Español");
|
language+=([es]="Español");
|
||||||
|
language+=([jp]="Nihongo");
|
||||||
|
language+=([goyu]="Taiwanese Mandarin");
|
||||||
|
|
||||||
if cmus-remote -Q &>/dev/null ; then
|
if cmus-remote -Q &>/dev/null ; then
|
||||||
COMMENT=$( cmus-remote -Q | grep "tag comment " | cut -d " " -f 3- )
|
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
|
if [ "$LANGUAGE" = "$COMMENT" ]; then
|
||||||
LANGUAGE="";
|
LANGUAGE="";
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue