Bug 492333

Summary: Translation for the history settings tab is not available
Product: [Applications] konqueror Reporter: Victor Ryzhykh <victorr2007>
Component: sidebarAssignee: Stefano Crocco <stefano.crocco>
Status: CONFIRMED ---    
Severity: normal CC: victorr2007
Priority: NOR Keywords: qt6, regression, wayland-only
Version First Reported In: 24.08.0   
Target Milestone: ---   
Platform: ROSA RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: fix.messages.patch
fix.message.cookes.patch

Description Victor Ryzhykh 2024-08-28 17:17:53 UTC
Created attachment 173053 [details]
fix.messages.patch

To add the translation I used the attached patch.
This adds a new localization file that works correctly and displays the translation of the history settings.
Comment 1 Victor Ryzhykh 2024-08-28 18:02:59 UTC
Created attachment 173054 [details]
fix.message.cookes.patch

Another patch that fixes the translation for the cookes settings tab
Comment 2 Stefano Crocco 2024-11-13 20:02:30 UTC
Sorry for the late reply.

I tried your patches, but they didn't work for me. Did you need to do anything particular to have the text in the correct language? What language did you use?
Comment 3 Victor Ryzhykh 2024-11-15 16:48:42 UTC
(In reply to Stefano Crocco from comment #2)
> Sorry for the late reply.
> 
> I tried your patches, but they didn't work for me. Did you need to do
> anything particular to have the text in the correct language? What language
> did you use?

The attached patch only adds to the konqueror.pot file the missing lines from
https://invent.kde.org/network/konqueror/-/tree/master/settings/konqhtml/cookies
After that, you need to update the konqueror.po file of your locale, from the konqueror.pot file.
Well, and then make a translation of new lines in the konqueror.po file.
P.S.
I made another patch for myself.
With one patch, not all lines were translated anyway, and we managed to partially fix this in the package with the second patch.
https://abf.rosalinux.ru/kde6_backports/plasma6-konqueror
I also added corrected localization files to the package.
https://abf.rosalinux.ru/kde6_backports/plasma6-konqueror/blob/rosa2023.1/.abf.yml
Comment 4 Victor Ryzhykh 2024-11-15 16:57:09 UTC
If the attached patch is added to git konqueror,
then after that the script will process the files in git,
and will add additional lines to files, for example,
https://websvn.kde.org/branches/stable/l10n-kf6/fr/messages/konqueror/
and in other locales on
https://websvn.kde.org/branches/stable/l10n-kf6