Bug 149096 - Prevent 'Get' and 'Post' in submit methods field from being translated
Summary: Prevent 'Get' and 'Post' in submit methods field from being translated
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Julien Nabet
URL: https://developer.mozilla.org/en-US/d...
Whiteboard: target:7.4.0 target:7.3.5
Keywords:
: 149226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-15 12:10 UTC by Regina Henschel
Modified: 2022-05-31 14:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-05-15 12:10:22 UTC
Take a document with a form and switch to Design Mode (menu Form). Then open dialog "Form Properties" (menu Form). It has a drop-down list with label "Type of submission" on tab "General". The list has the items "Get" and "Post". These items should not be translated, because they are well defined technical terms.
Comment 1 Robert Großkopf 2022-05-15 15:15:17 UTC
One hint: It has been translated in current LO 7.3.3.2 as
Get → "Abrufen" (like: to get mails)
Post → "Senden" (like: to send a mail)
And this is totally wrong.
Comment 2 Julien Nabet 2022-05-22 10:01:38 UTC
I gave a try with https://gerrit.libreoffice.org/c/core/+/134718

Robert: what's the difference between tdf#149226 and this one? Indeed both are about removing translation of "Get" and "Post" methods in Writer/formular.
Comment 3 Robert Großkopf 2022-05-22 10:48:10 UTC
(In reply to Julien Nabet from comment #2)
> I gave a try with https://gerrit.libreoffice.org/c/core/+/134718
> 
> Robert: what's the difference between tdf#149226 and this one? Indeed both
> are about removing translation of "Get" and "Post" methods in
> Writer/formular.

Translation is totally wrong. So I filed a new bug (if this one couldn't be solved) to set back to the English version.
I have also tried now to "translate" it the right way through
https://translations.documentfoundation.org/languages/de/
but could only suggest the right "translation".
Comment 4 Julien Nabet 2022-05-22 11:10:19 UTC
(In reply to Robert Großkopf from comment #3)
> (In reply to Julien Nabet from comment #2)
> ...
> 
> Translation is totally wrong. So I filed a new bug (if this one couldn't be
> solved) to set back to the English version.
> I have also tried now to "translate" it the right way through
> https://translations.documentfoundation.org/languages/de/
> but could only suggest the right "translation".

Ok but just for information my patch consists to remove these 2 strings from all translations ; indeed with it I put "Get" and "Post" directly in the UI.
The advantage is these 2 strings will be removed from translation process for all languages, so no need to fix languages one by one.

About the fact you can only suggest, it's expected since you need specific rights to modify translations. I've been given these rights several years because I regularly fix xml tags but you can send an email to Sophie according to https://wiki.documentfoundation.org/Language/WeblateGuide (in "Roles" paragraph).
Comment 5 Commit Notification 2022-05-24 07:06:41 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/93b4191cefa5062b120c77335776beee34ee4392

tdf#149096: don't translate "Get" and "Post" submit methods

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Julien Nabet 2022-05-24 07:49:33 UTC
*** Bug 149226 has been marked as a duplicate of this bug. ***
Comment 7 Julien Nabet 2022-05-24 07:50:32 UTC
Perhaps it can be backported to 7.3 but reading comments in https://gerrit.libreoffice.org/c/core/+/134789, not sure.
Anyway, it should be fixed at least on master.
Comment 8 Commit Notification 2022-05-31 14:12:06 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/2aeee5a0f545e9fb628fc7b02bee6b07e89a77bf

tdf#149096: don't translate "Get" and "Post" submit methods

It will be available in 7.3.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.