Changeset 17356


Ignore:
Timestamp:
10/10/2016 05:05:58 PM (8 months ago)
Author:
dartraiden
Message:

Avatar History: decapitalization

Location:
trunk/plugins/AvatarHistory
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/AvatarHistory/res/AvatarHistory.rc

    r17198 r17356  
    2727IDR_MENU1 MENU 
    2828BEGIN 
    29     POPUP "Avatar List Popup" 
    30     BEGIN 
    31         MENUITEM "Save As...",                  ID_AVATARLISTPOPUP_SAVEAS 
     29    POPUP "Avatar list popup" 
     30    BEGIN 
     31        MENUITEM "Save as...",                  ID_AVATARLISTPOPUP_SAVEAS 
    3232        MENUITEM "Delete this entry",           ID_AVATARLISTPOPUP_DELETE 
    3333        MENUITEM "Delete this entry and the bitmap file", ID_AVATARLISTPOPUP_DELETE_BOTH 
     
    4343IDD_AVATARDLG DIALOGEX 0, 0, 216, 195 
    4444STYLE DS_SETFONT | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU 
    45 CAPTION "Avatar History" 
     45CAPTION "Avatar history" 
    4646FONT 8, "MS Shell Dlg", 0, 0, 0x0 
    4747BEGIN 
     
    4949    CONTROL         "",IDC_AVATAR,"Static",SS_BITMAP | SS_NOTIFY | SS_CENTERIMAGE | SS_REALSIZEIMAGE | SS_SUNKEN,125,7,84,74 
    5050    LTEXT           "Static",IDC_AVATARPATH,7,105,204,26 
    51     PUSHBUTTON      "Open Folder",IDC_OPENFOLDER,6,81,49,14 
     51    PUSHBUTTON      "Open folder",IDC_OPENFOLDER,6,81,49,14 
    5252    PUSHBUTTON      "<",IDC_BACK,138,82,31,10,BS_CENTER | BS_VCENTER 
    5353    PUSHBUTTON      ">",IDC_NEXT,172,82,31,10,BS_CENTER | BS_VCENTER 
     
    106106IDD_FIRST_RUN DIALOGEX 0, 0, 451, 253 
    107107STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU 
    108 CAPTION "Avatar History: Select how to store history avatars" 
     108CAPTION "Avatar history: Select how to store history avatars" 
    109109FONT 8, "MS Shell Dlg", 0, 0, 0x0 
    110110BEGIN 
     
    121121                    "Button",BS_AUTORADIOBUTTON,15,181,416,11 
    122122    LTEXT           "History is stored inside Miranda database. It can be seen by History++ or Avatar History internal viewer.",IDC_STATIC,15,44,416,10 
    123     LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Avatar Hash>",IDC_STATIC,15,54,416,10 
     123    LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Avatar hash>",IDC_STATIC,15,54,416,10 
    124124    LTEXT           "History is stored inside Miranda database. It can be seen by History++ or Avatar History internal viewer.",IDC_STATIC,15,77,416,10 
    125     LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar Hash>",IDC_STATIC,15,87,416,10 
     125    LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar hash>",IDC_STATIC,15,87,416,10 
    126126    LTEXT           "History is stored inside Miranda database. It can be seen by History++ or Avatar History internal viewer.",IDC_STATIC,15,110,416,10 
    127     LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar Hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,120,416,18 
     127    LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,120,416,18 
    128128    LTEXT           "History is stored only in disk. It can be seen by Avatar History internal viewer.",IDC_STATIC,15,151,416,10 
    129     LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar Hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,161,416,18 
     129    LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,161,416,18 
    130130    LTEXT           "History is stored only in disk. It can be seen by Avatar History internal viewer.",IDC_STATIC,15,192,416,10 
    131131    LTEXT           "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp> (the same image can be stored lot of times)",IDC_STATIC,15,203,416,18 
  • trunk/plugins/AvatarHistory/src/AvatarDlg.cpp

    r17143 r17356  
    137137                        if (displayName) { 
    138138                                wchar_t title[MAX_PATH]; 
    139                                 mir_snwprintf(title, TranslateT("Avatar History for %s"), displayName); 
     139                                mir_snwprintf(title, TranslateT("Avatar history for %s"), displayName); 
    140140                                SetWindowText(hwnd, title); 
    141141                        } 
     
    261261 
    262262                                if (le->hDbEvent) 
    263                                         blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the history entry and the bitmap file.\nWARNING:This can affect more than one entry in history!"),  
     263                                        blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the history entry and the bitmap file.\nWARNING: This can affect more than one entry in history!"),  
    264264                                        TranslateT("Delete avatar?"), MB_YESNO|MB_ICONWARNING|MB_DEFBUTTON2|MB_SETFOREGROUND|MB_TOPMOST) == IDYES; 
    265265                                else 
    266                                         blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the shortcut and the bitmap file.\nWARNING:This can affect more than one shortcut!"),  
     266                                        blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the shortcut and the bitmap file.\nWARNING: This can affect more than one shortcut!"),  
    267267                                        TranslateT("Delete avatar?"), MB_YESNO|MB_ICONWARNING|MB_DEFBUTTON2|MB_SETFOREGROUND|MB_TOPMOST) == IDYES; 
    268268 
     
    466466        if (cursel < 0) 
    467467        { 
    468                 SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("Avatar History is empty!")); 
     468                SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("Avatar history is empty!")); 
    469469                return false; 
    470470        } 
     
    474474        if (!le || !le->filename) 
    475475        { 
    476                 SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("avatar path is null.")); 
     476                SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("Avatar path is null.")); 
    477477                return 0; 
    478478        } 
     
    515515        CMenuItem mi; 
    516516        SET_UID(mi,0x2fb5c7eb, 0xa606, 0x4145, 0x9e, 0x86, 0x73, 0x88, 0x73, 0x1d, 0xe7, 0x5c); 
    517         mi.name.w = LPGENW("View Avatar History"); 
     517        mi.name.w = LPGENW("View avatar history"); 
    518518        mi.flags = CMIF_UNICODE; 
    519519        mi.position = 1000090010; 
     
    551551        if (displayName) 
    552552        { 
    553                 mir_snwprintf(title, TranslateT("Save Avatar for %s"), displayName); 
     553                mir_snwprintf(title, TranslateT("Save avatar for %s"), displayName); 
    554554                ofn.lpstrTitle = title; 
    555555        } 
    556556        else 
    557557        { 
    558                 ofn.lpstrTitle = TranslateT("Save Avatar"); 
     558                ofn.lpstrTitle = TranslateT("Save avatar"); 
    559559        } 
    560560        ofn.nMaxFile = MAX_PATH; 
  • trunk/plugins/AvatarHistory/src/AvatarHistory.cpp

    r17312 r17356  
    153153                                        GetOldStyleAvatarName(history_filename, hContact); 
    154154                                        if (CopyImageFile(avatar->filename, history_filename)) 
    155                                                 ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), history_filename); 
     155                                                ShowPopup(hContact, TranslateT("Avatar history: Unable to save avatar"), history_filename); 
    156156                                        else 
    157157                                                ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", history_filename); 
     
    163163                                                GetOldStyleAvatarName(filename, hMetaContact); 
    164164                                                if (CopyImageFile(avatar->filename, filename)) 
    165                                                         ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), filename); 
     165                                                        ShowPopup(hContact, TranslateT("Avatar history: Unable to save avatar"), filename); 
    166166                                                else 
    167167                                                        ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", filename); 
     
    192192 
    193193                                        if (CopyImageFile(avatar->filename, history_filename)) 
    194                                                 ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), history_filename); 
     194                                                ShowPopup(hContact, TranslateT("Avatar history: Unable to save avatar"), history_filename); 
    195195                                        else 
    196196                                                ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", history_filename); 
     
    346346        Profile_GetPathW(MAX_PATH, profilePath); 
    347347 
    348         SkinAddNewSoundExW("avatar_changed",LPGENW("Avatar History"),LPGENW("Contact changed avatar")); 
    349         SkinAddNewSoundExW("avatar_removed",LPGENW("Avatar History"),LPGENW("Contact removed avatar")); 
     348        SkinAddNewSoundExW("avatar_changed",LPGENW("Avatar history"),LPGENW("Contact changed avatar")); 
     349        SkinAddNewSoundExW("avatar_removed",LPGENW("Avatar history"),LPGENW("Contact removed avatar")); 
    350350 
    351351        hAvatarWindowsList = WindowList_Create(); 
  • trunk/plugins/AvatarHistory/src/icolib.cpp

    r14334 r17356  
    1010{ 
    1111        { LPGEN("History"),        "",             IDI_AVATARHIST    }, 
    12         { LPGEN("Avatar Overlay"),      "avh_overlay",  IDI_AVATAROVERLAY } 
     12        { LPGEN("Avatar overlay"),      "avh_overlay",  IDI_AVATAROVERLAY } 
    1313}; 
    1414 
     
    3939{ 
    4040        iconList[0].hIcolib = Skin_GetIconHandle(SKINICON_OTHER_HISTORY); 
    41         Icon_Register(hInst, LPGEN("Avatar History"), iconList+1, _countof(iconList)-1); 
     41        Icon_Register(hInst, LPGEN("Avatar history"), iconList+1, _countof(iconList)-1); 
    4242        IcoLibUpdateMenus(); 
    4343} 
  • trunk/plugins/AvatarHistory/src/options.cpp

    r17143 r17356  
    135135 
    136136                        MCONTACT hContact = db_find_first(); 
    137                         ShowTestPopup(hContact,TranslateT("Test Contact"), TranslateT("Test description"), &op); 
     137                        ShowTestPopup(hContact,TranslateT("Test contact"), TranslateT("Test description"), &op); 
    138138                        break; 
    139139                } 
     
    158158        if (ServiceExists(MS_POPUP_ADDPOPUPT)) { 
    159159                odp.pwszGroup = LPGENW("Popups"); 
    160                 odp.pwszTitle = LPGENW("Avatar Change"); 
     160                odp.pwszTitle = LPGENW("Avatar change"); 
    161161                odp.pfnDlgProc = PopupsDlgProc; 
    162162                odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPS); 
  • trunk/plugins/AvatarHistory/src/utils.cpp

    r17312 r17356  
    103103 
    104104        if (proto == NULL) 
    105                 proto = Translate("Unknown Protocol"); 
     105                proto = Translate("Unknown protocol"); 
    106106 
    107107        mir_snwprintf(fn, MAX_PATH, L"%s\\%S", fn, proto); 
     
    141141                curtime.wYear, curtime.wMonth, curtime.wDay,  
    142142                curtime.wHour, curtime.wMinute, curtime.wSecond); 
    143         ShowDebugPopup(hContact,L"AVH Debug: GetOldStyleAvatarName",fn); 
     143        ShowDebugPopup(hContact, L"AVH Debug: GetOldStyleAvatarName",fn); 
    144144        return fn; 
    145145} 
     
    156156        if (!CreateShortcut(history_filename, shortcut)) 
    157157        { 
    158                 ShowPopup(hContact, TranslateT("Avatar History: Unable to create shortcut"), shortcut); 
     158                ShowPopup(hContact, TranslateT("Avatar history: Unable to create shortcut"), shortcut); 
    159159        } 
    160160        else 
    161161        { 
    162                 ShowDebugPopup(hContact, L"AVH Debug: Shortcut created successfully", shortcut); 
     162                ShowDebugPopup(hContact, L"AVH Debug: Shortcut created successfully"), shortcut); 
    163163        } 
    164164} 
Note: See TracChangeset for help on using the changeset viewer.