Ticket #5918: mail.patch

File mail.patch, 1.3 KB (added by yourpalal, 14 years ago)

remove translation of add-on file paths

  • src/preferences/mail/Account.cpp

     
    304304    if (!BEntry(path.Path()).Exists()) {
    305305        find_directory(B_BEOS_ADDONS_DIRECTORY,&path);
    306306        path.Append(kSystemFilterAddOnPath);
    307         path.Append(TR ("New mail notification"));
     307        path.Append("New mail notification");
    308308    }
    309309    BEntry(path.Path()).GetRef(&ref);
    310310    fInbound->AddFilter(msg,ref);
     
    312312    // Inbox
    313313    path = addOnPath;
    314314    path.Append(kSystemFilterAddOnPath);
    315     path.Append(TR ("Inbox"));
     315    path.Append("Inbox");
    316316    if (!BEntry(path.Path()).Exists()) {
    317317        find_directory(B_BEOS_ADDONS_DIRECTORY,&path);
    318318        path.Append(kSystemFilterAddOnPath);
    319         path.Append(TR ("Inbox"));
     319        path.Append("Inbox");
    320320    }
    321321    BEntry(path.Path()).GetRef(&ref);
    322322    fInbound->AddFilter(msg,ref);
     
    347347       
    348348    path = addOnPath;
    349349    path.Append(kSystemFilterAddOnPath);
    350     path.Append(TR ("Outbox"));
     350    path.Append("Outbox");
    351351    if (!BEntry(path.Path()).Exists()) {
    352352        find_directory(B_BEOS_ADDONS_DIRECTORY,&path);
    353353        path.Append(kSystemFilterAddOnPath);
    354         path.Append(TR ("Outbox"));
     354        path.Append("Outbox");
    355355    }
    356356    BEntry(path.Path()).GetRef(&ref);
    357357    fOutbound->AddFilter(msg,ref);