Bug 68609 - outbox sent-mail drafts trash not translateable
Summary: outbox sent-mail drafts trash not translateable
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.93
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 22:21 UTC by F Schuette
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 F Schuette 2003-11-19 22:21:58 UTC
Version:           1.5.93 (using KDE 3.1.93 (CVS >= 20031028), compiled sources)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB-athlon

I translate kmail (HEAD) to german.
I cannot find the msgstrings for the folders
in the kmail.po file.
I did a grep in kde-i18n/de and no po file
seems to contain this msgstrings.

I did a grep in kdepim/kmail and found
a string in a file kmfoldermanager... ?
which does contain "outbox" but no
"i18n" around.

Bye,
Frank
Comment 1 Ingo Klöcker 2003-11-19 23:25:21 UTC
Subject: kdepim/kmail

CVS commit by kloecker: 

Restore "inbox", "outbox" etc. for translation (cf. http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdepim/kmail/kmkernel.cpp#rev1.123). This is just another change that was lost during the insane make-it-cool merge. :-(
CCMAIL: 68609-fixed@bugs.kde.org


  M +5 -5      kmkernel.cpp   1.221


--- kdepim/kmail/kmkernel.cpp  #1.220:1.221
@@ -664,5 +664,5 @@ void KMKernel::initFolders(KConfig* cfg)
   //if (name.isEmpty()) name = getenv("MAIL");
 
-  if (name.isEmpty()) name = "inbox";
+  if (name.isEmpty()) name = I18N_NOOP("inbox");
 
   the_inboxFolder  = (KMFolder*)the_folderMgr->findOrCreate(name);
@@ -675,5 +675,5 @@ void KMKernel::initFolders(KConfig* cfg)
   // inboxFolder->open();
 
-  the_outboxFolder = the_folderMgr->findOrCreate(cfg->readEntry("outboxFolder", "outbox"));
+  the_outboxFolder = the_folderMgr->findOrCreate(cfg->readEntry("outboxFolder", I18N_NOOP("outbox")));
   if (the_outboxFolder->canAccess() != 0) {
     emergencyExit( i18n("You do not have read/write permission to your outbox folder.") );
@@ -684,5 +684,5 @@ void KMKernel::initFolders(KConfig* cfg)
   the_outboxFolder->open();
 
-  the_sentFolder = the_folderMgr->findOrCreate(cfg->readEntry("sentFolder", "sent-mail"));
+  the_sentFolder = the_folderMgr->findOrCreate(cfg->readEntry("sentFolder", I18N_NOOP("sent-mail")));
   if (the_sentFolder->canAccess() != 0) {
     emergencyExit( i18n("You do not have read/write permission to your sent-mail folder.") );
@@ -692,5 +692,5 @@ void KMKernel::initFolders(KConfig* cfg)
   // the_sentFolder->open();
 
-  the_trashFolder  = the_folderMgr->findOrCreate(cfg->readEntry("trashFolder", "trash"));
+  the_trashFolder  = the_folderMgr->findOrCreate(cfg->readEntry("trashFolder", I18N_NOOP("trash")));
   if (the_trashFolder->canAccess() != 0) {
     emergencyExit( i18n("You do not have read/write permission to your trash folder.") );
@@ -700,5 +700,5 @@ void KMKernel::initFolders(KConfig* cfg)
   // the_trashFolder->open();
 
-  the_draftsFolder = the_folderMgr->findOrCreate(cfg->readEntry("draftsFolder", "drafts"));
+  the_draftsFolder = the_folderMgr->findOrCreate(cfg->readEntry("draftsFolder", I18N_NOOP("drafts")));
   if (the_draftsFolder->canAccess() != 0) {
     emergencyExit( i18n("You do not have read/write permission to your drafts folder.") );