[Korganizer-devel] [Bug 170277] New: i18n: impossible to translate "my calendar", "my todo", "my journal"
Thomas Reitelbach
tr at erdfunkstelle.de
Tue Sep 2 23:27:25 CEST 2008
http://bugs.kde.org/show_bug.cgi?id=170277
Summary: i18n: impossible to translate "my calendar", "my todo",
"my journal"
Product: korganizer
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: korganizer-devel at kde.org
ReportedBy: tr at erdfunkstelle.de
Version: 4.1.0 (using 4.1.2 (KDE 4.1.1 (KDE 4.1 >= 20080828)),
compiled sources)
Compiler: gcc
OS: Linux (i686) release 2.6.18.8-0.10-default
In KOrganizer there are prettified ressource names for ressources that belong
to "me", namely "My Calendar", "My TODO" etc.
Unfortunately those are impossible to translate into german, because it's a
puzzle sentence. Depending on the ressource, I have to translate "My"
different.
The offending lines are found in kmail/kmailicalifaceimpl.cpp around line 675
(KDE 4.1.2 stable branch):
// Another special case is our own folders, under the imap INBOX, make
// those prettier too
const KMFolder *parent = folder;
while ( parent->parent() && parent->parent()->owner() ) {
parent = parent->parent()->owner();
if ( parent->isSystemFolder() ) {
QStringList remainder(parts);
remainder.pop_front();
remainder.pop_front();
label = i18n("My %1", remainder.join( QString::fromLatin1("/") ) );
break;
}
}
Can you please change this code and make it possible to translate "My ..." for
each ressource different! We need something like
i18n("My Calendar");
i18n("My TODO");
...
I guess you get the point :)
Thank you. I'm sure other languages have the same problem here.
cheers
thomas
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Korganizer-devel
mailing list