Date: prev next · Thread: first prev next last
2021 Archives by date, by thread · List index


Hi,
the requested script potrans.py is available on Github:
https://github.com/milossramek/translation-scripts/tree/master/weblate 
(with documentation)

To use it:
1. one needs weblate credentials:
https://github.com/milossramek/translation-scripts/tree/master/weblate#switches

2. then, one has to download translations:
|potrans.py -p ui download|
|
|
|3. Then it is necessary to change at leass one string in the downloaded
files by a common editor|
|
|
|4. One can check, what has changed:|

|modified files:|
||potrans.py -p ui modified|
|

|differences:|
||potrans.py -p ui diff||
||
||
||5. upload the changes|
|
||
|||potrans.py -p ui up|||
|||
|||
|||As stated below, the problem is that the number of accepted
translations is 0|||
|||
|||
|||Milos
|||


On 9/9/21 5:03 PM, sophi wrote:
Hi Milos,
Le 28/08/2021 à 22:02, Milos Sramek a écrit :
Hi Mikhel,

I can confirm - I've tested it by changing translation of one string,
but it was refused.

I do not use wlc, I use curl. This is the result message

Result:
{"not_found":0,"skipped":3613,"accepted":0,"total":3613,"result":false,"count":3613}

Here, accepted:0 indicates that the translation was rejected.

A successful  upload of a new translation looks like this:
Result:
{"not_found":0,"skipped":197,"accepted":1,"total":318,"result":true,"count":318}


I think this is a major bug
Could you send me the script you are using, Christian is currently
debugging it and that would help a lot. Thanks in advance,

Cheers
Sophie


-- 
email & jabber: sramek.milos@gmail.com


-- 
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.