summaryrefslogtreecommitdiff
path: root/protocols/Tox
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
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')
-rw-r--r--protocols/Tox/res/resource.rc10
-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
4 files changed, 12 insertions, 12 deletions
diff --git a/protocols/Tox/res/resource.rc b/protocols/Tox/res/resource.rc
index 09ca8feb54..7550a65f43 100644
--- a/protocols/Tox/res/resource.rc
+++ b/protocols/Tox/res/resource.rc
@@ -106,10 +106,10 @@ BEGIN
EDITTEXT IDC_PASSWORD,81,62,217,12,ES_PASSWORD | ES_AUTOHSCROLL | NOT WS_VISIBLE
LTEXT "Default group:",IDC_STATIC,12,80,69,12
EDITTEXT IDC_GROUP,81,78,217,12,ES_AUTOHSCROLL
- PUSHBUTTON "Create tox profile",IDC_PROFILE_NEW,81,30,107,13
- PUSHBUTTON "Import tox profile",IDC_PROFILE_IMPORT,191,30,107,13
+ PUSHBUTTON "Create Tox profile",IDC_PROFILE_NEW,81,30,107,13
+ PUSHBUTTON "Import Tox profile",IDC_PROFILE_IMPORT,191,30,107,13
PUSHBUTTON "Copy Tox ID",IDC_CLIPBOARD,81,30,107,13,NOT WS_VISIBLE
- PUSHBUTTON "Export tox profile",IDC_PROFILE_EXPORT,191,30,107,13,NOT WS_VISIBLE
+ PUSHBUTTON "Export Tox profile",IDC_PROFILE_EXPORT,191,30,107,13,NOT WS_VISIBLE
GROUPBOX "Connection settings",IDC_STATIC,7,123,296,40
CONTROL "Enable UDP (otherwise force Tox to use TCP)",IDC_ENABLE_UDP,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,135,286,10
@@ -122,7 +122,7 @@ EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
EDITTEXT IDC_SEARCH,0,4,109,14,ES_AUTOHSCROLL
- LTEXT "If this field contains tox address (76 hex characters), you will be prompted to add it in your friend list. Otherwise, Miranda will search this query via tox dns discovery.",IDC_STATIC,0,20,109,93
+ LTEXT "If this field contains Tox address (76 hex characters), you will be prompted to add it in your friend list. Otherwise, Miranda will search this query via Tox DNS discovery.",IDC_STATIC,0,20,109,93
END
IDD_USER_INFO DIALOGEX 0, 0, 221, 152
@@ -130,7 +130,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- LTEXT "Dns name:",IDC_STATIC,2,3,217,8
+ LTEXT "DNS name:",IDC_STATIC,2,3,217,8
EDITTEXT IDC_DNS_ID,2,13,217,14,ES_AUTOHSCROLL
END
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;
}