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: [email protected]


-- 
To unsubscribe e-mail to: [email protected]
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

Reply via email to