From 2ffd8c86a1221fb2a823bd451316171b4aef5499 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Fri, 22 Nov 2013 21:23:33 +0000 Subject: Db_autobackups: cosmetics and de-capitalization git-svn-id: http://svn.miranda-ng.org/main/trunk@6959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db_autobackups/res/db_autobackups.rc | 6 +++--- plugins/Db_autobackups/src/backup.cpp | 2 +- plugins/Db_autobackups/src/options.cpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/Db_autobackups') diff --git a/plugins/Db_autobackups/res/db_autobackups.rc b/plugins/Db_autobackups/res/db_autobackups.rc index c5ab6582eb..7f5794dae8 100644 --- a/plugins/Db_autobackups/res/db_autobackups.rc +++ b/plugins/Db_autobackups/res/db_autobackups.rc @@ -38,7 +38,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_CHILD FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN GROUPBOX "Automatic backups",IDC_STATIC,6,4,258,209,WS_GROUP - RTEXT "Number of backups to keep:",IDC_STATIC,13,94,132,8 + RTEXT "Number of backups to keep:",IDC_STATIC,13,92,132,8 EDITTEXT IDC_ED_NUMBACKUPS,164,90,30,12,ES_NUMBER,WS_EX_RIGHT CONTROL "",SPIN_NUMBACKUPS,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,182,90,10,12 PUSHBUTTON "Backup NOW",IDC_BUT_NOW,173,19,75,14 @@ -47,8 +47,8 @@ BEGIN CONTROL "When Miranda exits",IDC_RAD_EXIT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,51,156,10 CONTROL "Every:",IDC_RAD_PERIODIC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,67,43,10 COMBOBOX IDC_PT,148,67,46,30,CBS_DROPDOWNLIST | WS_TABSTOP - EDITTEXT IDC_ED_PERIOD,106,67,30,12,ES_NUMBER,WS_EX_RIGHT - CONTROL "",SPIN_PERIOD,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,126,67,10,12 + EDITTEXT IDC_ED_PERIOD,116,67,30,12,ES_NUMBER,WS_EX_RIGHT + CONTROL "",SPIN_PERIOD,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,136,67,10,12 LTEXT "Backup to folder:",IDC_STATIC,18,120,124,11 EDITTEXT IDC_ED_FOLDER,26,133,168,13,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BUT_BROWSE,199,132,49,14 diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp index f4a3009ae3..a15eeb4c3a 100644 --- a/plugins/Db_autobackups/src/backup.cpp +++ b/plugins/Db_autobackups/src/backup.cpp @@ -128,7 +128,7 @@ INT_PTR DBSaveAs(WPARAM wParam, LPARAM lParam) i += mir_sntprintf(tszFilter + i, 84, _T("%s (*.zip)"), TranslateT("Compressed Miranda NG databases")) + 1; _tcscpy(tszFilter + i, _T("*.zip")); i += 6; - i += mir_sntprintf(tszFilter + i, 48, _T("%s (*.*)"), TranslateT("All Files")) + 1; + i += mir_sntprintf(tszFilter + i, 48, _T("%s (*.*)"), TranslateT("All files")) + 1; _tcscpy(tszFilter + i, _T("*")); tszFilter[i + 2] = 0; diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp index f06b710eba..61dca04df3 100644 --- a/plugins/Db_autobackups/src/options.cpp +++ b/plugins/Db_autobackups/src/options.cpp @@ -172,9 +172,9 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP SetDlgState(hwndDlg); - SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Days")); - SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Hours")); - SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Minutes")); + SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("days")); + SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("hours")); + SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("minutes")); switch(new_options.period_type){ case PT_DAYS: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 0, 0); break; case PT_HOURS: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 1, 0); break; -- cgit v1.2.3