diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-02-12 19:10:13 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-02-12 19:10:13 +0000 |
commit | ea515096f493bb4a629409aa5e41442bc0dea60f (patch) | |
tree | 435f2abe9418c1f8113fab8d0e90bb1d6be4f9b8 /plugins/DbEditorPP | |
parent | a3ff000eb0e2e29c77c38d184d65597e1ad32fcc (diff) |
- DbEditorPP: unneeded translations removed (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3582 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r-- | plugins/DbEditorPP/src/addeditsettingsdlg.cpp | 4 | ||||
-rw-r--r-- | plugins/DbEditorPP/src/findwindow.cpp | 4 | ||||
-rw-r--r-- | plugins/DbEditorPP/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/DbEditorPP/src/moduletree.cpp | 6 | ||||
-rw-r--r-- | plugins/DbEditorPP/src/settinglist.cpp | 24 |
5 files changed, 20 insertions, 20 deletions
diff --git a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp index 968ee92bc0..6cd364ef04 100644 --- a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp +++ b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp @@ -80,7 +80,7 @@ BOOL convertSetting(HANDLE hContact, char* module, char* setting, int toType) // }
if (!Result)
- msg(Translate("Cannot Convert!"), modFullname);
+ msg("Cannot Convert!", modFullname);
DBFreeVariant(&dbv);
}
@@ -335,7 +335,7 @@ INT_PTR CALLBACK EditSettingDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l if (!setting || !value)
{
- msg(Translate("Couldnt allocate enough memory!"), modFullname);
+ msg("Couldnt allocate enough memory!", modFullname);
DestroyWindow(hwnd);
break;
}
diff --git a/plugins/DbEditorPP/src/findwindow.cpp b/plugins/DbEditorPP/src/findwindow.cpp index e8fd22aa70..3d2e34588f 100644 --- a/plugins/DbEditorPP/src/findwindow.cpp +++ b/plugins/DbEditorPP/src/findwindow.cpp @@ -547,7 +547,7 @@ void __cdecl FindSettings(LPVOID di) freeItems(hwnd);
if (!text) return;
- if (!EnumModules(&ModuleList)) { msg(Translate("Error Loading Module List"),modFullname); mir_free(di); return;}
+ if (!EnumModules(&ModuleList)) { msg("Error Loading Module List",modFullname); mir_free(di); return;}
SendMessage(GetDlgItem(GetParent(hwnd),IDC_SBAR),SB_SETTEXT,0,(LPARAM)Translate("Searching..."));
@@ -579,7 +579,7 @@ void __cdecl FindSettings(LPVOID di) if (!EnumSettings(hContact,module->name,&SettingList))
{
- msg(Translate("Error Loading Setting List"),modFullname);
+ msg("Error Loading Setting List",modFullname);
mir_free(text);
mir_free(di);
FreeModuleSettingLL(&ModuleList);
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index cb79c9739f..765dedf571 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -346,7 +346,7 @@ int WriteBlobFromString(HANDLE hContact,const char *szModule,const char *szSetti if (!(data = (BYTE *)_alloca(2+len/2)))
{
- msg(Translate("Couldnt allocate enough memory!"), modFullname);
+ msg("Couldnt allocate enough memory!", modFullname);
return 0;
}
diff --git a/plugins/DbEditorPP/src/moduletree.cpp b/plugins/DbEditorPP/src/moduletree.cpp index f7667f6f27..c2fec5e1c3 100644 --- a/plugins/DbEditorPP/src/moduletree.cpp +++ b/plugins/DbEditorPP/src/moduletree.cpp @@ -405,7 +405,7 @@ void __cdecl PopulateModuleTreeThreadFunc(LPVOID di) hRestore = NULL;
- if (!hwnd2Tree) { msg(Translate("Module tree not found"),modFullname); return;}
+ if (!hwnd2Tree) { msg("Module tree not found",modFullname); return;}
Select = 0;
@@ -449,7 +449,7 @@ void __cdecl PopulateModuleTreeThreadFunc(LPVOID di) if ((int)di != 4) { // do not rebuild on just going to another setting
if (!EnumModules(&modlist)) {
- msg(Translate("Error Loading Module List"),modFullname);
+ msg("Error Loading Module List",modFullname);
return;
}
@@ -607,7 +607,7 @@ void moduleListWM_NOTIFY(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam)// hwnd mtis->type = CONTACT;
- if (!EnumModules(&modlist)) { msg(Translate("Error Loading Module List"),modFullname); break;}
+ if (!EnumModules(&modlist)) { msg("Error Loading Module List",modFullname); break;}
module = modlist.first;
while(module && hwnd2mainWindow)
diff --git a/plugins/DbEditorPP/src/settinglist.cpp b/plugins/DbEditorPP/src/settinglist.cpp index 3afbc56629..eb95b7fc23 100644 --- a/plugins/DbEditorPP/src/settinglist.cpp +++ b/plugins/DbEditorPP/src/settinglist.cpp @@ -125,7 +125,7 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in {
int j;
if (!(data = (char*)mir_realloc(data, 3*(dbv.cpbVal+1)+10)))
- {msg(Translate("Couldnt allocate enough memory!"), modFullname); return;}
+ {msg("Couldnt allocate enough memory!", modFullname); return;}
data[0] = '\0';
for (j=0; j<dbv.cpbVal; j++)
{
@@ -136,7 +136,7 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in lvi.iImage = 0;
ListView_SetItem(hwnd2Settings,&lvi);
ListView_SetItemText(hwnd2Settings,index,1,data);
- ListView_SetItemText(hwnd2Settings,index,2,Translate("BLOB"));
+ ListView_SetItemText(hwnd2Settings,index,2,"BLOB");
mir_snprintf(data, 3*(dbv.cpbVal+1)+10, "0x%04X (%d)", dbv.cpbVal,dbv.cpbVal);
ListView_SetItemText(hwnd2Settings,index,3,data);
}
@@ -148,7 +148,7 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in ListView_SetItem(hwnd2Settings,&lvi);
mir_snprintf(data, 16, "0x%02X (%d)", dbv.bVal, dbv.bVal);
ListView_SetItemText(hwnd2Settings,index,1,data);
- ListView_SetItemText(hwnd2Settings,index,2,Translate("BYTE"));
+ ListView_SetItemText(hwnd2Settings,index,2,"BYTE");
ListView_SetItemText(hwnd2Settings,index,3,"0x0001 (1)");
break;
case DBVT_WORD:
@@ -159,7 +159,7 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in ListView_SetItem(hwnd2Settings,&lvi);
mir_snprintf(data, 16, "0x%04X (%ld)", dbv.wVal,dbv.wVal);
ListView_SetItemText(hwnd2Settings,index,1,data);
- ListView_SetItemText(hwnd2Settings,index,2,Translate("WORD"));
+ ListView_SetItemText(hwnd2Settings,index,2,"WORD");
ListView_SetItemText(hwnd2Settings,index,3,"0x0002 (2)");
break;
case DBVT_DWORD:
@@ -170,7 +170,7 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in ListView_SetItem(hwnd2Settings,&lvi);
mir_snprintf(data, 32, "0x%08X (%ld)", dbv.dVal, dbv.dVal);
ListView_SetItemText(hwnd2Settings,index,1,data);
- ListView_SetItemText(hwnd2Settings,index,2,Translate("DWORD"));
+ ListView_SetItemText(hwnd2Settings,index,2,"DWORD");
ListView_SetItemText(hwnd2Settings,index,3,"0x0004 (4)");
break;
case DBVT_ASCIIZ:
@@ -182,7 +182,7 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in lvi.iImage = 4;
ListView_SetItem(hwnd2Settings,&lvi);
ListView_SetItemText(hwnd2Settings,index,1,dbv.pszVal);
- ListView_SetItemText(hwnd2Settings,index,2,Translate("STRING"));
+ ListView_SetItemText(hwnd2Settings,index,2,"STRING");
mir_snprintf(data, 512, "0x%04X (%d)", length,length);
ListView_SetItemText(hwnd2Settings,index,3,data);
}
@@ -201,7 +201,7 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in MultiByteToWideChar(CP_UTF8, 0, dbv.pszVal, -1, wc, length);
ListView_SetItemTextW(hwnd2Settings,index,1,wc);
- ListView_SetItemText(hwnd2Settings,index,2,Translate("UNICODE"));
+ ListView_SetItemText(hwnd2Settings,index,2,"UNICODE");
mir_snprintf(data, 512, "0x%04X (%d)", length,length);
ListView_SetItemText(hwnd2Settings,index,3,data);
}
@@ -217,9 +217,9 @@ void additem(HWND hwnd2Settings,HANDLE hContact, char* module, char* setting, in {
lvi.iImage = 5;
ListView_SetItem(hwnd2Settings,&lvi);
- ListView_SetItemText(hwnd2Settings,index,1,Translate("<unsupported>"));
- ListView_SetItemText(hwnd2Settings,index,2,Translate("UNICODE"));
- ListView_SetItemText(hwnd2Settings,index,3,Translate("<unknown>"));
+ ListView_SetItemText(hwnd2Settings,index,1,"<unsupported>");
+ ListView_SetItemText(hwnd2Settings,index,2,"UNICODE");
+ ListView_SetItemText(hwnd2Settings,index,3,"<unknown>");
}
else
ListView_DeleteItem(hwnd2Settings,index);
@@ -235,7 +235,7 @@ void PopulateSettings(HWND hwnd2Settings, HANDLE hContact, char* module) struct ModSetLinkLinkItem *setting;
ModuleSettingLL setlist;
- if (!EnumSettings(hContact,module,&setlist)) { msg(Translate("Error Loading Setting List"),modFullname); mir_free(info); return;}
+ if (!EnumSettings(hContact,module,&setlist)) { msg("Error Loading Setting List",modFullname); mir_free(info); return;}
// clear any settings that may be there...
ClearListview(hwnd2Settings);
@@ -691,7 +691,7 @@ void EditLabel(HWND hwnd2List, int item, int subitem) char tmp[16];
char *data = (char*)_alloca(3*(dbv.cpbVal+1)+10);
- if (!data) {msg(Translate("Couldnt allocate enough memory!"), modFullname); return;}
+ if (!data) {msg("Couldnt allocate enough memory!", modFullname); return;}
data[0] = '\0';
for(j=0; j<dbv.cpbVal; j++)
|