diff options
Diffstat (limited to 'plugins/CloudFile')
-rw-r--r-- | plugins/CloudFile/src/Services/dropbox_service.cpp | 2 | ||||
-rw-r--r-- | plugins/CloudFile/src/Services/google_service.cpp | 2 | ||||
-rw-r--r-- | plugins/CloudFile/src/Services/microsoft_service.cpp | 2 | ||||
-rw-r--r-- | plugins/CloudFile/src/Services/yandex_service.cpp | 2 | ||||
-rw-r--r-- | plugins/CloudFile/src/srmm.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp index 70ff1deb96..2d308a28f8 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.cpp +++ b/plugins/CloudFile/src/Services/dropbox_service.cpp @@ -13,7 +13,7 @@ const char* CDropboxService::GetModule() const const wchar_t* CDropboxService::GetText() const { - return L"Dropbox"; + return LPGENW("Dropbox"); } int CDropboxService::GetIconId() const diff --git a/plugins/CloudFile/src/Services/google_service.cpp b/plugins/CloudFile/src/Services/google_service.cpp index d378f8bf55..af7d0400bd 100644 --- a/plugins/CloudFile/src/Services/google_service.cpp +++ b/plugins/CloudFile/src/Services/google_service.cpp @@ -13,7 +13,7 @@ const char* CGDriveService::GetModule() const const wchar_t* CGDriveService::GetText() const { - return L"GDrive"; + return LPGENW("Google Drive"); } int CGDriveService::GetIconId() const diff --git a/plugins/CloudFile/src/Services/microsoft_service.cpp b/plugins/CloudFile/src/Services/microsoft_service.cpp index b8351019ed..209458b5c5 100644 --- a/plugins/CloudFile/src/Services/microsoft_service.cpp +++ b/plugins/CloudFile/src/Services/microsoft_service.cpp @@ -13,7 +13,7 @@ const char* COneDriveService::GetModule() const const wchar_t* COneDriveService::GetText() const { - return L"OneDrive"; + return LPGENW("OneDrive"); } int COneDriveService::GetIconId() const diff --git a/plugins/CloudFile/src/Services/yandex_service.cpp b/plugins/CloudFile/src/Services/yandex_service.cpp index 9ed788fd4c..3a92743fc5 100644 --- a/plugins/CloudFile/src/Services/yandex_service.cpp +++ b/plugins/CloudFile/src/Services/yandex_service.cpp @@ -13,7 +13,7 @@ const char* CYandexService::GetModule() const const wchar_t* CYandexService::GetText() const { - return L"Яндекс.Диск"; + return LPGENW("Yandex.Drive"); } int CYandexService::GetIconId() const diff --git a/plugins/CloudFile/src/srmm.cpp b/plugins/CloudFile/src/srmm.cpp index d1b55c0ec0..d68e0fa63c 100644 --- a/plugins/CloudFile/src/srmm.cpp +++ b/plugins/CloudFile/src/srmm.cpp @@ -57,7 +57,7 @@ int OnSrmmButtonPressed(WPARAM, LPARAM lParam) if (!db_get_b(NULL, service->GetModule(), "IsEnable", TRUE)) continue; - InsertMenu(hMenu, i, MF_STRING, i + 1, service->GetText()); + InsertMenu(hMenu, i, MF_STRING, i + 1, TranslateW(service->GetText())); //HBITMAP hBitmap = (HBITMAP)LoadImage(hInstance, MAKEINTRESOURCE(service->GetIconId()), IMAGE_ICON, 16, 16, 0); //SetMenuItemBitmaps(hMenu, i, MF_BITMAP, hBitmap, hBitmap); } |