mscw2 Translation

Language Packs


Moderator: Forum moderators

Post Reply
User avatar
AntonioPt
Posts: 219
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 99 times
Been thanked: 37 times

mscw2 Translation

Post 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

Attachments
mscw2.po.clean.gz
clean po for anyone
(1.2 KiB) Downloaded 9 times
mscw2.po.pt.gz
Portugues translation
(1.58 KiB) Downloaded 9 times
mscw2.gz
Clean script + translation
(10.87 KiB) Downloaded 16 times

Why astronauts use Linux
Because you can't open windows in space

User avatar
AntonioPt
Posts: 219
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 99 times
Been thanked: 37 times

Re: mscw2 Translation

Post 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

Attachments
Screenshot(2).png
Screenshot(2).png (41.07 KiB) Viewed 589 times
Screenshot(1).png
Screenshot(1).png (16.15 KiB) Viewed 589 times
Screenshot.png
Screenshot.png (16.61 KiB) Viewed 589 times

Why astronauts use Linux
Because you can't open windows in space

RalphC
Posts: 4
Joined: Thu May 02, 2024 4:23 pm
Been thanked: 1 time

Re: mscw2 Translation

Post by RalphC »

thanks

Post Reply

Return to “Internationalization”