Bug 465785 - Evaluate translations for akonadiconsole
Summary: Evaluate translations for akonadiconsole
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: GIT (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 18:34 UTC by Luigi Toscano
Modified: 2023-02-16 06:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.23.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi Toscano 2023-02-15 18:34:23 UTC
SUMMARY

akonadiconsole links to KI18n, but it does not extract the messages and does not mark as translatable most of the strings.
This lead to a weird situation where right now a few messages are translated (the shared menus coming from KXMLGui). 
Also, the code itself has two calls to i18n* functions, which are useless because the messages are not extracted.

I understand akonadiconsole is meant as a more low-level tool, but on the other hand, we translate also development tools.
So I'd suggest making akonadiconsole UI translatable

Version affected: any up to the current (2023-02-15 git master,, future Gear 23.04).
Comment 1 Laurent Montel 2023-02-16 06:43:16 UTC
Git commit f9363c544edd34bd081c7a476ee0ffb0be6b1307 by Laurent Montel.
Committed on 16/02/2023 at 06:31.
Pushed by mlaurent into branch 'master'.

Fix bug 465785: Evaluate translations for akonadiconsole
FIXED-IN: 5.23.0

M  +5    -4    src/agentconfigdialog.cpp
M  +25   -25   src/agentwidget.cpp
M  +3    -2    src/akonadibrowsermodel.cpp
M  +16   -15   src/browserwidget.cpp
M  +4    -2    src/collectionattributespage.cpp
M  +2    -2    src/collectioninternalspage.cpp
M  +2    -1    src/connectionpage.cpp
M  +2    -1    src/dbconsole.cpp
M  +5    -3    src/debugmodel.cpp
M  +8    -7    src/debugwidget.cpp
M  +4    -3    src/instanceselector.cpp
M  +6    -5    src/jobtracker.cpp
M  +9    -7    src/jobtrackermodel.cpp
M  +11   -10   src/jobtrackersearchwidget.cpp
M  +7    -5    src/jobtrackerwidget.cpp
M  +14   -12   src/logging.cpp
M  +16   -14   src/loggingmodel.cpp
M  +6    -5    src/main.cpp
M  +18   -18   src/mainwidget.cpp
M  +6    -5    src/mainwindow.cpp
M  +2    -1    src/monitorsmodel.cpp
M  +47   -46   src/monitorswidget.cpp
M  +42   -40   src/notificationmodel.cpp
M  +186  -185  src/notificationmonitor.cpp
M  +12   -10   src/querydebugger.cpp
M  +13   -14   src/searchwidget.cpp
M  +4    -2    src/tagpropertiesdialog.cpp

https://invent.kde.org/pim/akonadiconsole/commit/f9363c544edd34bd081c7a476ee0ffb0be6b1307