Bug 162139 - Base|Forms|Tablecontrol: Buttons in calendar for date aren't translated
Summary: Base|Forms|Tablecontrol: Buttons in calendar for date aren't translated
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: All All
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-22 09:59 UTC by Robert Großkopf
Modified: 2024-07-23 18:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of a form in base - untranslated buttons in tablecontrol. (42.37 KB, image/png)
2024-07-22 09:59 UTC, Robert Großkopf
Details
Database with form and date-fields for testing. (12.66 KB, application/vnd.oasis.opendocument.database)
2024-07-22 10:00 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2024-07-22 09:59:35 UTC
Created attachment 195438 [details]
Screenshot of a form in base - untranslated buttons in tablecontrol.

Open the attached screenshot. Shows the calendar for a standalone form element, where buttons have been translated. Shows also the calendar inside a table control where buttons aren't translated.

Tested with
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

but think it is a very old bug.
Comment 1 Robert Großkopf 2024-07-22 10:00:57 UTC
Created attachment 195439 [details]
Database with form and date-fields for testing.
Comment 2 m_a_riosv 2024-07-22 11:05:38 UTC
Reproducible also with
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ba0e0093b0ed2816a18e54eef0a92220d7b04a4d
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Julien Nabet 2024-07-23 10:57:48 UTC
Thank you Robert for having spotted this, here's the patch:
https://gerrit.libreoffice.org/c/core/+/170898
Comment 4 Commit Notification 2024-07-23 17:56:23 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3bb3052ee95da72a59b0ce354e98111a426110e8

tdf#162139: make 2 buttons in the date form control translatable

It will be available in 25.2.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 5 Julien Nabet 2024-07-23 18:01:55 UTC
Since "Hard English string" phase is over for 24.8 (see https://wiki.documentfoundation.org/ReleasePlan/24.8), let's put this one to FIXED.

Ideally, it would be great to merge svtools/uiconfig/ui/datewindow.ui  with svtools/uiconfig/ui/calendar.ui but don't know if it's possible.