From cca6a63c9ffc4ec5d2ebe5e15e75996d15ec5542 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 15 Feb 2013 18:23:23 +0000 Subject: - translation fixes (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3614 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_privacy.cpp | 2 +- protocols/Tlen/src/tlen_picture.cpp | 2 +- protocols/Xfire/src/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/JabberG/src/jabber_privacy.cpp b/protocols/JabberG/src/jabber_privacy.cpp index ded0441250..bb287e35c9 100644 --- a/protocols/JabberG/src/jabber_privacy.cpp +++ b/protocols/JabberG/src/jabber_privacy.cpp @@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#define JABBER_PL_BUSY_MSG "Sending request, please wait..." +#define JABBER_PL_BUSY_MSG LPGEN("Sending request, please wait...") BOOL CJabberProto::OnIqRequestPrivacyLists(HXML, CJabberIqInfo* pInfo) { diff --git a/protocols/Tlen/src/tlen_picture.cpp b/protocols/Tlen/src/tlen_picture.cpp index 1120b23839..8a86c1e2e5 100644 --- a/protocols/Tlen/src/tlen_picture.cpp +++ b/protocols/Tlen/src/tlen_picture.cpp @@ -33,7 +33,7 @@ typedef struct { static void LogPictureMessage(TlenProtocol *proto, const char *jid, const char *filename, BOOL isSent) { char message[1024]; - const char *msg = isSent ? "Image sent file://%s" : "Image received file://%s"; + const char *msg = isSent ? LPGEN("Image sent file://%s") : LPGEN("Image received file://%s"); _snprintf(message, sizeof(message), Translate(msg), filename); TlenLogMessage(proto, JabberHContactFromJID(proto, jid), isSent ? DBEF_SENT : 0, message); } diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index 29c35c6d69..dab7685ef9 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -514,7 +514,7 @@ void XFireClient::sendmsg(char*usr,char*cmsg) { for(uint i = 0 ; i < ((FriendsBuddyListNamesPacket*)content)->userids->size() ; i++) { BuddyListEntry *entry = client->getBuddyList()->getBuddyById( ((FriendsBuddyListNamesPacket*)content)->userids->at(i) ); if(entry) { - char fofname[128]="Friends of Friends Playing"; + char fofname[128]=LPGEN("Friends of Friends Playing"); DBVARIANT dbv; //gruppennamen überladen if(!DBGetContactSetting(NULL,protocolname,"overload_fofgroupname",&dbv)) -- cgit v1.2.3