common-voice / sentence-collector

Tool to collect and review sentences for Common Voice
https://commonvoice.mozilla.org/sentence-collector/
Mozilla Public License 2.0
81 stars 63 forks source link

Issue in language strings in Pontoon #543

Closed HarikalarKutusu closed 2 years ago

HarikalarKutusu commented 2 years ago

For readability purposes, we divided the sentences into lines. Such as:

sc-home-intro = %The Sentence Collector is part of <commonVoiceLink>Common Voice</commonVoiceLink>.
    It allows contributors to collect and validate sentences created by the community.
    You can use this tool also to import and clean-up small-to-medium-sized public domain corpus 
    you have found or collected. All sentences need to be Public Domain.
    Approved sentences are exported every week to the Common Voice repository and are released
    on the Common Voice website on every new deployment.

But when it is transferred to Pontoon, they are also regarded as different lines. So, for example, Google Translate helper gets confused from that. It tries to translate the following separately:

  1. You can use this tool also to import and clean up small-to-medium-sized public domain corpus
  2. you have found or collected. All sentences need to be Public Domain.

Of course, we shouldn't rely on Google Translate, but it gives us a head start... We copy it and correct it...

I'm preparing a PR now... Another export would be advisable before the sentences got translated.

HarikalarKutusu commented 2 years ago

PR done...

MichaelKohler commented 2 years ago

Oh no, this is a good point. I did not think of that. Thanks for the PR!

MichaelKohler commented 2 years ago

:tada: This issue has been resolved in version 2.13.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: