diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-14 16:13:49 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-14 16:13:49 +0000 |
commit | 248ee9b427f856b6c44f2c0d1162cd4682f7411d (patch) | |
tree | 8c1838dccbed65b471dffe0577e0ad8a138afe92 /plugins/MetaContacts | |
parent | bba2252d0df595cb6657edb361b98188a9c7d9d8 (diff) |
added translation for some messageboxes
git-svn-id: http://svn.miranda-ng.org/main/trunk@967 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MetaContacts')
-rw-r--r-- | plugins/MetaContacts/meta_utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MetaContacts/meta_utils.cpp b/plugins/MetaContacts/meta_utils.cpp index e319bdac46..470f4aa663 100644 --- a/plugins/MetaContacts/meta_utils.cpp +++ b/plugins/MetaContacts/meta_utils.cpp @@ -786,7 +786,7 @@ int Meta_SetHandles(void) { if (contact_number < 0) {
// problem!
- MessageBox(0, "Subcontact contact number < 0 - deleting MetaContact", nick_buffer, MB_OK | MB_ICONERROR);
+ MessageBox(0, Translate("Subcontact contact number < 0 - deleting MetaContact"), nick_buffer, MB_OK | MB_ICONERROR);
//CallService(MS_DB_CONTACT_DELETE, (WPARMA)hContact, 0);
hNextContact = ( HANDLE )CallService( MS_DB_CONTACT_FINDNEXT,( WPARAM )hContact, 0 );
Meta_Delete((WPARAM)hContact, (LPARAM)1);
@@ -823,7 +823,7 @@ int Meta_SetHandles(void) { } else {
char buff[256];
// problem - contact number is greater than meta's number of contacts
- sprintf(buff, "Subcontact contact number (%d) > meta num contacts (%d) - deleting MetaContact", (int)contact_number, (int)num_contacts);
+ sprintf(buff, Translate("Subcontact contact number (%d) > meta num contacts (%d) - deleting MetaContact"), (int)contact_number, (int)num_contacts);
MessageBox(0, buff, nick_buffer, MB_OK | MB_ICONERROR);
//CallService(MS_DB_CONTACT_DELETE, (WPARMA)hContact, 0);
hNextContact = ( HANDLE )CallService( MS_DB_CONTACT_FINDNEXT,( WPARAM )hContact, 0 );
@@ -839,7 +839,7 @@ int Meta_SetHandles(void) { if (!found) {
// problem - subcontact's meta not found
- MessageBox(0, "Subcontact's MetaContact not found - deleting MetaContact data", nick_buffer, MB_OK | MB_ICONERROR);
+ MessageBox(0, Translate("Subcontact's MetaContact not found - deleting MetaContact data"), nick_buffer, MB_OK | MB_ICONERROR);
// delete meta data
DBDeleteContactSetting(hContact,META_PROTO,"IsSubcontact");
@@ -878,7 +878,7 @@ int Meta_SetHandles(void) { if (num_contacts < 0) {
// problem
- MessageBox(0, "MetaContact number of contacts < 0 - deleting MetaContact", nick_buffer, MB_OK | MB_ICONERROR);
+ MessageBox(0, Translate("MetaContact number of contacts < 0 - deleting MetaContact"), nick_buffer, MB_OK | MB_ICONERROR);
//CallService(MS_DB_CONTACT_DELETE, (WPARMA)hContact, 0);
hNextContact = ( HANDLE )CallService( MS_DB_CONTACT_FINDNEXT,( WPARAM )hContact, 0 );
Meta_Delete((WPARAM)hContact, (LPARAM)1);
@@ -889,7 +889,7 @@ int Meta_SetHandles(void) { if (contact_number < 0 || contact_number >= num_contacts) {
// problem
- MessageBox(0, "MetaContact default contact number out of range - deleting MetaContact", nick_buffer, MB_OK | MB_ICONERROR);
+ MessageBox(0, Translate("MetaContact default contact number out of range - deleting MetaContact"), nick_buffer, MB_OK | MB_ICONERROR);
hNextContact = ( HANDLE )CallService( MS_DB_CONTACT_FINDNEXT,( WPARAM )hContact, 0 );
Meta_Delete((WPARAM)hContact, (LPARAM)1);
hContact = hNextContact;
|