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
Milos
On 8/28/21 4:41 PM, Mihkel Tõnnov wrote:
Hi,
I am translating offline (using Lokalize) and have a script to sync my work
to Weblate. During my latest "translation sprint" before the release of
7.2, I realised to my annoyance that the uploaded files no longer overwrite
existing translations in case of conflicts. Meaning, if I fix a typo or
otherwise change a string that's been translated before, it no longer gets
updated to Weblate, unless I manually upload the file. The script uses wlc
to upload, basically like this:
wlc upload --overwrite --input "$local_file.po"
"$weblate_project/$weblate_component/$language"
Strings that are untranslated or fuzzy on Weblate get updated as expected.
I tried also to specify "--method translate" [1], but this made no
difference (and I've never needed that before).
Just in case, tried with "--method replace" as well, which gave me: "Error:
You do not have permission to perform this action." Looking at [1], I think
that's to be expected.
I'm not sure when was the last time it worked -- definitely before 7.1 was
released. Has something changed in the Weblate config/permissions since
then?
Is anyone else using wlc and can confirm this?
[1] https://docs.weblate.org/en/latest/user/files.html#import-methods
Thanks,
Mihkel
Estonian translator
--
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.