Coder Social home page Coder Social logo

Comments (5)

marcelcampinas avatar marcelcampinas commented on August 23, 2024

Boa Tarde,

Já foi 100% Traduzido para PT-BR por este site: www.hackeduca.com.br/. Uso sempre em aula.

Olha Aqui: Google Drive

from mixly_arduino.

fredqian avatar fredqian commented on August 23, 2024

from mixly_arduino.

luizsoliveira avatar luizsoliveira commented on August 23, 2024

from mixly_arduino.

macomzzl avatar macomzzl commented on August 23, 2024
  1. I made the following modification in the apps\mixly\code.js file, but the
    translation is not loaded successfully.

The reason is that some translation in pt-br.js is lacked. for example, there are some translation in en.js, but not in pt-br.js, as below.

var MSG = {
  catInOut: "In/Out",
  catControl: "Control",
  catMath: "Math",
  catText: "Text",
  catLists: "Lists",
  catMicropyLists: "Lists",
  catDicts: "Dictory",
  catLogic: "Logic",
  catSerialPort:"SerialPort",
  catGroup: "Communicate",
  catStorage:"Storage",
  catSensor: "Sensor",
  catActuator: "Actuator",
  catMonitor:"Monitor",
  catVar: "Variables",
  catFun: "Functions",
  catEthernet:"Ethernet",
  catEthernet_init:"Init",
  catEthernet_clinet:"Client",
  catSense: "Labplus(Box)",
  catSense2: "Labplus(Robot)",
  catLuxe:"LuxeRobot",
  tab_blocks: "Blocks",
  tab_arduino: "Code",
  copyright:"Copyright © Mixly Team@BNU				 HTTP://MIXLY.ORG",
  viewNormal:"Normal",
  viewAdvanced:"Advanced",
  catGame:"Game",
  catSystem:"System",
  catTurtle:"Turtle",
  catTuple:"Tuple",
  catSet:"Set"
};

Just compare pt-bt.js and en.js carefully,and fill up the lack msg. And then, everything will be ok.

  1. In addition, there are other buttons in Mixly that do not inherit messages
    from Google Blockly

I'm sorry for tell you that this part of mixly is not open source for some reason. But as below, Here are all messages in english that are not inherit Google Blockly. You can change the value in pt-br,and comment it as the follows, and then I will take it into mixly in next version.

new=New 
open=Open
save=Save
save_as=Save as
export=Export
import=Import
manager=Manager
compile=Compile
upload=Upload
port_monitor=Monitor
rename=Rename
delete=Delete
open_directory=Open directory
send=Send
clear=Clear
baud_rate=Baud Rate
auto_scroll=Auto scroll
lib_manager=Library manager
input_new_name=Input a new name
compile_success=Compile success!
compile_failed=Compile failed!
upload_success=Upload success!
upload_failed=Upload failed!
btn_ok=Yes
btn_cancel=Cancel
warning=Warning!!!
warning_text=Your program has not been saved, continue this operation?
btn_huitu=Draw
txt_max=Max
txt_min=Min
btn_txt_mode=Text mode
value=Value
msg_compiling=Compiling
msg_uploading=Uploading
canceled=\ is canceled! 
hardwaraTestTooltip=Hardware Test
saveBlocksImg=Save Imagine
sliderTooltip=drag to zoom
noPortAvailable=no port available
saveAsMixFile=save as ".mix" file
openFile=open xml/mix file
libraryName=library_name
exportLibrary=export library
exportSuccessfully=export library successfully! the file is:
importLibrary=import library
tip=tip:
alreadyCovered=is already rewritten
importCustomLibrarySuccessfully=import custom library successfully!
importCustomLibraryFailed=import custom library failed!
notALibraryFile=your chosen file is not a valid library file
uploadingHardwareTestProgram=uploading hardware test program, please wait...
uploadHardwareTestProgramSuccessfully=upload hardware test program successfully, now spying on the pin status...
uploadHardwareTestProgramFailed=upload hardware test program failed, we can not spy on the pin status!
userAgreement=User Agreement
userAgreementText=\nDo you agree that Mixly collects users to use the data to further improve the Mixly? \n If you disagree, please click "do not agree" button continue!
btnAgree=Yes
btnNotAgree=No
runpy=Run
killpy=Cancel
burnFirmware=Firmware
burning=Init Firmware...
burnSucc=Init Firmware Success!
burnFailed=Init Firmware Failed!
burnSucc=Init Firmware Success!

from mixly_arduino.

samufraga avatar samufraga commented on August 23, 2024

Hi,
I'd like to contribute if there's still time. It would be nice if you added the portuguese language.

new=Novo
open=Abrir
save=Salvar
save_as=Salvar como
export=Exportar
import=Importar
manager=Gerenciar
compile=Compilar
upload=Carregar
port_monitor=Monitorar
rename=Renomear
delete=Excluir
open_directory=Abrir diretório
send=Enviar
clear=Limpar
baud_rate=Baud Rate
auto_scroll=Auto-rolagem
lib_manager=Gerenciador de biblioteca
input_new_name=Inserir um novo nome
compile_success=Compilação terminada!
compile_failed=Falha na compilação!
upload_success=Carregado com sucesso!
upload_failed=Falha no carregamento!
btn_ok=Sim
btn_cancel=Cancelar
warning=Atenção!!!
warning_text=Seu programa não foi salvo, deseja continuar?
btn_huitu=Plotar
txt_max=Max
txt_min=Min
btn_txt_mode=Modo texto
value=Valor
msg_compiling=Compilando
msg_uploading=Carregando
canceled=\ foi cancelado(a)!
hardwaraTestTooltip=Teste de Hardware
saveBlocksImg=Salvar imagem
sliderTooltip=arraste para o zoom
noPortAvailable=nenhuma porta disponível
saveAsMixFile=salvar como arquivo ".mix"
openFile=abrir arquivo xml/mix
libraryName=nome_da_biblioteca
exportLibrary=exportar biblioteca
exportSuccessfully=biblioteca exportada com sucesso! O arquivo é:
importLibrary=importar biblioteca
tip=dica:
alreadyCovered=já foi reescrito(a)
importCustomLibrarySuccessfully=biblioteca importada com sucesso!
importCustomLibraryFailed=falha ao importar biblioteca!
notALibraryFile=o arquivo escolhido não é um arquivo de biblioteca válido
uploadingHardwareTestProgram=carregando programa de teste de hardware, aguarde...
uploadHardwareTestProgramSuccessfully=programa de teste de hardware carregado com sucesso, monitorando o estado dos pinos...
uploadHardwareTestProgramFailed=falha ao carregar programa de teste de hardware, não é possível monitorar o estado dos pinos!
userAgreement=Acordo de usuário
userAgreementText=\nVocê concorda que o Mixly colete dados de uso afim de usá-los para aprimoramentos futuros no Mixly?\n Se você discorda, clique em "não concordo"!
btnAgree=Sim, concordo
btnNotAgree=Não concordo
runpy=Executar
killpy=Cancelar
burnFirmware=Firmware
burning=Inicializando Firmware...
burnSucc=Firmware inicializada com sucesso!
burnFailed=Falha ao inicializar Firmware!

from mixly_arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.