The Magic Frog in French (Development Update) by helo

grenouille.jpg

The main development around this contribution post is laying the foundation for the internalisation of the magic frog project and also the translation of all the UI texts in French. See this update from @mkt.

Repositories

Proof of work

New Features

The internalisation was implemented using the vue plugin vue-i18n, see it's documentation.

There was a lot of translation done as you can see by the pull requests above, and also some code adjustments to allow the upcoming french version of the project.

image.png

The project could not work without it's magic story machine code. A few updates happened there as well. See many more translations here as well.

image.png

Also added some instruction for proper use:
image.png

Then added a new script to start the project, to be run only once: initstory.js

I created a new function to take care of the beneficiaries:

getBeneficiaries(lang) {
    switch (lang) {
      case 'en':
      case 'de':
        return [[0, {
          beneficiaries: [
            {
              account: 'mkt',
              weight: 500
            }
          ]
        }]];
      case 'fr':
        return [[0, {
          beneficiaries: [
            {
              account: 'mkt',
              weight: 100
            },
            {
              account: 'helo',
              weight: 400
           }
          ]
        }]];
    }        
  }

GitHub Account

https://github.com/gluneau

To see the changes in action... PARTICIPATE!

Visit:
the-magic-frog.com

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
5 Comments