Ver um Único Post
  #8  
Antigo 07-11-2011, 09:03 AM
Avatar de Th!@go
Th!@go Th!@go está offline
Membro
 
Registrado em: Aug 2009
Posts: 25
MUITO OBRIGADO: 16
Agradecido 20 Vezes em 7 Posts
Reputação: 0
Th!@go é um desconhecido a essa altura
Padrão Re: [MPKG] - rockArc 1.0b + FSMan v1.6

Obrigado cara, bom não compensa traduzir esse arquivos pois não tenho intenção de torna-la internacional como as outras, eu comecei um projeto numa epoca em que muitos amigos meus, como Junior Passos, Denis, Arkanjo, HipHop e mais alguns ainda tinham seus aparelhos pra me ajudar e tal, hoje me deparo com um cenario bem diferente, assim como uma pessoa dá pra ver que os aparelhos tem vida tbm rsrs, e o Rokr E2 já está bem velhinho, a galera já desistiu dele hehehe.. então vou liberar a MP quando estiver finalizada, falta muito pouco, e pronto.. se algum gringo pegar aki, é com ele, só jogar os arquivos no sistemas que até os menus ficam em ingles, espanhol e etc..

Ps: Um exemplo de scrip multi-idioma:

Código:
#!/bin/bash

#Mudar VoiceKey
#©2010 Denis Fernandes <denis.gsmmod******.com>
#©2010 Th!@go <[email protected]>
#Editado para a MP Rokr E²xtreme Brazil.
#Aplicativo Multi-idioma editado by Th!@go - (05-02-2010)

mypath=`dirname "$0"`
icones_path=$ICONESDIR
LANG=`readconfig /ezx_user/download/appwrite/setup/ezx_system.cfg SYS_SYSTEM_SET LanguageType`
Status=`cat $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg | grep ''`

if [ -f $APPLANG/Mudar_VoiceKey/voice.$LANG.lang ]; then
    . $APPLANG/Mudar_VoiceKey/voice.$LANG.lang
else
    . $APPLANG/Mudar_VoiceKey/voice.en-us.lang
fi

applist=`showList -t "$a0" -c "$a1: $Status
$a2:" -lsk $a3 -rsk $a4 -i "$icones_path/atalhos_s.png" -menustart "$a5" help "$a6" about "$a4" exit -menuend "$a7" "$a8" "$b7"`

if [ "$applist" == "help" ]
then
showQ -t "$a5" -lsk $a9 -i "$icones_path/atalhos_s.png" -c "$b1" -p 2
$mypath/mudar_voicekey.lin
fi

if [ "$applist" == "exit" ]
then
showNotify -t "$a0" -i "$icones_path/atalhos_s.png" -c "$b2" -p 0
exit
fi

if [ "$applist" == "about" ]
then
showQ -t "$a0" -lsk $a9 -i "$icones_path/atalhos_s.png" -c "$b3" -p 2
$mypath/mudar_voicekey.lin
fi  

if [ $applist -eq 1 ]; then
cp /ezxlocal/autorun.txt /ezxlocal/autorun.txt~
cat /ezxlocal/autorun.txt~ | sed 's@[email protected]@' > /ezxlocal/autorun.txt
rm /ezxlocal/autorun.txt~
sleep 1s
cp /ezxlocal/autorun.txt /ezxlocal/autorun.txt~
cat /ezxlocal/autorun.txt~ | sed '[email protected]@Voicekey.lin@' > /ezxlocal/autorun.txt
rm /ezxlocal/autorun.txt~
sleep 1s
mount --bind $APPSPATH/Aplicativo-X/ShortCutX/ShortCutX /usr/SYSqtapp/vui/vr
sleep 1s
rm -rf /ezxlocal/download/mystuff/unKnown/My_LANG/vui/*
cp $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
cat $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~ | sed 's@Com. de Voz do SD@Atalhos@' > $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg
rm $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
sleep 1s
rm -rf /ezxlocal/download/mystuff/unKnown/My_LANG/vui/*
cp $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
cat $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~ | sed 's@Comando de Voz@Atalhos@' > $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg
rm $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
showProcess "sleep 5s" "$a0" "$b4"
showNotify -t "$a0" -i "$icones_path/atalhos_s.png" -c "$b5" ""
sleep 2s &

elif [ $applist -eq 2 ]; then
cp /ezxlocal/autorun.txt /ezxlocal/autorun.txt~
cat /ezxlocal/autorun.txt~ | sed '[email protected]@REB@' > /ezxlocal/autorun.txt
rm /ezxlocal/autorun.txt~
sleep 1s
cp /ezxlocal/autorun.txt /ezxlocal/autorun.txt~
cat /ezxlocal/autorun.txt~ | sed '[email protected]@REB@' > /ezxlocal/autorun.txt
rm /ezxlocal/autorun.txt~
sleep 1s
umount $APPSPATH/Aplicativo-X/ShortCutX/ShortCutX /usr/SYSqtapp/vui/vr
rm -rf /ezxlocal/download/mystuff/unKnown/My_LANG/vui/*
cp $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
cat $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~ | sed 's@Atalhos@Comando de Voz@' > $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg
rm $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
sleep 1s
cp $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
cat $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~ | sed 's@Com. de Voz do SD@Comando de Voz@' > $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg
rm $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
showProcess "sleep 5s" "$a0" "$b4"
showNotify -t "$a0" -i "$icones_path/atalhos_s.png" -c "$b6" ""
sleep 2s &

elif [ $applist -eq 3 ]; then
cp /ezxlocal/autorun.txt /ezxlocal/autorun.txt~
cat /ezxlocal/autorun.txt~ | sed '[email protected]@VoicekeySD.lin@' > /ezxlocal/autorun.txt
rm /ezxlocal/autorun.txt~
sleep 1s
cp /ezxlocal/autorun.txt /ezxlocal/autorun.txt~
cat /ezxlocal/autorun.txt~ | sed 's@[email protected]@' > /ezxlocal/autorun.txt
rm /ezxlocal/autorun.txt~
sleep 1s
umount $APPSPATH/Aplicativo-X/ShortCutX/ShortCutX /usr/SYSqtapp/vui/vr
cp $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
cat $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~ | sed 's@Atalhos@Com. de Voz do SD@' > $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg
rm $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
sleep 1s
cp $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
cat $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~ | sed 's@Comando de Voz@Com. de Voz do SD@' > $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg
rm $REBSTATUS/ezx_ExtremeVoice.$LANG.cfg~
if [ ! -d /mmc/mmca1/VoiceCommand ]; then
    cd /mmc/mmca1/VoiceCommand
fi
ln -sdf /mmc/mmca1/VoiceCommand/* /ezxlocal/download/mystuff/unKnown/My_LANG/vui
showProcess "sleep 5s" "$a0" "$b4"
showNotify -t "$a0" -i "$icones_path/atalhos_s.png" -c "$b8" ""
sleep 2s &
fi
Legal né? rsrs, imagina o trabalho que deu pra mim fazer isso em todos os apps da MP huauhahua e depois testar 1 por 1 até ficar 100% hehehhe.. abraço
Responder com Citação
O Seguinte 2 Usuário(s) disseram "MUITO OBRIGADO" para Th!@go Por terem gostado deste post :
Arthur_rokr (07-11-2011), jr.hard (07-11-2011)