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


Hi Mihkel,

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

Milos Sramek (<sramek.milos@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 sophi@libreoffice.org
GSM: +33683901545
IRC: soph
Foundation coordinator
The Document Foundation

--
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.