The Magic Frog in French (Development Update) by helo

in #utopian-io7 years ago

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

Sort:  

All the best for your project. May it get success. You are really doing good job. Thanks for sharing your experience with all.

That's very kind of you. We're looking for delegators if you want to support the cause.

Have a great day.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey @helo
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.24
TRX 0.26
JST 0.041
BTC 98449.34
ETH 3495.58
USDT 1.00
SBD 3.36