diff options
author | aunsane <aunsane@gmail.com> | 2017-04-26 22:30:12 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-26 22:30:44 +0300 |
commit | f9d718fd63324bc808481287d7f8818099360d3f (patch) | |
tree | 4cddc8accb72d6a7d2d52578d8d8c353244a2e9e /plugins/CloudFile/src | |
parent | 522e00fafca3471971e759d7d1de77b82fa27037 (diff) |
CloudFile: translate fix
Diffstat (limited to 'plugins/CloudFile/src')
-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); } |