summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2015-03-27 01:34:34 +0000
committerRené Schümann <white06tiger@gmail.com>2015-03-27 01:34:34 +0000
commit4beb69b6dbfbca860c8d16db8500e47a496ac61b (patch)
tree3614f752304843a5e59b239dab87e1b71cfcc3a6 /plugins/MirOTR
parenta9ec56a9a7d7a62d28d63c91088be9dfc66002d0 (diff)
MirOTR: translation fixes, removed 2 strings that were not meant to be translated, well "unknown contact" shouldn't even happen
git-svn-id: http://svn.miranda-ng.org/main/trunk@12518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/src/mirotrmenu.cpp4
-rw-r--r--plugins/MirOTR/src/utils.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirOTR/src/mirotrmenu.cpp b/plugins/MirOTR/src/mirotrmenu.cpp
index 5754a4e84f..c616756954 100644
--- a/plugins/MirOTR/src/mirotrmenu.cpp
+++ b/plugins/MirOTR/src/mirotrmenu.cpp
@@ -110,14 +110,14 @@ INT_PTR MirOTRMenuCheckService(WPARAM wParam,LPARAM)
mir_tstrncpy(text,TranslateT(LANG_STATUS_PRIVATE),SIZEOF(text));
size_t len = mir_tstrlen(text);
if(len < SIZEOF(text))
- mir_sntprintf(text+len, SIZEOF(text)-len, TranslateT(" [v%i]"), context->protocol_version);
+ mir_sntprintf(text+len, SIZEOF(text)-len, _T(" [v%i]"), context->protocol_version);
break;}
case TRUST_UNVERIFIED:{
mi.hIcolibItem = GetIconHandle(ICON_UNVERIFIED);
mir_tstrncpy(text,TranslateT(LANG_STATUS_UNVERIFIED),SIZEOF(text));
size_t len = mir_tstrlen(text);
if(len < SIZEOF(text))
- mir_sntprintf(text+len, SIZEOF(text)-len, TranslateT(" [v%i]"), context->protocol_version);
+ mir_sntprintf(text+len, SIZEOF(text)-len, _T(" [v%i]"), context->protocol_version);
break;}
case TRUST_FINISHED:
mi.hIcolibItem = GetIconHandle(ICON_FINISHED);
diff --git a/plugins/MirOTR/src/utils.cpp b/plugins/MirOTR/src/utils.cpp
index 91ad993928..ac72f2094b 100644
--- a/plugins/MirOTR/src/utils.cpp
+++ b/plugins/MirOTR/src/utils.cpp
@@ -169,7 +169,7 @@ TCHAR* ProtoGetNickname(const char* proto)
mir_free(ci.pszVal);
}
}
- return mir_tstrdup(TranslateT("'(Unknown contact)'"));
+ return mir_tstrdup(_T(""));
}
void ShowPopup(const TCHAR* line1, const TCHAR* line2, int timeout, const MCONTACT hContact) {