Page 1 of 1

mscw2 Translation

Posted: Fri Feb 16, 2024 11:01 am
by AntonioPt

Hello everyone,

I've made a small update so that I can translate the script as well as cleaning up a few bugs

Major changes were

Code: Select all

#!/bin/sh     <-- add it
#!/bin/dash <-- remove
# need it for translation
export TEXTDOMAIN=${0##*/}
export OUTPUT_CHARSET=UTF-8
# add single case instead of multiple case 
     case "$PIPELINE" in
      *dmix*)     playback_pcm=${ALSADEV_PREFIX}dmix ;;
      *vdownmix*) playback_pcm=${ALSADEV_PREFIX}vdownmix ;;
      *dsnoop*)   capture_pcm=${ALSADEV_PREFIX}dsnoop ;;
     esac

Remove fake gz and add permissions to exec and test it then before you do anything just make a copy of your old script and replace
Path of script is /usr/sbin
in attach script + po for all of you who wanna translate
P.s. i think can be add more translations in plugin menu


Re: mscw2 Translation

Posted: Fri Feb 16, 2024 10:58 pm
by AntonioPt

there you go some prints of final result i just wondering why if everything is ok or not there is no mess beside that all good


Re: mscw2 Translation

Posted: Thu May 02, 2024 4:46 pm
by RalphC

thanks