summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-19 17:09:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-19 17:09:16 +0000
commit9c210b1c52006ed35c7b23c1687c52a48c35eb1b (patch)
treedb73c79969e5716e82471f98a0dfd8ad70cc262d
parent8b3742234864d8554b12153f714785bc29280012 (diff)
unused translations removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@17320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/AimOscar/src/chat.cpp4
-rw-r--r--protocols/FacebookRM/src/chat.cpp8
-rw-r--r--protocols/Gadu-Gadu/src/groupchat.cpp2
-rw-r--r--protocols/JabberG/src/jabber_chat.cpp2
-rw-r--r--protocols/MRA/src/MraChat.cpp2
-rw-r--r--protocols/Sametime/src/conference.cpp2
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp4
-rw-r--r--protocols/Twitter/src/chat.cpp2
-rw-r--r--protocols/VKontakte/src/vk_chats.cpp2
-rw-r--r--protocols/WhatsApp/src/chat.cpp2
-rw-r--r--protocols/Yahoo/src/chat.cpp4
11 files changed, 17 insertions, 17 deletions
diff --git a/protocols/AimOscar/src/chat.cpp b/protocols/AimOscar/src/chat.cpp
index bd7a371619..cc9eded91c 100644
--- a/protocols/AimOscar/src/chat.cpp
+++ b/protocols/AimOscar/src/chat.cpp
@@ -39,8 +39,8 @@ void CAimProto::chat_start(const char *id, unsigned short exchange)
wchar_t *idt = mir_a2u(id);
Chat_NewSession(GCW_CHATROOM, m_szModuleName, idt, idt);
- Chat_AddGroup(m_szModuleName, idt, TranslateT("Me"));
- Chat_AddGroup(m_szModuleName, idt, TranslateT("Others"));
+ Chat_AddGroup(m_szModuleName, idt, L"Me");
+ Chat_AddGroup(m_szModuleName, idt, L"Others");
Chat_Control(m_szModuleName, idt, SESSION_INITDONE);
Chat_Control(m_szModuleName, idt, SESSION_ONLINE);
diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp
index 2d288ac103..cc2a5b1f1a 100644
--- a/protocols/FacebookRM/src/chat.cpp
+++ b/protocols/FacebookRM/src/chat.cpp
@@ -248,10 +248,10 @@ void FacebookProto::AddChat(const char *id, const wchar_t *tname)
Chat_NewSession(GCW_PRIVMESS, m_szModuleName, tid, tname);
// Send setting events
- Chat_AddGroup(m_szModuleName, tid, TranslateT("Myself"));
- Chat_AddGroup(m_szModuleName, tid, TranslateT("Friend"));
- Chat_AddGroup(m_szModuleName, tid, TranslateT("User"));
- Chat_AddGroup(m_szModuleName, tid, TranslateT("Former"));
+ Chat_AddGroup(m_szModuleName, tid, L"Myself");
+ Chat_AddGroup(m_szModuleName, tid, L"Friend");
+ Chat_AddGroup(m_szModuleName, tid, L"User");
+ Chat_AddGroup(m_szModuleName, tid, L"Former");
// Finish initialization
bool hideChats = getBool(FACEBOOK_KEY_HIDE_CHATS, DEFAULT_HIDE_CHATS);
diff --git a/protocols/Gadu-Gadu/src/groupchat.cpp b/protocols/Gadu-Gadu/src/groupchat.cpp
index 7137639aed..9e46875b0a 100644
--- a/protocols/Gadu-Gadu/src/groupchat.cpp
+++ b/protocols/Gadu-Gadu/src/groupchat.cpp
@@ -314,7 +314,7 @@ wchar_t* GGPROTO::gc_getchat(uin_t sender, uin_t *recipients, int recipients_cou
Chat_SetStatusbarText(m_szModuleName, chat->id, status);
// Add normal group
- Chat_AddGroup(m_szModuleName, chat->id, TranslateT("Participants"));
+ Chat_AddGroup(m_szModuleName, chat->id, L"Participants");
GCDEST gcd = { m_szModuleName, chat->id, GC_EVENT_JOIN };
GCEVENT gce = { &gcd };
diff --git a/protocols/JabberG/src/jabber_chat.cpp b/protocols/JabberG/src/jabber_chat.cpp
index 5838b6e2e1..b0705bd506 100644
--- a/protocols/JabberG/src/jabber_chat.cpp
+++ b/protocols/JabberG/src/jabber_chat.cpp
@@ -162,7 +162,7 @@ int CJabberProto::GcInit(JABBER_LIST_ITEM *item)
item->bChatActive = true;
for (int i = _countof(sttStatuses) - 1; i >= 0; i--)
- Chat_AddGroup(m_szModuleName, item->jid, TranslateW(sttStatuses[i]));
+ Chat_AddGroup(m_szModuleName, item->jid, sttStatuses[i]);
Chat_Control(m_szModuleName, item->jid, (item->bAutoJoin && m_options.AutoJoinHidden) ? WINDOW_HIDDEN : SESSION_INITDONE);
Chat_Control(m_szModuleName, item->jid, SESSION_ONLINE);
diff --git a/protocols/MRA/src/MraChat.cpp b/protocols/MRA/src/MraChat.cpp
index 454d44a2e9..8cdb5ac9fa 100644
--- a/protocols/MRA/src/MraChat.cpp
+++ b/protocols/MRA/src/MraChat.cpp
@@ -37,7 +37,7 @@ INT_PTR CMraProto::MraChatSessionNew(MCONTACT hContact)
return 1;
for (int i = 0; i < _countof(lpwszStatuses); i++)
- Chat_AddGroup(m_szModuleName, wszEMail, TranslateW(lpwszStatuses[i]));
+ Chat_AddGroup(m_szModuleName, wszEMail, lpwszStatuses[i]);
Chat_Control(m_szModuleName, wszEMail, SESSION_INITDONE);
Chat_Control(m_szModuleName, wszEMail, SESSION_ONLINE);
diff --git a/protocols/Sametime/src/conference.cpp b/protocols/Sametime/src/conference.cpp
index 04af2e7372..dfbdfde308 100644
--- a/protocols/Sametime/src/conference.cpp
+++ b/protocols/Sametime/src/conference.cpp
@@ -115,7 +115,7 @@ void mwServiceConf_conf_opened(mwConference* conf, GList* members)
Chat_NewSession(GCW_CHATROOM, proto->m_szModuleName, tszConfId, tszConfTitle);
// add a group
- Chat_AddGroup(proto->m_szModuleName, tszConfId, TranslateT("Normal"));
+ Chat_AddGroup(proto->m_szModuleName, tszConfId, L"Normal");
// add users
GCDEST gcd = { proto->m_szModuleName, tszConfId, GC_EVENT_JOIN };
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp
index d86c029374..b8c63ee339 100644
--- a/protocols/SkypeWeb/src/skype_chatrooms.cpp
+++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp
@@ -62,8 +62,8 @@ void CSkypeProto::StartChatRoom(const wchar_t *tid, const wchar_t *tname)
Chat_NewSession(GCW_CHATROOM, m_szModuleName, tid, tname);
// Create a user statuses
- Chat_AddGroup(m_szModuleName, tid, TranslateT("Admin"));
- Chat_AddGroup(m_szModuleName, tid, TranslateT("User"));
+ Chat_AddGroup(m_szModuleName, tid, L"Admin");
+ Chat_AddGroup(m_szModuleName, tid, L"User");
// Finish initialization
Chat_Control(m_szModuleName, tid, (getBool("HideChats", 1) ? WINDOW_HIDDEN : SESSION_INITDONE));
diff --git a/protocols/Twitter/src/chat.cpp b/protocols/Twitter/src/chat.cpp
index ed7c69e3c3..d351d6d3ab 100644
--- a/protocols/Twitter/src/chat.cpp
+++ b/protocols/Twitter/src/chat.cpp
@@ -123,7 +123,7 @@ INT_PTR TwitterProto::OnJoinChat(WPARAM, LPARAM suppress)
return 0;
// ***** Create a group
- Chat_AddGroup(m_szModuleName, m_tszUserName, TranslateT("Normal"));
+ Chat_AddGroup(m_szModuleName, m_tszUserName, L"Normal");
// ***** Hook events
HookProtoEvent(ME_GC_EVENT, &TwitterProto::OnChatOutgoing);
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp
index 2d3fdeb13c..86f75bf67d 100644
--- a/protocols/VKontakte/src/vk_chats.cpp
+++ b/protocols/VKontakte/src/vk_chats.cpp
@@ -72,7 +72,7 @@ CVkChatInfo* CVkProto::AppendChat(int id, const JSONNode &jnDlg)
m_chats.insert(c);
for (int i = _countof(sttStatuses)-1; i >= 0; i--)
- Chat_AddGroup(m_szModuleName, sid, TranslateW(sttStatuses[i]));
+ Chat_AddGroup(m_szModuleName, sid, sttStatuses[i]);
setDword(gci.hContact, "vk_chat_id", id);
diff --git a/protocols/WhatsApp/src/chat.cpp b/protocols/WhatsApp/src/chat.cpp
index a87be6a24f..e1c7b01f0b 100644
--- a/protocols/WhatsApp/src/chat.cpp
+++ b/protocols/WhatsApp/src/chat.cpp
@@ -307,7 +307,7 @@ WAChatInfo* WhatsAppProto::InitChat(const std::string &jid, const std::string &n
pInfo->hContact = (hOldContact != NULL) ? hOldContact : ContactIDToHContact(jid);
for (int i = _countof(sttStatuses) - 1; i >= 0; i--)
- Chat_AddGroup(m_szModuleName, ptszJid, TranslateW(sttStatuses[i]));
+ Chat_AddGroup(m_szModuleName, ptszJid, sttStatuses[i]);
Chat_Control(m_szModuleName, ptszJid, getBool(WHATSAPP_KEY_AUTORUNCHATS, true) ? SESSION_INITDONE : WINDOW_HIDDEN);
Chat_Control(m_szModuleName, ptszJid, SESSION_ONLINE);
diff --git a/protocols/Yahoo/src/chat.cpp b/protocols/Yahoo/src/chat.cpp
index afb1fafd94..4fc7eb8e95 100644
--- a/protocols/Yahoo/src/chat.cpp
+++ b/protocols/Yahoo/src/chat.cpp
@@ -153,8 +153,8 @@ void CYahooProto::ChatStart(const char* room)
ptrW idt(mir_a2u(room));
Chat_NewSession(GCW_CHATROOM, m_szModuleName, idt, idt);
- Chat_AddGroup(m_szModuleName, idt, TranslateT("Me"));
- Chat_AddGroup(m_szModuleName, idt, TranslateT("Others"));
+ Chat_AddGroup(m_szModuleName, idt, L"Me");
+ Chat_AddGroup(m_szModuleName, idt, L"Others");
Chat_Control(m_szModuleName, idt, SESSION_INITDONE);
Chat_Control(m_szModuleName, idt, SESSION_ONLINE);