diff options
author | dartraiden <wowemuh@gmail.com> | 2023-07-31 17:51:19 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2023-07-31 17:53:19 +0300 |
commit | 7a267fb283014d307afeea2caa0bd2a7bd90b2ca (patch) | |
tree | fa38f93a489c88740407be099fa2a4b609700955 /src | |
parent | 53db4f1fb21c048e081a3ebf9047147882951fba (diff) |
Rename offline files to cloud files (except for function names)
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/res/resource.rc | 4 | ||||
-rw-r--r-- | src/mir_app/src/file.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/file.h | 2 | ||||
-rw-r--r-- | src/mir_app/src/srmm_util.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/mir_app/res/resource.rc b/src/mir_app/res/resource.rc index e1526bb4b5..ab4e9d1a75 100644 --- a/src/mir_app/res/resource.rc +++ b/src/mir_app/res/resource.rc @@ -1144,8 +1144,8 @@ BEGIN LTEXT "You will always be asked about files from people not on your contact list",IDC_STATIC,13,117,296,10
LTEXT "If incoming files already exist",IDC_STATIC,14,102,172,8
COMBOBOX IDC_FILEEXISTS,193,100,100,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
- GROUPBOX "Offline files",IDC_STATIC,5,134,302,43
- CONTROL "Download offline files automatically",IDC_OFFLINE_AUTO,
+ GROUPBOX "Cloud files",IDC_STATIC,5,134,302,43
+ CONTROL "Download cloud files automatically",IDC_OFFLINE_AUTO,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,148,288,10
RTEXT "Only if their size is less than",IDC_STATIC,12,162,153,8
EDITTEXT IDC_OFFLINE_AUTOSIZE,169,160,40,12,ES_AUTOHSCROLL
diff --git a/src/mir_app/src/file.cpp b/src/mir_app/src/file.cpp index 531d020952..f03c67795f 100644 --- a/src/mir_app/src/file.cpp +++ b/src/mir_app/src/file.cpp @@ -303,7 +303,7 @@ MEVENT Proto_RecvFile(MCONTACT hContact, PROTORECVFILE *pre) if (!bSilent && File::bAutoAccept && Contact::OnList(hContact)) LaunchRecvDialog(&cle); else { - // load offline files always (if OfflineSize = 0) + // load cloud files always (if OfflineSize = 0) // or if they are less than a limit (if a transfer has specified file size) if (bSilent && File::bOfflineAuto) if (File::iOfflineSize == 0 || (blob.getSize() > 0 && blob.getSize() < File::iOfflineSize * 1024)) diff --git a/src/mir_app/src/file.h b/src/mir_app/src/file.h index e4618da2c2..2decb52aa5 100644 --- a/src/mir_app/src/file.h +++ b/src/mir_app/src/file.h @@ -142,7 +142,7 @@ MFilePath FindUniqueFileName(const wchar_t *pszOriginalFile); int GetRegValue(HKEY hKeyBase, const wchar_t *szSubKey, const wchar_t *szValue, wchar_t *szOutput, int cbOutput); void GetSensiblyFormattedSize(__int64 size, wchar_t *szOut, int cchOut, int unitsOverride, int appendUnits, int *unitsUsed); -// downloads or launches offline file +// downloads or launches cloud file struct OFD_Callback { virtual ~OFD_Callback() {} diff --git a/src/mir_app/src/srmm_util.cpp b/src/mir_app/src/srmm_util.cpp index bd942a0a8a..a13af78623 100644 --- a/src/mir_app/src/srmm_util.cpp +++ b/src/mir_app/src/srmm_util.cpp @@ -105,7 +105,7 @@ MIR_APP_DLL(void) Srmm_AddEvent(MCONTACT hContact, MEVENT hDbEvent) }
/////////////////////////////////////////////////////////////////////////////////////////
-// downloads or launches offline file
+// downloads or launches cloud file
OFDTHREAD::OFDTHREAD(MEVENT _1, const CMStringW &_2, bool _3) :
hDbEvent(_1),
|