Hi Mihkel,

Le 08/05/2022 à 02:42, Mihkel Tõnnov a écrit :
Hi Milos, Sophie,

Milos Sramek (<sramek.mi...@gmail.com>) kirjutas 24.03.2022 kell 18:48:

Hi,

the upgrade helped, it works now using curl.


Overwriting existing translations still fails for me, both with wlc and
curl. Example commands:

wlc --key "<my API key from Weblate>" --url "
https://translations.documentfoundation.org/api/"; upload --input
"master/libo_ui/svl/messages.po" --overwrite --method translate
"libo_ui-master/svlmessages/et"

curl -s -X POST -F method=translate -F overwrite=true -F
conflict=replace-translated -F file=@"master/libo_ui/svl/messages.po" -
H "authorization: Token <my API key>"
https://translations.documentfoundation.org/api/translations/libo_ui-master/svlmessages/et/file/

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

Previously untranslated or fuzzy strings get updated as expected.

Milos, does it still work for you now with curl?
Sophie, did Christian perhaps find anything as to why it's failing?

To better track your issue, I've opened:
https://redmine.documentfoundation.org/issues/3583
Cheers
Sophie


--
Sophie Gautier so...@libreoffice.org
GSM: +33683901545
IRC: soph
Foundation coordinator
The Document Foundation

--
To unsubscribe e-mail to: l10n+unsubscr...@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

Reply via email to