Ticket #16193: mobile.diff

File mobile.diff, 1.7 KB (added by bitigchi, 4 years ago)

patch

  • src/apps/people/PeopleApp.cpp

    diff --git a/src/apps/people/PeopleApp.cpp b/src/apps/people/PeopleApp.cpp
    index c1e14424..f7869a38 100644
    a b struct DefaultAttribute sDefaultAttributes[] = {  
    5858    { "META:zip", 50, B_TRANSLATE("Zip") },
    5959    { "META:country", 120, B_TRANSLATE("Country") },
    6060    { "META:hphone", 90, B_TRANSLATE("Home phone") },
     61    { "META:mphone", 90, B_TRANSLATE("Mobile phone") },
    6162    { "META:wphone", 90, B_TRANSLATE("Work phone") },
    6263    { "META:fax", 90, B_TRANSLATE("Fax") },
    6364    { "META:email", 120, B_TRANSLATE("E-mail") },
  • src/kits/tracker/TrackerInitialState.cpp

    diff --git a/src/kits/tracker/TrackerInitialState.cpp b/src/kits/tracker/TrackerInitialState.cpp
    index 8aacd748..e78aefa6 100644
    a b static const char* kAttrState = "META:state";  
    8282static const char* kAttrZip = "META:zip";
    8383static const char* kAttrCountry = "META:country";
    8484static const char* kAttrHomePhone = "META:hphone";
     85static const char* kAttrMobilePhone = "META:mphone";
    8586static const char* kAttrWorkPhone = "META:wphone";
    8687static const char* kAttrFax = "META:fax";
    8788static const char* kAttrEmail = "META:email";
    TTracker::InitMimeTypes()  
    371372            true, true, 120, B_ALIGN_LEFT, false);
    372373        installer.AddExtraAttribute("Home phone", kAttrHomePhone,
    373374            B_STRING_TYPE, true, true, 90, B_ALIGN_LEFT, false);
     375        installer.AddExtraAttribute("Mobile phone", kAttrMobilePhone,
     376            B_STRING_TYPE, true, true, 90, B_ALIGN_LEFT, false);
    374377        installer.AddExtraAttribute("Work phone", kAttrWorkPhone,
    375378            B_STRING_TYPE, true, true, 90, B_ALIGN_LEFT, false);
    376379        installer.AddExtraAttribute("Fax", kAttrFax, B_STRING_TYPE,