summaryrefslogtreecommitdiff
path: root/protocols/Tox/src
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2015-09-06 22:53:57 +0000
committerDart Raiden <wowemuh@gmail.com>2015-09-06 22:53:57 +0000
commit5007a3717a24f2f0737dd21600dc76df623c545a (patch)
tree3428f362f52a8dfbd1af4064fd39e44e51304b66 /protocols/Tox/src
parent94b6d7e22023b069ffe7bdc1288fffb21a8f4269 (diff)
Tox: proper capitalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@15288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r--protocols/Tox/src/tox_chatrooms.cpp2
-rw-r--r--protocols/Tox/src/tox_options.cpp4
-rw-r--r--protocols/Tox/src/tox_profile.cpp8
3 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Tox/src/tox_chatrooms.cpp b/protocols/Tox/src/tox_chatrooms.cpp
index ae7ef71ada..3f999a0d4f 100644
--- a/protocols/Tox/src/tox_chatrooms.cpp
+++ b/protocols/Tox/src/tox_chatrooms.cpp
@@ -29,7 +29,7 @@ MCONTACT CToxProto::AddChatRoom(int groupNumber)
setWord(hContact, TOX_SETTINGS_CHAT_ID, groupNumber);
TCHAR title[MAX_PATH];
- mir_sntprintf(title, _T("%s #%d"), TranslateT("Groupchat"), groupNumber);
+ mir_sntprintf(title, _T("%s #%d"), TranslateT("Group chat"), groupNumber);
setTString(hContact, "Nick", title);
DBVARIANT dbv;
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp
index 0e9ccafc6b..b559cc1f4d 100644
--- a/protocols/Tox/src/tox_options.cpp
+++ b/protocols/Tox/src/tox_options.cpp
@@ -119,7 +119,7 @@ void CToxOptionsMain::ProfileImport_OnClick(CCtrlButton*)
ofn.lpstrFilter = filter;
ofn.nFilterIndex = 1;
ofn.lpstrFile = profilePath;
- ofn.lpstrTitle = TranslateT("Select tox profile");
+ ofn.lpstrTitle = TranslateT("Select Tox profile");
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST | OFN_EXPLORER;
ofn.lpstrInitialDir = _T("%APPDATA%\\Tox");
@@ -152,7 +152,7 @@ void CToxOptionsMain::ProfileExport_OnClick(CCtrlButton*)
ofn.lpstrFilter = filter;
ofn.nFilterIndex = 0;
ofn.lpstrFile = profilePath;
- ofn.lpstrTitle = TranslateT("Save tox profile");\
+ ofn.lpstrTitle = TranslateT("Save Tox profile");\
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT | OFN_EXPLORER;
ofn.lpstrInitialDir = _T("%HOMEPATH%");
diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp
index aea5492686..5980118043 100644
--- a/protocols/Tox/src/tox_profile.cpp
+++ b/protocols/Tox/src/tox_profile.cpp
@@ -32,7 +32,7 @@ bool CToxProto::LoadToxProfile(Tox_Options *options)
FILE *profile = _tfopen(profilePath.c_str(), _T("rb"));
if (profile == NULL)
{
- ShowNotification(TranslateT("Unable to open tox profile"), MB_ICONERROR);
+ ShowNotification(TranslateT("Unable to open Tox profile"), MB_ICONERROR);
debugLogA(__FUNCTION__": failed to open tox profile");
return false;
}
@@ -50,7 +50,7 @@ bool CToxProto::LoadToxProfile(Tox_Options *options)
if (fread((char*)data, sizeof(char), size, profile) != size)
{
fclose(profile);
- ShowNotification(TranslateT("Unable to read tox profile"), MB_ICONERROR);
+ ShowNotification(TranslateT("Unable to read Tox profile"), MB_ICONERROR);
debugLogA(__FUNCTION__": failed to read tox profile");
mir_free(data);
return false;
@@ -73,7 +73,7 @@ bool CToxProto::LoadToxProfile(Tox_Options *options)
TOX_ERR_DECRYPTION coreDecryptError;
if (!tox_pass_decrypt(data, size, (uint8_t*)password, mir_strlen(password), encryptedData, &coreDecryptError))
{
- ShowNotification(TranslateT("Unable to decrypt tox profile"), MB_ICONERROR);
+ ShowNotification(TranslateT("Unable to decrypt Tox profile"), MB_ICONERROR);
debugLogA(__FUNCTION__": failed to decrypt tox profile (%d)", coreDecryptError);
mir_free(data);
return false;
@@ -95,7 +95,7 @@ bool CToxProto::LoadToxProfile(Tox_Options *options)
if (initError != TOX_ERR_NEW_OK)
{
debugLogA(__FUNCTION__": failed to load tox profile (%d)", initError);
- ShowNotification(ToxErrorToString(initError), TranslateT("Unable to load tox profile"), MB_ICONERROR);
+ ShowNotification(ToxErrorToString(initError), TranslateT("Unable to load Tox profile"), MB_ICONERROR);
mir_free(data);
return false;
}