FreemapSlovakia / freemap-v3-react

Freemap Slovakia web application (www.freemap.sk)
https://www.freemap.sk/
Apache License 2.0
35 stars 17 forks source link

Create it.tsx #670

Closed dp7x closed 2 years ago

dp7x commented 2 years ago

I am working on the italian translations of freemap. Please note the translation of this file is still not complete !

zdila commented 2 years ago

@dp7x ok thank you! note that you don't need to translate commented lines (starting with //)

dp7x commented 2 years ago

Thank you @zdila , I knew but it was easy anyway so I did it ! :)

Please help me with pieces of code like this: what are the parts I have to translate ?

    // eslint-disable-next-line
    short: ({ arrivo, prezzo, numeri }) => (
      <>
        Arrival: <b>{arrival}</b> | Price: <b>{price} €</b> | Lines:{' '}
        {numbers?.map((n, i) => (
          <Fragment key={n}>
            {i > 0 ? ', ' : ''}
            <b>{n}</b>
          </Fragment>
        ))}
      </>
    ),

Thanx !

zdila commented 2 years ago

Translate only this line omitting words in {}:

Arrival: <b>{arrival}</b> | Price: <b>{price} €</b> | Lines:{' '}
zdila commented 2 years ago

Thanks you, I've merged the pull request, but feel free to do another one if you want to update the file.