mscw2 Translation
Posted: Fri Feb 16, 2024 11:01 am
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