Bug 471925 - Percent value without i18n
Summary: Percent value without i18n
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: libakonadi (show other bugs)
Version: GIT (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 23:39 UTC by Emir SARI
Modified: 2024-03-09 19:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.