Bug 471925

Summary: Percent value without i18n
Product: [Frameworks and Libraries] Akonadi Reporter: Emir SARI <emir_sari>
Component: libakonadiAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: carl, montel
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Emir SARI 2023-07-03 23:39:47 UTC
There is a percent value in the form of (100%) attached to the string "Syncing folder '%1'", in resourcebase.cpp, but it does not look like it's localizable. I've looked at the code to see how it comes together, but it looks above my comprehension level. It would be great to have this localizable.

Other than that, I would like to enable i18n for the remaining progress bars that use a numeral format, but I don't use the PIM suite to be able to see them all. I've checked from lxr, but it's mostly not understandable which progress bar is just a bar, or a numeral value attached to it. Is there an easy way to see the ones that need i18n?
Comment 1 Laurent Montel 2023-07-04 04:58:42 UTC
"src/agentbase/resourcebase.cpp:910:                Q_EMIT q->status(AgentBase::Running, i18nc("@info:status", "Syncing folder '%1'", currentCollection.displayName()));"

=> i18n 

=> it's can be translatable.
Where do you see it ? Perhaps you didn't install language no ?
Comment 2 Emir SARI 2023-07-04 05:37:56 UTC
Sorry, failed to explain.

I see this sequence of strings in account settings dialogue, where the added accounts are listed and can be refreshed (away from the machine, so cannot write the exact name). It goes like “Syncing folder Inbox (56%)” and at least another type of string (again cannot recall at the moment). It looks like the the percentage is not the part of .displayName(), because in my translation it goes like this: “%1 klasörü eşzamanlanıyor (56%)”. The trailing percent value should be localisable.

Typing from mobile, sorry about any errors in advance. Will be away from my machine for a couple of days.
Comment 3 Emir SARI 2024-03-09 19:34:05 UTC
Fixed recently.