Ticket #6987: InfoWindow.patch

File InfoWindow.patch, 972 bytes (added by Karvjorm, 13 years ago)

Trying to solve a text clipping problem in a localized text.

  • InfoWindow.cpp

     
    10211021        symLink.ReadLink(linkToPath, B_PATH_NAME_LENGTH);
    10221022        fLinkToStr = linkToPath;
    10231023        if (!linked)
    1024             fLinkToStr += " (broken)";  // link points to missing object
     1024            fLinkToStr += B_TRANSLATE(" (broken)"); // link points to missing object
    10251025    } else if (model->IsExecutable()) {
    10261026        if (((Model*)model)->GetLongVersionString(fDescStr, B_APP_VERSION_KIND) == B_OK) {
    10271027            // we want a flat string, so we replace all newlines/tabs with spaces
     
    10951095                    && itemNode.node == model->NodeRef()->node)) {
    10961096                model->UpdateEntryRef(&dirNode, name);
    10971097                BString title;
    1098                 title << name << " info";
     1098                title << name << B_TRANSLATE(" info");
    10991099                Window()->SetTitle(title.String());
    11001100                WidgetAttributeText::AttrAsString(model, &fPathStr, kAttrPath,
    11011101                    B_STRING_TYPE, 0, this);