diff --git a/base/applications/regedit/CMakeLists.txt b/base/applications/regedit/CMakeLists.txt index fdfe5c4d73b..0bbaa01ad5e 100644 --- a/base/applications/regedit/CMakeLists.txt +++ b/base/applications/regedit/CMakeLists.txt @@ -2,7 +2,6 @@ include_directories(BEFORE .) list(APPEND SOURCE - about.c childwnd.c edit.c error.c @@ -23,7 +22,7 @@ add_rc_deps(regedit.rc ${regedit_rc_deps}) add_executable(regedit ${SOURCE} regedit.rc) set_module_type(regedit win32gui UNICODE) target_link_libraries(regedit uuid) -add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32 ntdll) +add_importlibs(regedit user32 gdi32 advapi32 ole32 comctl32 comdlg32 shlwapi msvcrt kernel32 ntdll) add_pch(regedit regedit.h SOURCE) add_cd_file(TARGET regedit DESTINATION reactos FOR all) #add_subdirectory(clb) diff --git a/base/applications/regedit/about.c b/base/applications/regedit/about.c deleted file mode 100644 index 6d4d23f75cc..00000000000 --- a/base/applications/regedit/about.c +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Regedit About Dialog Box - * - * Copyright (C) 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#include "regedit.h" - -#include - -void ShowAboutBox(HWND hWnd) -{ - WCHAR AppStr[255]; - LoadStringW(hInst, IDS_APP_TITLE, AppStr, COUNT_OF(AppStr)); - ShellAboutW(hWnd, AppStr, NULL, LoadIconW(hInst, MAKEINTRESOURCEW(IDI_REGEDIT))); -} - -/* EOF */ diff --git a/base/applications/regedit/childwnd.c b/base/applications/regedit/childwnd.c index 7cd816ffe0d..6eb473b11f2 100644 --- a/base/applications/regedit/childwnd.c +++ b/base/applications/regedit/childwnd.c @@ -2,28 +2,15 @@ * Regedit child window * * Copyright (C) 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" ChildWnd* g_pChildWnd; static int last_split; -HBITMAP SizingPattern = 0; -HBRUSH SizingBrush = 0; +HBITMAP SizingPattern; +HBRUSH SizingBrush; extern LPCWSTR get_root_key_name(HKEY hRootKey) { @@ -120,11 +107,8 @@ static void draw_splitbar(HWND hWnd, int x) ReleaseDC(hWnd, hdc); } -/******************************************************************************* - * finish_splitbar [internal] - * - * make the splitbar invisible and resize the windows - * (helper for ChildWndProc) +/** + * make the splitbar invisible and resize the windows (helper for ChildWndProc) */ static void finish_splitbar(HWND hWnd, int x) { @@ -135,6 +119,7 @@ static void finish_splitbar(HWND hWnd, int x) GetClientRect(hWnd, &rt); g_pChildWnd->nSplitPos = x; ResizeWnd(rt.right, rt.bottom); + InvalidateRect(hWnd, &rt, FALSE); // HACK: See CORE-19576 ReleaseCapture(); } @@ -217,15 +202,11 @@ UpdateAddress(HTREEITEM hItem, HKEY hRootKey, LPCWSTR pszPath, BOOL bSelectNone) } } -/******************************************************************************* - * - * FUNCTION: ChildWndProc(HWND, unsigned, WORD, LONG) - * - * PURPOSE: Processes messages for the child windows. - * - * WM_COMMAND - process the application menu - * WM_DESTROY - post a quit message and return +/** + * PURPOSE: Processes messages for the child windows. * + * WM_COMMAND - process the application menu + * WM_DESTROY - post a quit message and return */ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { @@ -318,7 +299,6 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa } break; } - case WM_LBUTTONUP: case WM_RBUTTONDOWN: if (GetCapture() == hWnd) @@ -328,12 +308,10 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa finish_splitbar(hWnd, x); } break; - case WM_CAPTURECHANGED: if (GetCapture()==hWnd && last_split>=0) draw_splitbar(hWnd, last_split); break; - case WM_KEYDOWN: if (wParam == VK_ESCAPE) if (GetCapture() == hWnd) @@ -347,7 +325,6 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa SetCursor(LoadCursorW(0, IDC_ARROW)); } break; - case WM_MOUSEMOVE: if (GetCapture() == hWnd) { @@ -361,14 +338,12 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa } } break; - case WM_SETFOCUS: if (g_pChildWnd != NULL) { SetFocus(g_pChildWnd->nFocusPanel? g_pChildWnd->hListWnd: g_pChildWnd->hTreeWnd); } break; - case WM_NOTIFY: if (g_pChildWnd == NULL) break; @@ -392,7 +367,6 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa goto def; } break; - case WM_CONTEXTMENU: { POINT pt; @@ -503,7 +477,6 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa } break; } - case WM_SIZE: if (wParam != SIZE_MINIMIZED && g_pChildWnd != NULL) { diff --git a/base/applications/regedit/clb/clb.c b/base/applications/regedit/clb/clb.c index be8e1804f50..ee0bef29801 100644 --- a/base/applications/regedit/clb/clb.c +++ b/base/applications/regedit/clb/clb.c @@ -1,29 +1,8 @@ /* - * ReactOS Column List Box - * Copyright (C) 2005 Thomas Weidenmueller - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -/* - * PROJECT: ReactOS Column List Box - * FILE: base/applications/regedit/clb/clb.c - * PURPOSE: Column List Box - * PROGRAMMER: Thomas Weidenmueller - * - * UPDATE HISTORY: - * 10/29/2005 Created + * PROJECT: ReactOS Column List Box + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Column List Box + * PROGRAMMER: 2005 Thomas Weidenmueller */ #include @@ -94,7 +73,6 @@ ClbAddData(IN DWORD Unknown1, return 0; } - /* * @unimplemented */ @@ -108,7 +86,6 @@ ClbSetColumnWidths(IN DWORD Unknown1, return 0; } - /* * @unimplemented */ @@ -124,8 +101,7 @@ ClbWndProc(IN HWND hwnd, DPRINT1("ClbWndProc(0x%p, 0x%x, 0x%p, 0x%p)\n", hwnd, uMsg, wParam, lParam); - PrivData = (PCLB_PRIVATEDATA)GetWindowLongPtr(hwnd, - 0); + PrivData = (PCLB_PRIVATEDATA)GetWindowLongPtr(hwnd, 0); if (PrivData == NULL && uMsg != WM_CREATE) { goto HandleDefMsg; @@ -146,24 +122,18 @@ ClbWndProc(IN HWND hwnd, break; case WM_DESTROY: - HeapFree(GetProcessHeap(), - 0, - PrivData); + HeapFree(GetProcessHeap(), 0, PrivData); break; default: HandleDefMsg: - Ret = DefWindowProc(hwnd, - uMsg, - wParam, - lParam); + Ret = DefWindowProc(hwnd, uMsg, wParam, lParam); break; } return Ret; } - static INT_PTR CALLBACK ClbpStyleDlgProc(IN HWND hwndDlg, IN UINT uMsg, @@ -181,15 +151,13 @@ ClbpStyleDlgProc(IN HWND hwndDlg, { case IDOK: case IDCANCEL: - EndDialog(hwndDlg, - (INT_PTR)LOWORD(wParam)); + EndDialog(hwndDlg, LOWORD(wParam)); break; } break; case WM_CLOSE: - EndDialog(hwndDlg, - IDCANCEL); + EndDialog(hwndDlg, IDCANCEL); break; case WM_INITDIALOG: @@ -200,7 +168,6 @@ ClbpStyleDlgProc(IN HWND hwndDlg, return Ret; } - /* * @implemented */ @@ -216,36 +183,32 @@ ClbStyleW(IN HWND hWndParent, dwInitParam); } - /* * @implemented */ BOOL WINAPI -CustomControlInfoW(OUT LPCUSTOM_CONTROL_INFO CustomControlInfo OPTIONAL) +CustomControlInfoW(OUT LPCUSTOM_CONTROL_INFO CustomControlInfo OPTIONAL) { if (CustomControlInfo != NULL) { - wcscpy(CustomControlInfo->ClassName, - ClbClassName); + wcscpy(CustomControlInfo->ClassName, ClbClassName); CustomControlInfo->Zero1 = 0; - wcscpy(CustomControlInfo->ClassName2, - ClbClassName); + wcscpy(CustomControlInfo->ClassName2, ClbClassName); - CustomControlInfo->Unknown1 = 0x60; /* FIXME - ??? */ - CustomControlInfo->Unknown2 = 0x50; /* FIXME - ??? */ - CustomControlInfo->Unknown3 = 0x50A10013; /* FIXME - ??? */ + CustomControlInfo->Unknown1 = 0x60; // FIXME - ??? + CustomControlInfo->Unknown2 = 0x50; // FIXME - ??? + CustomControlInfo->Unknown3 = 0x50A10013; // FIXME - ??? CustomControlInfo->Zero2 = 0; CustomControlInfo->Zero3 = 0; - CustomControlInfo->StylesCount = sizeof(ClbsSupportedStyles) / sizeof(ClbsSupportedStyles[0]); + CustomControlInfo->StylesCount = _countof(ClbsSupportedStyles); CustomControlInfo->SupportedStyles = ClbsSupportedStyles; - wcscpy(CustomControlInfo->Columns, - ClbColumns); + wcscpy(CustomControlInfo->Columns, ClbColumns); CustomControlInfo->ClbStyleW = ClbStyleW; @@ -280,10 +243,9 @@ DllMain(IN HINSTANCE hinstDLL, ClbWndClass.lpfnWndProc = ClbWndProc; ClbWndClass.cbClsExtra = 0; ClbWndClass.cbWndExtra = sizeof(PCLB_PRIVATEDATA); - ClbWndClass.hInstance = hinstDLL, - ClbWndClass.hIcon = NULL; - ClbWndClass.hCursor = LoadCursor(NULL, - (LPWSTR)IDC_ARROW); + ClbWndClass.hInstance = hinstDLL; + ClbWndClass.hIcon = NULL; + ClbWndClass.hCursor = LoadCursor(NULL, (LPWSTR)IDC_ARROW); ClbWndClass.hbrBackground = NULL; ClbWndClass.lpszMenuName = NULL; ClbWndClass.lpszClassName = ClbClassName; @@ -301,8 +263,7 @@ DllMain(IN HINSTANCE hinstDLL, break; case DLL_PROCESS_DETACH: - UnregisterClass(ClbClassName, - hinstDLL); + UnregisterClass(ClbClassName, hinstDLL); break; } return Ret; diff --git a/base/applications/regedit/edit.c b/base/applications/regedit/edit.c index dcc82520ba0..17831d8d8cb 100644 --- a/base/applications/regedit/edit.c +++ b/base/applications/regedit/edit.c @@ -2,20 +2,7 @@ * Registry editing UI functions. * * Copyright (C) 2003 Dimitrie O. Paun - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" @@ -161,7 +148,6 @@ INT_PTR CALLBACK modify_string_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, L return FALSE; } - INT_PTR CALLBACK modify_multi_string_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { WCHAR* valueData; @@ -229,7 +215,6 @@ INT_PTR CALLBACK modify_multi_string_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wPa return FALSE; } - LRESULT CALLBACK DwordEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { WNDPROC oldwndproc; @@ -241,7 +226,7 @@ LRESULT CALLBACK DwordEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPAR case WM_CHAR: if (dwordEditMode == EDIT_MODE_DEC) { - if (isdigit((int) wParam & 0xff) || iscntrl((int) wParam & 0xff)) + if (isdigit((int)wParam & 0xff) || iscntrl((int)wParam & 0xff)) { break; } @@ -252,7 +237,7 @@ LRESULT CALLBACK DwordEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPAR } else if (dwordEditMode == EDIT_MODE_HEX) { - if (isxdigit((int) wParam & 0xff) || iscntrl((int) wParam & 0xff)) + if (isxdigit((int)wParam & 0xff) || iscntrl((int)wParam & 0xff)) { break; } @@ -270,7 +255,6 @@ LRESULT CALLBACK DwordEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPAR return CallWindowProcW(oldwndproc, hwnd, uMsg, wParam, lParam); } - INT_PTR CALLBACK modify_dword_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { WNDPROC oldproc; @@ -384,7 +368,6 @@ INT_PTR CALLBACK modify_dword_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LP return FALSE; } - INT_PTR CALLBACK modify_binary_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { HWND hwndValue; @@ -417,7 +400,7 @@ INT_PTR CALLBACK modify_binary_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, L case IDOK: if ((hwndValue = GetDlgItem(hwndDlg, IDC_VALUE_DATA))) { - len = (UINT) HexEdit_GetBufferSize(hwndValue); + len = (UINT)HexEdit_GetBufferSize(hwndValue); if (len > 0 && binValueData) binValueData = HeapReAlloc(GetProcessHeap(), 0, binValueData, len); else @@ -435,7 +418,6 @@ INT_PTR CALLBACK modify_binary_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, L return FALSE; } - static BOOL CreateResourceColumns(HWND hwnd) { WCHAR szText[80]; @@ -659,7 +641,6 @@ GetInterfaceType(INTERFACE_TYPE InterfaceType, // wcscpy(pBuffer, lpInterfaceType); } - static VOID ParseResources(HWND hwnd) { @@ -857,7 +838,6 @@ ParseResources(HWND hwnd) } } - static BOOL OnResourceNotify(HWND hwndDlg, NMHDR *phdr) { @@ -914,7 +894,6 @@ OnResourceNotify(HWND hwndDlg, NMHDR *phdr) return FALSE; } - static INT_PTR CALLBACK modify_resource_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { UNREFERENCED_PARAMETER(lParam); @@ -1035,7 +1014,6 @@ OnResourceListNotify(HWND hwndDlg, NMHDR *phdr) return FALSE; } - static INT_PTR CALLBACK modify_resource_list_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { UNREFERENCED_PARAMETER(lParam); @@ -1068,7 +1046,6 @@ static INT_PTR CALLBACK modify_resource_list_dlgproc(HWND hwndDlg, UINT uMsg, WP return FALSE; } - BOOL ModifyValue(HWND hwnd, HKEY hKey, LPCWSTR valueName, BOOL EditBin) { DWORD type; @@ -1121,7 +1098,7 @@ BOOL ModifyValue(HWND hwnd, HKEY hKey, LPCWSTR valueName, BOOL EditBin) { if (stringValueData) { - lRet = RegSetValueExW(hKey, valueName, 0, type, (LPBYTE)stringValueData, (DWORD) (wcslen(stringValueData) + 1) * sizeof(WCHAR)); + lRet = RegSetValueExW(hKey, valueName, 0, type, (LPBYTE)stringValueData, (DWORD)(wcslen(stringValueData) + 1) * sizeof(WCHAR)); } else { @@ -1225,7 +1202,7 @@ BOOL ModifyValue(HWND hwnd, HKEY hKey, LPCWSTR valueName, BOOL EditBin) warning(hwnd, IDS_MULTI_SZ_EMPTY_STRING); } - lRet = RegSetValueExW(hKey, valueName, 0, type, (LPBYTE)lines, (DWORD) buflen); + lRet = RegSetValueExW(hKey, valueName, 0, type, (LPBYTE)lines, (DWORD)buflen); HeapFree(GetProcessHeap(), 0, lines); } else @@ -1394,7 +1371,7 @@ static LONG CopyKey(HKEY hDestKey, LPCWSTR lpDestSubKey, HKEY hSrcKey, LPCWSTR l dwIndex = 0; do { - cbName = sizeof(szSubKey) / sizeof(szSubKey[0]); + cbName = COUNT_OF(szSubKey); lResult = RegEnumKeyExW(hSrcKey, dwIndex++, szSubKey, &cbName, NULL, NULL, NULL, &ft); if (lResult == ERROR_SUCCESS) { @@ -1409,8 +1386,8 @@ static LONG CopyKey(HKEY hDestKey, LPCWSTR lpDestSubKey, HKEY hSrcKey, LPCWSTR l dwIndex = 0; do { - cbName = sizeof(szValueName) / sizeof(szValueName[0]); - cbData = sizeof(szValueData) / sizeof(szValueData[0]); + cbName = COUNT_OF(szValueName); + cbData = COUNT_OF(szValueData); lResult = RegEnumValueW(hSrcKey, dwIndex++, szValueName, &cbName, NULL, &dwType, szValueData, &cbData); if (lResult == ERROR_SUCCESS) { @@ -1499,7 +1476,7 @@ LONG RenameKey(HKEY hKey, LPCWSTR lpSubKey, LPCWSTR lpNewName) if (s) { s++; - lpNewSubKey = (LPWSTR) HeapAlloc(GetProcessHeap(), 0, (s - lpSubKey + wcslen(lpNewName) + 1) * sizeof(WCHAR)); + lpNewSubKey = (LPWSTR)HeapAlloc(GetProcessHeap(), 0, (s - lpSubKey + wcslen(lpNewName) + 1) * sizeof(WCHAR)); if (lpNewSubKey != NULL) { memcpy(lpNewSubKey, lpSubKey, (s - lpSubKey) * sizeof(WCHAR)); @@ -1566,7 +1543,7 @@ LONG QueryStringValue(HKEY hKey, LPCWSTR lpSubKey, LPCWSTR lpValueName, LPWSTR p } cbData = (dwBufferLen - 1) * sizeof(*pszBuffer); - lResult = RegQueryValueExW(hKey, lpValueName, NULL, &dwType, (LPBYTE) pszBuffer, &cbData); + lResult = RegQueryValueExW(hKey, lpValueName, NULL, &dwType, (LPBYTE)pszBuffer, &cbData); if (lResult != ERROR_SUCCESS) goto done; if (dwType != REG_SZ) diff --git a/base/applications/regedit/error.c b/base/applications/regedit/error.c index 8ddf60a2815..f1172740409 100644 --- a/base/applications/regedit/error.c +++ b/base/applications/regedit/error.c @@ -3,20 +3,7 @@ * * Copyright (C) 2010 Adam Kachwalla * Copyright (C) 2012 Hermès Bélusca - Maïto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" diff --git a/base/applications/regedit/find.c b/base/applications/regedit/find.c index e84b26ddcde..36c1270a636 100644 --- a/base/applications/regedit/find.c +++ b/base/applications/regedit/find.c @@ -1,19 +1,7 @@ /* * Regedit find dialog * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" @@ -535,7 +523,6 @@ success: return TRUE; } - static DWORD GetFindFlags(void) { HKEY hKey; diff --git a/base/applications/regedit/framewnd.c b/base/applications/regedit/framewnd.c index d9a0ed2a5a9..dfde2e35f40 100644 --- a/base/applications/regedit/framewnd.c +++ b/base/applications/regedit/framewnd.c @@ -2,20 +2,7 @@ * Regedit frame window * * Copyright (C) 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" @@ -24,10 +11,6 @@ #include #include -/******************************************************************************* - * Local module support methods - */ - static void resize_frame_rect(HWND hWnd, PRECT prect) { if (IsWindowVisible(hStatusBar)) @@ -49,8 +32,6 @@ static void resize_frame_client(HWND hWnd) resize_frame_rect(hWnd, &rect); } -/********************************************************************************/ - static void OnEnterMenuLoop(HWND hWnd) { int nParts; @@ -73,7 +54,7 @@ static void OnMenuSelect(HWND hWnd, UINT nItemID, UINT nFlags, HMENU hSysMenu) { WCHAR str[100]; - wcscpy(str, L""); + str[0] = UNICODE_NULL; if (nFlags & MF_POPUP) { if (hSysMenu != GetMenu(hWnd)) @@ -299,7 +280,7 @@ static BOOL LoadHive(HWND hWnd) LoadStringW(hInst, IDS_LOAD_HIVE, Caption, COUNT_OF(Caption)); ofn.lpstrTitle = Caption; ofn.Flags |= OFN_ENABLESIZING; - /* ofn.lCustData = ;*/ + /* now load the hive */ if (GetOpenFileName(&ofn)) { @@ -381,7 +362,7 @@ static BOOL ImportRegistryFile(HWND hWnd) LoadStringW(hInst, IDS_IMPORT_REG_FILE, Caption, COUNT_OF(Caption)); ofn.lpstrTitle = Caption; ofn.Flags |= OFN_ENABLESIZING; - /* ofn.lCustData = ;*/ + if (GetOpenFileName(&ofn)) { /* Look at the extension of the file to determine its type */ @@ -622,78 +603,6 @@ BOOL ExportRegistryFile(HWND hWnd) return bRet; } -BOOL PrintRegistryHive(HWND hWnd, LPWSTR path) -{ -#if 1 - PRINTDLG pd; - UNREFERENCED_PARAMETER(path); - - ZeroMemory(&pd, sizeof(PRINTDLG)); - pd.lStructSize = sizeof(PRINTDLG); - pd.hwndOwner = hWnd; - pd.hDevMode = NULL; /* Don't forget to free or store hDevMode*/ - pd.hDevNames = NULL; /* Don't forget to free or store hDevNames*/ - pd.Flags = PD_USEDEVMODECOPIESANDCOLLATE | PD_RETURNDC; - pd.nCopies = 1; - pd.nFromPage = 0xFFFF; - pd.nToPage = 0xFFFF; - pd.nMinPage = 1; - pd.nMaxPage = 0xFFFF; - if (PrintDlg(&pd)) - { - /* GDI calls to render output. */ - DeleteDC(pd.hDC); /* Delete DC when done.*/ - } -#else - HRESULT hResult; - PRINTDLGEX pd; - - hResult = PrintDlgEx(&pd); - if (hResult == S_OK) - { - switch (pd.dwResultAction) - { - case PD_RESULT_APPLY: - /*The user clicked the Apply button and later clicked the Cancel button. This indicates that the user wants to apply the changes made in the property sheet, but does not yet want to print. The PRINTDLGEX structure contains the information specified by the user at the time the Apply button was clicked. */ - break; - case PD_RESULT_CANCEL: - /*The user clicked the Cancel button. The information in the PRINTDLGEX structure is unchanged. */ - break; - case PD_RESULT_PRINT: - /*The user clicked the Print button. The PRINTDLGEX structure contains the information specified by the user. */ - break; - default: - break; - } - } - else - { - switch (hResult) - { - case E_OUTOFMEMORY: - /*Insufficient memory. */ - break; - case E_INVALIDARG: - /* One or more arguments are invalid. */ - break; - case E_POINTER: - /*Invalid pointer. */ - break; - case E_HANDLE: - /*Invalid handle. */ - break; - case E_FAIL: - /*Unspecified error. */ - break; - default: - break; - } - return FALSE; - } -#endif - return TRUE; -} - BOOL CopyKeyName(HWND hWnd, HKEY hRootKey, LPCWSTR keyName) { BOOL bClipboardOpened = FALSE; @@ -931,12 +840,8 @@ FreeObjectPicker(IN IDsObjectPicker *pDsObjectPicker) pDsObjectPicker->lpVtbl->Release(pDsObjectPicker); } -/******************************************************************************* - * - * FUNCTION: _CmdWndProc(HWND, unsigned, WORD, LONG) - * - * PURPOSE: Processes WM_COMMAND messages for the main frame window. - * +/** + * PURPOSE: Processes WM_COMMAND messages for the main frame window. */ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { @@ -982,7 +887,7 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) COUNT_OF(szComputerName)); if (hRet == S_OK) { - /* FIXME - connect to the registry */ + // FIXME - connect to the registry } FreeObjectPicker(ObjectPicker); @@ -995,18 +900,12 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) } case ID_REGISTRY_DISCONNECTNETWORKREGISTRY: return TRUE; - case ID_REGISTRY_PRINT: - PrintRegistryHive(hWnd, L""); - return TRUE; case ID_REGISTRY_EXIT: DestroyWindow(hWnd); return TRUE; case ID_VIEW_STATUSBAR: toggle_child(hWnd, LOWORD(wParam), hStatusBar); return TRUE; - case ID_HELP_ABOUT: - ShowAboutBox(hWnd); - return TRUE; case ID_VIEW_SPLIT: { RECT rt; @@ -1146,23 +1045,11 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) case ID_EDIT_PERMISSIONS: RegKeyEditPermissions(hWnd, hKeyRoot, NULL, keyPath); break; - case ID_REGISTRY_PRINTERSETUP: - /*PRINTDLG pd;*/ - /*PrintDlg(&pd);*/ - /*PAGESETUPDLG psd;*/ - /*PageSetupDlg(&psd);*/ - break; - case ID_REGISTRY_OPENLOCAL: - break; - case ID_VIEW_REFRESH: RefreshTreeView(g_pChildWnd->hTreeWnd); keyPath = GetItemPath(g_pChildWnd->hTreeWnd, 0, &hKeyRoot); RefreshListView(g_pChildWnd->hListWnd, hKeyRoot, keyPath, TRUE); break; - /*case ID_OPTIONS_TOOLBAR:*/ - /* toggle_child(hWnd, LOWORD(wParam), hToolBar);*/ - /* break;*/ case ID_EDIT_NEW_KEY: CreateNewKey(g_pChildWnd->hTreeWnd, TreeView_GetSelection(g_pChildWnd->hTreeWnd)); break; @@ -1213,17 +1100,12 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) return result; } -/******************************************************************************** - * - * FUNCTION: FrameWndProc(HWND, unsigned, WORD, LONG) - * - * PURPOSE: Processes messages for the main frame window. - * - * WM_COMMAND - process the application menu - * WM_DESTROY - post a quit message and return +/** + * PURPOSE: Processes messages for the main frame window * + * WM_COMMAND - process the application menu + * WM_DESTROY - post a quit message and return */ - LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { RECT rc; @@ -1240,14 +1122,12 @@ LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa return DefWindowProcW(hWnd, message, wParam, lParam); break; case WM_ACTIVATE: - if (LOWORD(hWnd) && g_pChildWnd) + if (LOWORD(wParam) != WA_INACTIVE && g_pChildWnd) SetFocus(g_pChildWnd->hWnd); break; case WM_SIZE: resize_frame_client(hWnd); break; - case WM_TIMER: - break; case WM_INITMENU: break; case WM_ENTERMENULOOP: diff --git a/base/applications/regedit/hexedit.c b/base/applications/regedit/hexedit.c index 8c63ff71a95..e5b7566f10c 100644 --- a/base/applications/regedit/hexedit.c +++ b/base/applications/regedit/hexedit.c @@ -2,20 +2,7 @@ * Hex editor control * * Copyright (C) 2004 Thomas Weidenmueller - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" diff --git a/base/applications/regedit/lang/bg-BG.rc b/base/applications/regedit/lang/bg-BG.rc index edbea2f9a16..df73a30e38c 100644 --- a/base/applications/regedit/lang/bg-BG.rc +++ b/base/applications/regedit/lang/bg-BG.rc @@ -1,8 +1,3 @@ -/* Превод на Български/ Bulgarian translation */ -/* https://reactos.org/wiki/Bulgarian_translation */ -/* LOCATION: base/applications/regedit/lang */ -/* НЕДОВЪРШЕН/ INCOMPLETE */ - LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT ID_ACCEL ACCELERATORS @@ -17,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Файл" - BEGIN - MENUITEM "Из&ход", ID_REGISTRY_EXIT - END - POPUP "Помо&щ" - BEGIN - MENUITEM "&За", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Файл" @@ -42,8 +25,6 @@ BEGIN MENUITEM "&Свързване с мрежов регистър...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Разделяне от мрежов регистър...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "От&печатване...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "Из&ход", ID_REGISTRY_EXIT END POPUP "&Обработка" @@ -79,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "О&пресняване\tF5", ID_VIEW_REFRESH END - POPUP "Помо&щ" - BEGIN - MENUITEM "&За регистърния обработчик", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -145,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Промяна на низа" FONT 8, "MS Shell Dlg" BEGIN @@ -158,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Промяна на множествен низ" FONT 8, "MS Shell Dlg" BEGIN @@ -172,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Промяна на двоична стойност" FONT 8, "MS Shell Dlg" BEGIN @@ -185,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Промяна на двойна дума" FONT 8, "MS Shell Dlg" BEGIN @@ -201,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Списък на ресурсите" FONT 8, "MS Shell Dlg" BEGIN @@ -212,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 381, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ресурси" FONT 8, "MS Shell Dlg" BEGIN @@ -269,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Съдържа команди за работа с целия регистър" ID_EDIT_MENU "Съдържа команди за промяна на стойности или ключове" ID_VIEW_MENU "Съдържа команди за нагаждане на прозореца" - ID_HELP_MENU "Съдържа команди за показване на помощ и сведения за регистърен обработчик" ID_EDIT_NEW_MENU "Съдържа команди за създаване на нови ключове или стойности" END @@ -286,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Изхвърля се рой от паметта" ID_REGISTRY_CONNECTNETWORKREGISTRY "Свързва се с регистъра на далечен компютър" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Разкача се от регистъра на отдалечен компютър" - ID_REGISTRY_PRINT "Разпечатва регистъра или част от него" - ID_HELP_ABOUT "Показва сведения за приложението, версия и възпроизводствени права" END STRINGTABLE @@ -456,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Област за износ", IDC_STATIC, 2, 0, 366, 48 - CONTROL "Вси&чки", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 50, 11 - CONTROL "Из&брания клон", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "Вси&чки", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "Из&брания клон", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/cs-CZ.rc b/base/applications/regedit/lang/cs-CZ.rc index cd7a60dd245..a61a0c29300 100644 --- a/base/applications/regedit/lang/cs-CZ.rc +++ b/base/applications/regedit/lang/cs-CZ.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Soubor" - BEGIN - MENUITEM "U&končit", ID_REGISTRY_EXIT - END - POPUP "&Nápověda" - BEGIN - MENUITEM "&O editoru registru", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Soubor" @@ -37,8 +25,6 @@ BEGIN MENUITEM "&Připojit síťový registr...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Odpojit síťový registr...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Tisk...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "U&končit", ID_REGISTRY_EXIT END POPUP "&Úpravy" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Aktualizovat\tF5", ID_VIEW_REFRESH END - POPUP "&Nápověda" - BEGIN - MENUITEM "&O editoru registru", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Úprava řetězce" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Úprava více-řetězce" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Úprava binární hodnoty" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Úprava DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Seznam prostředků" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Prostředky" FONT 8, "MS Shell Dlg" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Obsahuje příkazy pro práci s celým registrem" ID_EDIT_MENU "Obsahuje příkazy pro úpravu hodnot a klíčů" ID_VIEW_MENU "Obsahuje příkazy pro přizpůsobení okna registru" - ID_HELP_MENU "Obsahuje příkazy pro zobrazení nápovědy a informací o editoru registru" ID_EDIT_NEW_MENU "Obsahuje příkazy pro vytváření nových klíčů a hodnot" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Uvolní soubor podregistru" ID_REGISTRY_CONNECTNETWORKREGISTRY "Připojí se ke vzdálenému registru jiného počítače" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Odpojí se od vzdálenému registru jiného počítače" - ID_REGISTRY_PRINT "Vytiskne všechny části registru" - ID_HELP_ABOUT "Zobrazí informace o aplikaci, verzi a copyright" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Rozsah exportu", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Vše", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "V&ybraná větev", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Vše", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "V&ybraná větev", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/de-DE.rc b/base/applications/regedit/lang/de-DE.rc index 6d1a196efaf..a5cde72392e 100644 --- a/base/applications/regedit/lang/de-DE.rc +++ b/base/applications/regedit/lang/de-DE.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Datei" - BEGIN - MENUITEM "&Beenden", ID_REGISTRY_EXIT - END - POPUP "&Hilfe" - BEGIN - MENUITEM "Inf&o", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Datei" @@ -37,8 +25,6 @@ BEGIN MENUITEM "&Mit Netzwerkregistrierung verbinden...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Von Netzwerkregistrierung trennen...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Drucken...\tStrg+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Beenden", ID_REGISTRY_EXIT END POPUP "&Bearbeiten" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Aktualisieren\tF5", ID_VIEW_REFRESH END - POPUP "&Hilfe" - BEGIN - MENUITEM "Inf&o", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "String bearbeiten" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Multi-String bearbeiten" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Binärwert bearbeiten" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "DWORD-Wert bearbeiten" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Liste der Ressourcen" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ressourcen" FONT 8, "MS Shell Dlg" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Enthält Befehle für das Arbeiten mit der ganzen Registry" ID_EDIT_MENU "Enthält Befehle für das Ändern von Schlüsseln oder Werten" ID_VIEW_MENU "Enthält Befehle für das Anpassen des Editor-Fensters" - ID_HELP_MENU "Enthält Befehle um Hilfe und Informationen über den Registry-Editor anzuzeigen" ID_EDIT_NEW_MENU "Enthält Befehle für das Erstellen von neuen Schlüsseln oder Werten" END @@ -272,7 +253,7 @@ STRINGTABLE BEGIN ID_EDIT_MODIFY "Ändert die Daten eines Wertes" ID_EDIT_NEW_KEY "Fügt einen neuen Schlüssel hinzu" - ID_EDIT_NEW_STRINGVALUE "Fügt eine neue Zeichenkette hinzu " + ID_EDIT_NEW_STRINGVALUE "Fügt eine neue Zeichenkette hinzu" ID_EDIT_NEW_BINARYVALUE "Fügt einen neuen Binärwärt hinzu" ID_EDIT_NEW_DWORDVALUE "Fügt einen neuen DWORD-Wert hinzu" ID_REGISTRY_IMPORTREGISTRYFILE "Importiert eine Textddatei in die Registry" @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Entlädt einen Hive von der Registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Verbindet zu einer Registry eines Fremdcomputers" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Trennt die Verbindung zu der Registry eines Fremdcomputers" - ID_REGISTRY_PRINT "Druckt die gesamte Registry oder Teile davon aus" - ID_HELP_ABOUT "Zeigt Versions- und Copyright-Informationen an" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Exportbereich", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Alles", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "A&usgewählter Teil", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Alles", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "A&usgewählter Teil", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/el-GR.rc b/base/applications/regedit/lang/el-GR.rc index be1fa3e23fe..ced765410eb 100644 --- a/base/applications/regedit/lang/el-GR.rc +++ b/base/applications/regedit/lang/el-GR.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Αρχείο" - BEGIN - MENUITEM "Έ&ξοδος", ID_REGISTRY_EXIT - END - POPUP "&Βοήθεια" - BEGIN - MENUITEM "&Σχετικά", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Αρχείο" @@ -37,8 +25,6 @@ BEGIN MENUITEM "&Connect Network Registry...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Disconnect Network Registry...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Εκτύπωση...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "Έ&ξοδος", ID_REGISTRY_EXIT END POPUP "&Επεξεργασία" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Ανανέωση\tF5", ID_VIEW_REFRESH END - POPUP "&Βοήθεια" - BEGIN - MENUITEM "&Σχετικά με τον Registry Editor", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Επεξεργασία Αλφαρηθμητικού" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Επεξεργασία Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Επεξεργασία Δυαδικής Τιμής" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Επεξεργασία DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Περιέχει εντολές για εργασία σε όλη τη registry" ID_EDIT_MENU "Περιέχει εντολές για την επεξεργασία τιμών ή κλειδιών" ID_VIEW_MENU "Περιέχει εντολές για η ρύθμιση του παραθύρου της registry" - ID_HELP_MENU "Περιέχει εντολές για την εμφάνμιση βοήθειας και λεπτομεριεών για τον registry editor" ID_EDIT_NEW_MENU "Περιέχει εντολές για τη δημηιουργία νέων τιμών ή κλειδιών" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Συνδέεεται στη registry ενός απομακρυσμένου υπολογιστή" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Αποσυνδέεεται από τη registry ενός απομακρυσμένου υπολογιστή" - ID_REGISTRY_PRINT "Εκτυπώνει όλο το κομμάτι της registry" - ID_HELP_ABOUT "Εμφανίζει τις πληροφορίες προγράμματος, τον αριθμό έκδοσης και τα δικαιώματα" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Όλα", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Όλα", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/en-US.rc b/base/applications/regedit/lang/en-US.rc index 891b7e95406..c824d269317 100644 --- a/base/applications/regedit/lang/en-US.rc +++ b/base/applications/regedit/lang/en-US.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&File" - BEGIN - MENUITEM "E&xit", ID_REGISTRY_EXIT - END - POPUP "&Help" - BEGIN - MENUITEM "&About", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&File" @@ -31,14 +19,12 @@ BEGIN MENUITEM "&Import...", ID_REGISTRY_IMPORTREGISTRYFILE MENUITEM "&Export...", ID_REGISTRY_EXPORTREGISTRYFILE MENUITEM SEPARATOR - MENUITEM "Load Hive...", ID_REGISTRY_LOADHIVE, GRAYED - MENUITEM "Unload Hive...", ID_REGISTRY_UNLOADHIVE, GRAYED + MENUITEM "&Load Hive...", ID_REGISTRY_LOADHIVE, GRAYED + MENUITEM "&Unload Hive...", ID_REGISTRY_UNLOADHIVE, GRAYED MENUITEM SEPARATOR MENUITEM "&Connect Network Registry...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Disconnect Network Registry...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Print...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "E&xit", ID_REGISTRY_EXIT END POPUP "&Edit" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH END - POPUP "&Help" - BEGIN - MENUITEM "&About Registry Editor", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Binary Value" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Contains commands for working with the whole registry" ID_EDIT_MENU "Contains commands for editing values or keys" ID_VIEW_MENU "Contains commands for customising the registry window" - ID_HELP_MENU "Contains commands for displaying help and information about registry editor" ID_EDIT_NEW_MENU "Contains commands for creating new keys or values" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Connects to a remote computer's registry" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Disconnects from a remote computer's registry" - ID_REGISTRY_PRINT "Prints all or part of the registry" - ID_HELP_ABOUT "Displays program information, version number and copyright" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&All", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/es-ES.rc b/base/applications/regedit/lang/es-ES.rc index c346a759da9..3b41c4d2d1d 100644 --- a/base/applications/regedit/lang/es-ES.rc +++ b/base/applications/regedit/lang/es-ES.rc @@ -1,5 +1,4 @@ -/* Spanish Language resource file. - * Translated by: ?? and Ismael Ferreras Morezuelas <2014-11-07> */ +// COPYRIGHT: 2014 Ismael Ferreras Morezuelas LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL @@ -15,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Archivo" - BEGIN - MENUITEM "&Salir", ID_REGISTRY_EXIT - END - POPUP "Ay&uda" - BEGIN - MENUITEM "&Acerca de", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Archivo" @@ -40,8 +27,6 @@ BEGIN MENUITEM "&Conectar al Registro de red...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Desconectar del Registro de red...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Im&primir...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "S&alir", ID_REGISTRY_EXIT END POPUP "&Edición" @@ -77,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Actualizar\tF5", ID_VIEW_REFRESH END - POPUP "Ay&uda" - BEGIN - MENUITEM "&Acerca de Editor del Registro", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -143,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar cadena" FONT 8, "MS Shell Dlg" BEGIN @@ -156,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar cadena múltiple" FONT 8, "MS Shell Dlg" BEGIN @@ -170,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar valor binario" FONT 8, "MS Shell Dlg" BEGIN @@ -183,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar valor DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -199,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Lista de recursos" FONT 8, "MS Shell Dlg" BEGIN @@ -210,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Recursos" FONT 8, "MS Shell Dlg" BEGIN @@ -267,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "Contiene comandos para trabajar con el Registro completo" ID_EDIT_MENU "Contiene comandos para editar valores o claves" ID_VIEW_MENU "Contiene comandos para personalizar la ventana de Registro" - ID_HELP_MENU "Contiene comandos para mostrar ayuda e información sobre el Editor del Registro" ID_EDIT_NEW_MENU "Contiene comandos para crear nuevas claves o valores" END @@ -284,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Descarga un subárbol del Registro" ID_REGISTRY_CONNECTNETWORKREGISTRY "Se conecta al Registro de un ordenador remoto" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Se desconecta del Registro de un ordenador remoto" - ID_REGISTRY_PRINT "Imprime todo o parte del Registro" - ID_HELP_ABOUT "Muestra información del programa, número de versión y derechos de autor" END STRINGTABLE @@ -454,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Intervalo de exportación ", IDC_STATIC, 2, 0, 276, 48 - CONTROL "&Todos", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 35, 11 - CONTROL "&Rama seleccionada", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Todos", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "&Rama seleccionada", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 25, 34, 245, 12 END @@ -477,7 +455,7 @@ FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "Buscar &siguiente", IDOK, 187, 7, 60, 14 PUSHBUTTON "Cancelar", IDCANCEL, 187, 24, 60, 14 - GROUPBOX "Buscar en ", IDC_STATIC, 7, 25, 63, 51 + GROUPBOX "Buscar en", IDC_STATIC, 7, 25, 63, 51 LTEXT "&Buscar:", IDC_STATIC, 7, 8, 30, 10 EDITTEXT IDC_FINDWHAT, 40, 7, 142, 13, ES_AUTOHSCROLL CONTROL "&Claves", IDC_LOOKAT_KEYS, "Button", BS_AUTOCHECKBOX | diff --git a/base/applications/regedit/lang/fr-FR.rc b/base/applications/regedit/lang/fr-FR.rc index b74337f368f..a999391302c 100644 --- a/base/applications/regedit/lang/fr-FR.rc +++ b/base/applications/regedit/lang/fr-FR.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Fichier" - BEGIN - MENUITEM "&Quitter", ID_REGISTRY_EXIT - END - POPUP "&Aide" - BEGIN - MENUITEM "&À propos", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Fichier" @@ -37,8 +25,6 @@ BEGIN MENUITEM "&Connecter à des registres via le réseau...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Déconnecter de registres réseau...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Im&primer...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Quitter", ID_REGISTRY_EXIT END POPUP "&Édition" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Rafraîchir\tF5", ID_VIEW_REFRESH END - POPUP "&Aide" - BEGIN - MENUITEM "&À propos de l'éditeur de registres", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Éditer la chaîne" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Éditer la chaîne multiple" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Éditer la valeur binaire" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Éditer le mot double" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Liste des ressources" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ressources" FONT 8, "MS Shell Dlg" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Contient des commandes pour travailler sur les registres de manière globale" ID_EDIT_MENU "Contient des commandes pour éditer des valeurs ou des clés" ID_VIEW_MENU "Contient des commandes pour personnaliser la fenêtre des registres" - ID_HELP_MENU "Contient des commandes pour afficher de l'aide et de l'information à propos de l'éditeur de registres" ID_EDIT_NEW_MENU "Contient des commandes pour créer de nouvelles clés ou valeurs" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Décharge une ruche à partir du Registre" ID_REGISTRY_CONNECTNETWORKREGISTRY "Connecte aux registres d'un ordinateur distant" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Déconnecte des registres d'un ordinateur distant" - ID_REGISTRY_PRINT "Imprime tout ou une partie des registres" - ID_HELP_ABOUT "Affiche de l'information sur le programme, le numéro de version et le copyright" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Étendue de l'exportation", IDC_STATIC, 2, 0, 366, 48 - CONTROL "T&out", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "&Branche sélectionnée", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "T&out", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "&Branche sélectionnée", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/he-IL.rc b/base/applications/regedit/lang/he-IL.rc index de91eff6514..6b961c82029 100644 --- a/base/applications/regedit/lang/he-IL.rc +++ b/base/applications/regedit/lang/he-IL.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&קובץ" - BEGIN - MENUITEM "&יציאה", ID_REGISTRY_EXIT - END - POPUP "&עזרה" - BEGIN - MENUITEM "&אודות", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&קובץ" @@ -37,8 +25,6 @@ BEGIN MENUITEM "התחברות לרישום ברשת...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "התנתקות מרישום ברשת...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "הד&פס...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&יציאה", ID_REGISTRY_EXIT END POPUP "&עריכה" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "רענן\tF5", ID_VIEW_REFRESH END - POPUP "עזרה" - BEGIN - MENUITEM "אודות עורך הרישום", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "עריכת מחרוזת" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "עריכת מרובה מחרזות" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "עריכת ערך בינארי" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "עריכת DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "רשימת משאבים" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "משאבים" FONT 8, "MS Shell Dlg" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Contains commands for working with the whole registry" ID_EDIT_MENU "Contains commands for editing values or keys" ID_VIEW_MENU "Contains commands for customising the registry window" - ID_HELP_MENU "Contains commands for displaying help and information about registry editor" ID_EDIT_NEW_MENU "Contains commands for creating new keys or values" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Connects to a remote computer's registry" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Disconnects from a remote computer's registry" - ID_REGISTRY_PRINT "Prints all or part of the registry" - ID_HELP_ABOUT "Displays program information, version number and copyright" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "טווח יצוא", IDC_STATIC, 2, 0, 366, 48 - CONTROL "הכל", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "בחירת ענף", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "הכל", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "בחירת ענף", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/hu-HU.rc b/base/applications/regedit/lang/hu-HU.rc index eee6b8e3dbc..4f0ab4ed82f 100644 --- a/base/applications/regedit/lang/hu-HU.rc +++ b/base/applications/regedit/lang/hu-HU.rc @@ -12,24 +12,12 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&File" - BEGIN - MENUITEM "&Kilépés", ID_REGISTRY_EXIT - END - POPUP "&Súgó" - BEGIN - MENUITEM "&Névjegy", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&File" BEGIN - MENUITEM "&Import Registry File...", ID_REGISTRY_IMPORTREGISTRYFILE - MENUITEM "&Export Registry File...", ID_REGISTRY_EXPORTREGISTRYFILE + MENUITEM "&Import...", ID_REGISTRY_IMPORTREGISTRYFILE + MENUITEM "&Export...", ID_REGISTRY_EXPORTREGISTRYFILE MENUITEM SEPARATOR MENUITEM "&Load Hive...", ID_REGISTRY_LOADHIVE, GRAYED MENUITEM "&Unload Hive...", ID_REGISTRY_UNLOADHIVE, GRAYED @@ -37,7 +25,6 @@ BEGIN MENUITEM "&Connect Network Registry...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Disconnect Network Registry...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Print...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED MENUITEM SEPARATOR MENUITEM "E&xit", ID_REGISTRY_EXIT END @@ -74,10 +61,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH END - POPUP "&Help" - BEGIN - MENUITEM "&Névjegy", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +111,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -140,7 +123,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +136,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +150,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Binary Value" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +163,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +179,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +190,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +216,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +247,6 @@ BEGIN ID_REGISTRY_MENU "Contains commands for working with the whole registry" ID_EDIT_MENU "Contains commands for editing values or keys" ID_VIEW_MENU "Contains commands for customising the registry window" - ID_HELP_MENU "Contains commands for displaying help and information about registry editor" ID_EDIT_NEW_MENU "Contains commands for creating new keys or values" END @@ -281,8 +263,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Connects to a remote computer's registry" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Disconnects from a remote computer's registry" - ID_REGISTRY_PRINT "Prints all or part of the registry" - ID_HELP_ABOUT "Displays program information, version number and copyright" END STRINGTABLE @@ -451,8 +431,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Mind", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Mind", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/id-ID.rc b/base/applications/regedit/lang/id-ID.rc index 53b4336475b..34b05eef023 100644 --- a/base/applications/regedit/lang/id-ID.rc +++ b/base/applications/regedit/lang/id-ID.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&File" - BEGIN - MENUITEM "&Keluar", ID_REGISTRY_EXIT - END - POPUP "&Bantuan" - BEGIN - MENUITEM "&Tentang", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&File" @@ -37,8 +25,6 @@ BEGIN MENUITEM "&Sambung Registri Jaringan...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Putus Registri Jaringan...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Cetak...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Keluar", ID_REGISTRY_EXIT END POPUP "&Edit" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Segarkan\tF5", ID_VIEW_REFRESH END - POPUP "&Bantuan" - BEGIN - MENUITEM "&Tentang Editor Registri", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Hapus", ID_HEXEDIT_DELETE @@ -140,20 +122,20 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Nama nilai:", IDC_STATIC, 6, 6, 134, 8 EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY - LTEXT "Nilai &Data:", IDC_STATIC, 6, 35, 161, 8 + LTEXT "&Data nilai:", IDC_STATIC, 6, 35, 161, 8 EDITTEXT IDC_VALUE_DATA, 6, 46, 240, 12, ES_AUTOHSCROLL DEFPUSHBUTTON "OK", IDOK, 142, 64, 50, 14 PUSHBUTTON "Batal", IDCANCEL, 196, 64, 50, 14 END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Nilai Biner" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Sumber" FONT 8, "MS Shell Dlg" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Berisi perintah untuk bekerja dengan registri keseluruhan" ID_EDIT_MENU "Berisi perintah untuk mengedit nilai atau kunci" ID_VIEW_MENU "Berisi perintah untuk mengatur jendela registri" - ID_HELP_MENU "Berisi perintah untuk menampilkan bantuan dan informasi mengenai editor registri" ID_EDIT_NEW_MENU "Berisi perintah untuk membuat kunci atau nilai baru" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Menyambung ke registri komputer lain" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Memutuskan dari registri komputer lain" - ID_REGISTRY_PRINT "Mecetak semua atau sebagian registri" - ID_HELP_ABOUT "Menampilkan informasi program, nomor versi, dan hak cipta" END STRINGTABLE @@ -315,7 +294,7 @@ BEGIN IDS_QUERY_DELETE_CONFIRM "Konfirmasi Penghapusan Nilai" IDS_ERR_DELVAL_CAPTION "Kesalahan Menghapus Nilai" IDS_ERR_DELETEVALUE "Tidak bisa menghapus semua nilai yang ditetapkan!" - IDS_ERR_RENVAL_CAPTION "Kesalahan Mengganti nama Nilai" + IDS_ERR_RENVAL_CAPTION "Kesalahan Mengganti nama nilai" IDS_ERR_RENVAL_TOEMPTY "Tidak bisa mengganti nama %s. Nama nilai yang ditetapkan kosong. Coba nama lain dan coba lagi." IDS_QUERY_IMPORT_HIVE_CAPTION "Confirm Key Restoration" IDS_QUERY_IMPORT_HIVE_MSG "Kunci ini akan dikembalikan di atas kunci yang dipilih saat ini.\nSemua nilai dan subkunci dalam kunci ini akan dihapus.\nLanjutkan operasi ini?" @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Jangkauan Ekspor", IDC_STATIC, 2, 0, 366, 48 - CONTROL "Semu&a", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "Cabang T&erpilih", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "Semu&a", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "Cabang T&erpilih", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/it-IT.rc b/base/applications/regedit/lang/it-IT.rc index 7f5228776f0..fed1b90553e 100644 --- a/base/applications/regedit/lang/it-IT.rc +++ b/base/applications/regedit/lang/it-IT.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&File" - BEGIN - MENUITEM "E&sci", ID_REGISTRY_EXIT - END - POPUP "&Aiuto" - BEGIN - MENUITEM "&Informazioni sull'editor del Registro", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&File" @@ -37,8 +25,6 @@ BEGIN MENUITEM "&Connetti a Registro in rete...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Disconnetti da Registro di rete...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Stampa...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "E&sci", ID_REGISTRY_EXIT END POPUP "&Modifica" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Aggiorna\tF5", ID_VIEW_REFRESH END - POPUP "&Aiuto" - BEGIN - MENUITEM "&Informazioni sull'editor del Registro", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Modifica Multi-Stringa" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Modifica valori binari" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Modifica DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Lista Risorse" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Risorse" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver esclusivo", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Tipo di interfaccia:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Versione:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Contiene i comandi per lavorare su tutto il Registro" ID_EDIT_MENU "Contiene i comandi per modificare valori o chiavi" ID_VIEW_MENU "Contiene i comandi per personalizzare la finestra del Registro" - ID_HELP_MENU "Contiene i comandi per visualizzare la Guida e informazioni sull'editor del Registro" ID_EDIT_NEW_MENU "Contiene i comandi per creare nuove chiavi o valori" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Espelle un hive dal Registro di sistema" ID_REGISTRY_CONNECTNETWORKREGISTRY "Si connette al Registro di un computer remoto" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Si disconnette dal Registro di un computer remoto" - ID_REGISTRY_PRINT "Stampa tutto o parte del Registro" - ID_HELP_ABOUT "Visualizza informazioni sul programma, numero di versione e copyright" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Esporta Selezione", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Tutto", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "Ramo S&elezionato", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Tutto", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "Ramo S&elezionato", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/ja-JP.rc b/base/applications/regedit/lang/ja-JP.rc index b732b85b386..6cb5f99f147 100644 --- a/base/applications/regedit/lang/ja-JP.rc +++ b/base/applications/regedit/lang/ja-JP.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "ファイル(&F)" - BEGIN - MENUITEM "レジストリ エディタの終了(&X)", ID_REGISTRY_EXIT - END - POPUP "ヘルプ(&H)" - BEGIN - MENUITEM "バージョン情報(&A)", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "ファイル(&F)" @@ -37,8 +25,6 @@ BEGIN MENUITEM "ネットワーク レジストリへの接続(&C)...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "ネットワーク レジストリの切断(&D)...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "印刷(&P)...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "レジストリ エディタの終了(&X)", ID_REGISTRY_EXIT END POPUP "編集(&E)" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "最新の情報に更新(&R)\tF5", ID_VIEW_REFRESH END - POPUP "ヘルプ(&H)" - BEGIN - MENUITEM "バージョン情報(&A)", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "切り取り(&C)", ID_HEXEDIT_CUT + MENUITEM "切り取り(&T)", ID_HEXEDIT_CUT MENUITEM "コピー(&C)", ID_HEXEDIT_COPY MENUITEM "貼り付け(&P)", ID_HEXEDIT_PASTE MENUITEM "削除(&D)", ID_HEXEDIT_DELETE @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "文字列の編集" FONT 9, "MS UI Gothic" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "複数行文字列の編集" FONT 9, "MS UI Gothic" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "バイナリ値の編集" FONT 9, "MS UI Gothic" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "DWORD 値の編集" FONT 9, "MS UI Gothic" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "リソース リスト" FONT 9, "MS UI Gothic" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "リソース" FONT 9, "MS UI Gothic" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "レジストリ全体で使用するコマンドです。" ID_EDIT_MENU "値やキーを編集するコマンドです。" ID_VIEW_MENU "レジストリ ウィンドウをカスタマイズするコマンドです。" - ID_HELP_MENU "ヘルプとレジストリ エディタのバージョン情報を表示するコマンドです。" ID_EDIT_NEW_MENU "新しいキーや値を作成するコマンドです。" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "レジストリからハイブをアンロードします。" ID_REGISTRY_CONNECTNETWORKREGISTRY "リモート コンピュータのレジストリに接続します。" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "リモート コンピュータのレジストリを切断します。" - ID_REGISTRY_PRINT "レジストリの一部または全体を印刷します。" - ID_HELP_ABOUT "プログラムの情報、バージョン番号および著作権を表示します。" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 9, "MS UI Gothic" BEGIN GROUPBOX "エクスポート範囲", IDC_STATIC, 2, 0, 366, 48 - CONTROL "すべて(&A)", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 100, 11 - CONTROL "選択された部分(&E)", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "すべて(&A)", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "選択された部分(&E)", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/ko-KR.rc b/base/applications/regedit/lang/ko-KR.rc index cd1a6f8fda1..aba0a0ea714 100644 --- a/base/applications/regedit/lang/ko-KR.rc +++ b/base/applications/regedit/lang/ko-KR.rc @@ -1,4 +1,4 @@ -/* Korean translation by Seungju Kim - manatails007 */ +// COPYRIGHT: Seungju Kim - manatails007 LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT @@ -14,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "파일(&F)" - BEGIN - MENUITEM "종료(&X)", ID_REGISTRY_EXIT - END - POPUP "도움말(&H)" - BEGIN - MENUITEM "대하여(&A)", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "파일(&F)" @@ -39,8 +27,6 @@ BEGIN MENUITEM "네트워크 레지스트리에 연결(&C)", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "네트워크 레지스트리에 연결 종료(&D)", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "프린트(&P)...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "종료(&X)", ID_REGISTRY_EXIT END POPUP "편집(&E)" @@ -76,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "새로 고침(&R)\tF5", ID_VIEW_REFRESH END - POPUP "도움말(&H)" - BEGIN - MENUITEM "레지스트리 에디터 정보(&A)", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -130,7 +112,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -142,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "문자열 편집" FONT 9, "굴림" BEGIN @@ -155,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "다중 문자열 편집" FONT 9, "굴림" BEGIN @@ -169,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "바이너리 값 편집" FONT 9, "굴림" BEGIN @@ -182,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "DWORD 값 편집" FONT 9, "굴림" BEGIN @@ -198,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 9, "굴림" BEGIN @@ -209,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 9, "굴림" BEGIN @@ -235,7 +217,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -266,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "전체 레지스트리를 관리하기 위한 명령어를 제공합니다" ID_EDIT_MENU "값이나 키를 편집하기 위한 명령어를 제공합니다" ID_VIEW_MENU "레지스트리 창을 커스터마이즈하기 위한 명령어를 제공합니다" - ID_HELP_MENU "도움말과 레지스트리 편집기에 대한 정보를 보여주게 하기 위한 명령어를 제공합니다" ID_EDIT_NEW_MENU "새 키나 값을 만들기 위한 명령어를 제공합니다" END @@ -283,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "원격 컴퓨터의 레지스트리로 접속합니다" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "원격 컴퓨터의 레지스트리로의 접속을 끊습니다" - ID_REGISTRY_PRINT "레지스트리의 전체나 일부를 인쇄합니다" - ID_HELP_ABOUT "프로그램 정보, 벼젼과 라이센스를 표시합니다" END STRINGTABLE @@ -453,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 9, "굴림" BEGIN GROUPBOX "내보내기 범위", IDC_STATIC, 2, 0, 366, 48 - CONTROL "모두(&A)", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "선택된 분기(&E)", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "모두(&A)", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "선택된 분기(&E)", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/nl-NL.rc b/base/applications/regedit/lang/nl-NL.rc index 920a0e65c64..fdca6fdae19 100644 --- a/base/applications/regedit/lang/nl-NL.rc +++ b/base/applications/regedit/lang/nl-NL.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Bestand" - BEGIN - MENUITEM "&Afsluiten", ID_REGISTRY_EXIT - END - POPUP "&Help" - BEGIN - MENUITEM "&Info", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Registerbestand" @@ -34,11 +22,9 @@ BEGIN MENUITEM "&Load Hive...", ID_REGISTRY_LOADHIVE, GRAYED MENUITEM "&Unload Hive...", ID_REGISTRY_UNLOADHIVE, GRAYED MENUITEM SEPARATOR - MENUITEM "Verbinding &maken met netwerkregister...", ID_REGISTRY_CONNECTNETWORKREGISTRY, GRAYED + MENUITEM "Verbinding &maken met netwerkregister...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "Verbinding &verbreken met netwerkregister...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Af&drukken...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Afsluiten", ID_REGISTRY_EXIT END POPUP "&Bewerken" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Vernieuwen\tF5", ID_VIEW_REFRESH END - POPUP "&Help" - BEGIN - MENUITEM "&Info", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Binary Value" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Opdrachten voor het werken met het gehele register" ID_EDIT_MENU "Opdrachten voor het bewerken van waarden of sleutels" ID_VIEW_MENU "Opdrachten voor het aanpassen van het registervenster" - ID_HELP_MENU "Opdrachten voor het weergeven van Help en informatie over de Register-editor" ID_EDIT_NEW_MENU "Opdrachten voor het maken van nieuwe sleutels of waarden" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Een verbinding maken met het register van een externe computer" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "De verbinding met het register van een externe computer verbreken" - ID_REGISTRY_PRINT "Het register of een gedeelte ervan afdrukken" - ID_HELP_ABOUT "Programmagegevens, versienummer en copyrightgegevens weergeven" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&All", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/no-NO.rc b/base/applications/regedit/lang/no-NO.rc index 42c2908b2b8..ee90cf14f8b 100644 --- a/base/applications/regedit/lang/no-NO.rc +++ b/base/applications/regedit/lang/no-NO.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Fil" - BEGIN - MENUITEM "&Avslutt", ID_REGISTRY_EXIT - END - POPUP "&Hjelp" - BEGIN - MENUITEM "&Om", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Fil" @@ -37,8 +25,6 @@ BEGIN MENUITEM "Koble til nettverksregister...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "Koble fra nettverksregister...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Skriv ut...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Avslutt", ID_REGISTRY_EXIT END POPUP "&Rediger" @@ -52,7 +38,7 @@ BEGIN MENUITEM "&Strengverdi", ID_EDIT_NEW_STRINGVALUE MENUITEM "&Binær verdi", ID_EDIT_NEW_BINARYVALUE MENUITEM "&DWORD-verdi", ID_EDIT_NEW_DWORDVALUE - MENUITEM "&Multistreng verdi", ID_EDIT_NEW_MULTISTRINGVALUE + MENUITEM "&Multistrengverdi", ID_EDIT_NEW_MULTISTRINGVALUE MENUITEM "&Utvidbar strengverdi", ID_EDIT_NEW_EXPANDABLESTRINGVALUE END MENUITEM SEPARATOR @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Oppdater\tF5", ID_VIEW_REFRESH END - POPUP "&Hjelp" - BEGIN - MENUITEM "&Om Registerredigering", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Rediger streng" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Rediger multistreng" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Rediger binær verdi" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Rediger DWORD-verdi" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Inneholder kommandoer for å arbeide med hele registret" ID_EDIT_MENU "Inneholder kommandoer for redigering av nøkler eller verdier." ID_VIEW_MENU "Inneholder kommandoer for å tilpasse registervinduet." - ID_HELP_MENU "Inneholder kommandoer for å vise Hjelp og for å få informasjon om Registerredigering." ID_EDIT_NEW_MENU "Inneholder kommandoer for å opprette nye nøkler eller verdier" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Kobler til Registret på en annen datamaskin" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Kobler fra Registret på en annen datamaskin" - ID_REGISTRY_PRINT "Skriver ut hele eller deler av Registret" - ID_HELP_ABOUT "Viser informasjon om program, version og opphavsrett" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Eksporter område", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Alt", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "M&erket gren", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Alt", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "M&erket gren", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END @@ -464,7 +443,7 @@ BEGIN LTEXT "&Key:", IDC_STATIC, 4, 4, 15, 8, SS_LEFT EDITTEXT IDC_EDIT_KEY, 23, 2, 167, 13 DEFPUSHBUTTON "OK", IDOK, 140, 17, 50, 14 - PUSHBUTTON "Cancel", IDCANCEL, 89, 17, 50, 14 + PUSHBUTTON "Avbryt", IDCANCEL, 89, 17, 50, 14 END IDD_FIND DIALOGEX 0, 0, 254, 82 diff --git a/base/applications/regedit/lang/pl-PL.rc b/base/applications/regedit/lang/pl-PL.rc index 7cef60bb206..cdead92fc0d 100644 --- a/base/applications/regedit/lang/pl-PL.rc +++ b/base/applications/regedit/lang/pl-PL.rc @@ -1,12 +1,6 @@ -/* - * Update by Caemyr - Olaf Siejka (Jan, 2007; May, 2011) - * Use ReactOS forum PM or IRC to contact me - * https://reactos.org - * IRC: irc.freenode.net #reactos-pl; - * Updated by Saibamen - Adam Stachowicz (saibamenppl@gmail.com) (August, 2011) - * UTF-8 conversion by Caemyr (May, 2011) - * Update by wojo664 (04.08.2011) - */ +// COPYRIGHT: 2007-2011 Caemyr - Olaf Siejka +// 2011 Adam Stachowicz (Saibamen) +// 2011 wojo664 LANGUAGE LANG_POLISH, SUBLANG_DEFAULT @@ -22,18 +16,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Plik" - BEGIN - MENUITEM "Za&kończ", ID_REGISTRY_EXIT - END - POPUP "Pomo&c" - BEGIN - MENUITEM "&Informacje", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Plik" @@ -47,8 +29,6 @@ BEGIN MENUITEM "&Podłącz rejestr sieciowy...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Odłącz rejestr sieciowy...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Drukuj...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "Za&kończ", ID_REGISTRY_EXIT END POPUP "&Edycja" @@ -84,10 +64,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Odśwież\tF5", ID_VIEW_REFRESH END - POPUP "Pomo&c" - BEGIN - MENUITEM "Edytor rejestru - i&nformacje", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -150,7 +126,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edytowanie ciągu" FONT 8, "MS Shell Dlg" BEGIN @@ -163,7 +139,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edytowanie wielociągu" FONT 8, "MS Shell Dlg" BEGIN @@ -177,7 +153,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edytowanie wartości binarnej" FONT 8, "MS Shell Dlg" BEGIN @@ -190,7 +166,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edytowanie wartości DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -206,7 +182,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Lista zasobów" FONT 8, "MS Shell Dlg" BEGIN @@ -217,7 +193,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Zasoby" FONT 8, "MS Shell Dlg" BEGIN @@ -274,7 +250,6 @@ BEGIN ID_REGISTRY_MENU "Zawiera polecenia do pracy z całym rejestrem" ID_EDIT_MENU "Zawiera polecenia do edycji wartości lub kluczy" ID_VIEW_MENU "Zawiera polecenia do dostosowywania okien rejestru" - ID_HELP_MENU "Zawiera polecenia do wyświetlania Pomocy oraz informacji o Edytorze rejestru" ID_EDIT_NEW_MENU "Zawiera polecenia do tworzenia nowych kluczy lub wartości" END @@ -291,8 +266,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Wyładowuje Drzewo z rejestru" ID_REGISTRY_CONNECTNETWORKREGISTRY "Połączenie z rejestrem zdalnego komputera" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Odłącza od rejestru zdalnego komputera" - ID_REGISTRY_PRINT "Drukuje całość lub część rejestru" - ID_HELP_ABOUT "Wyświetla informacje o programie, numerze wersji i prawach autorskich" END STRINGTABLE @@ -461,8 +434,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Zakres eksportu", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Wszystko", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 47, 11 - CONTROL "Wy&brana gałąź", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Wszystko", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "Wy&brana gałąź", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/pt-BR.rc b/base/applications/regedit/lang/pt-BR.rc index 46114651e90..e04f847315d 100644 --- a/base/applications/regedit/lang/pt-BR.rc +++ b/base/applications/regedit/lang/pt-BR.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Arquivo" - BEGIN - MENUITEM "Sai&r", ID_REGISTRY_EXIT - END - POPUP "A&juda" - BEGIN - MENUITEM "&Sobre", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Arquivo" @@ -37,8 +25,6 @@ BEGIN MENUITEM "C&onectar Registro da rede...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "Desco&nectar Registro da rede...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "I&mprimir...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Sair", ID_REGISTRY_EXIT END POPUP "&Editar" @@ -66,7 +52,7 @@ BEGIN MENUITEM "Locali&zar...\tCtrl+F", ID_EDIT_FIND MENUITEM "Localizar pró&ximo\tF3", ID_EDIT_FINDNEXT END - POPUP "&Exibir" + POPUP "E&xibir" BEGIN MENUITEM "Barra de &status", ID_VIEW_STATUSBAR MENUITEM SEPARATOR @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "Atuali&zar\tF5", ID_VIEW_REFRESH END - POPUP "Aj&uda" - BEGIN - MENUITEM "&Sobre o Editor do Registro", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar string" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar string múltipla" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar valor binário" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Contém comandos para trabalhar com o registro inteiro" ID_EDIT_MENU "Contém comandos para editar valores ou chaves" ID_VIEW_MENU "Contém comandos para personalizar a janela do Registro" - ID_HELP_MENU "Contém comandos para exibir ajuda e informações sobre o Editor do registro" ID_EDIT_NEW_MENU "Contém comandos poara criar novas chaves ou valores" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Conecta-se ao Registro de um computador remoto" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Desconecta-se do Registro de um computador remoto" - ID_REGISTRY_PRINT "Imprime parte ou todo registro" - ID_HELP_ABOUT "Exibe informações sobre o programa, número da versão e direitos autorais." END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Intervalo de exportação", IDC_STATIC, 2, 0, 366, 48 - CONTROL "T&udo", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "&Ramificação selecionada", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "T&udo", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "&Ramificação selecionada", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/pt-PT.rc b/base/applications/regedit/lang/pt-PT.rc index 7d5fdf2c604..5ee6e156d33 100644 --- a/base/applications/regedit/lang/pt-PT.rc +++ b/base/applications/regedit/lang/pt-PT.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Arquivo" - BEGIN - MENUITEM "Sai&r", ID_REGISTRY_EXIT - END - POPUP "Aj&uda" - BEGIN - MENUITEM "&Sobre", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Arquivo" @@ -37,8 +25,6 @@ BEGIN MENUITEM "Li&gar Registo da rede...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Desligar Registo da rede...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Im&primir...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "Sai&r", ID_REGISTRY_EXIT END POPUP "&Editar" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Atualizar\tF5", ID_VIEW_REFRESH END - POPUP "Aj&uda" - BEGIN - MENUITEM "&Sobre o Editor do Registo", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -140,24 +122,24 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editar texto" FONT 8, "MS Shell Dlg" BEGIN - LTEXT "Nome do valor:", IDC_STATIC, 5, 5, 119, 8 + LTEXT "Valor &nome:", IDC_STATIC, 5, 5, 119, 8 EDITTEXT IDC_VALUE_NAME, 5, 15, 200, 12, ES_AUTOHSCROLL | ES_READONLY - LTEXT "Dados do valor:", IDC_STATIC, 5, 30, 119, 8 + LTEXT "&Valor dados:", IDC_STATIC, 5, 30, 119, 8 EDITTEXT IDC_VALUE_DATA, 5, 40, 200, 12, ES_AUTOHSCROLL DEFPUSHBUTTON "OK", IDOK, 140, 60, 30, 11 PUSHBUTTON "Cancelar", IDCANCEL, 175, 60, 30, 11 END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN - LTEXT "Value &name:", IDC_STATIC, 6, 6, 134, 8 + LTEXT "Valor &nome:", IDC_STATIC, 6, 6, 134, 8 EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY LTEXT "&Value data:", IDC_STATIC, 6, 35, 161, 8 EDITTEXT IDC_VALUE_DATA, 6, 46, 240, 102, ES_AUTOHSCROLL | ES_MULTILINE | @@ -167,11 +149,11 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Binary Value" FONT 8, "MS Shell Dlg" BEGIN - LTEXT "Value &name:", IDC_STATIC, 6, 6, 134, 8 + LTEXT "Valor &nome:", IDC_STATIC, 6, 6, 134, 8 EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY LTEXT "&Value data:", IDC_STATIC, 6, 35, 161, 8 CONTROL "", IDC_VALUE_DATA, "HexEdit32", WS_VSCROLL | WS_BORDER | WS_TABSTOP, 6, 46, 240, 102 @@ -180,11 +162,11 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN - LTEXT "Value &name:", IDC_STATIC, 6, 6, 134, 8 + LTEXT "Valor &nome:", IDC_STATIC, 6, 6, 134, 8 EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY LTEXT "&Value data:", IDC_STATIC, 6, 35, 161, 8 EDITTEXT IDC_VALUE_DATA, 6, 46, 116, 12, ES_AUTOHSCROLL @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Recursos" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Versão:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Contém comandos para trabalhar com o Registo inteiro." ID_EDIT_MENU "Contém comandos para edição de valores ou chaves." ID_VIEW_MENU "Contém comandos para personalização da janela do Registo." - ID_HELP_MENU "Contém comandos para exibição da ajuda e informações sobre o Editor do Registo." ID_EDIT_NEW_MENU "Contém comandos para criação de novas chaves ou valores" END @@ -281,20 +262,18 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Liga a um registo num computador remoto." ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Desliga um registo de um computador remoto." - ID_REGISTRY_PRINT "Imprime todo ou parte do registo." - ID_HELP_ABOUT "Exibe informações do programa, número da versão e copyright." END STRINGTABLE BEGIN ID_REGISTRY_EXIT "Encerra o Editor do Registo." - ID_VIEW_STATUSBAR "Mostra ou oculta a barra de status." + ID_VIEW_STATUSBAR "Mostra ou oculta a barra de estado." ID_VIEW_SPLIT "Altera a posição da divisão entre os painéis." ID_VIEW_REFRESH "Atualiza a janela." ID_EDIT_DELETE "Exclui a selecão." ID_EDIT_RENAME "Renomeia a selecão." ID_EDIT_COPYKEYNAME "Copia o nome da chave selecionada para a Área de transferência." - ID_EDIT_FIND "Localiza um texto em uma chave, valor ou dado." + ID_EDIT_FIND "Localiza um texto numa chave, valor ou dado." ID_EDIT_FINDNEXT "Localiza a próxima ocorrência do texto especificado na pesquisa anterior." END @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&All", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/ro-RO.rc b/base/applications/regedit/lang/ro-RO.rc index 733ae2f5b44..cdcd10f2b50 100644 --- a/base/applications/regedit/lang/ro-RO.rc +++ b/base/applications/regedit/lang/ro-RO.rc @@ -14,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Fișier" - BEGIN - MENUITEM "I&eșire", ID_REGISTRY_EXIT - END - POPUP "Aj&utor" - BEGIN - MENUITEM "&Despre…", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Fișier" @@ -39,8 +27,6 @@ BEGIN MENUITEM "&Conectare la un registru din rețea…", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Deconectare de la registru din rețea…", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "I&mprimare…\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "I&eșire", ID_REGISTRY_EXIT END POPUP "&Editare" @@ -76,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "Împ&rospătează\tF5", ID_VIEW_REFRESH END - POPUP "Aj&utor" - BEGIN - MENUITEM "&Despre…", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -142,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editare șir" FONT 8, "MS Shell Dlg" BEGIN @@ -155,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editare multi-șir" FONT 8, "MS Shell Dlg" BEGIN @@ -169,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editare binară" FONT 8, "MS Shell Dlg" BEGIN @@ -182,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Editare date 32 biți" FONT 8, "MS Shell Dlg" BEGIN @@ -198,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Lista resurselor" FONT 8, "MS Shell Dlg" BEGIN @@ -209,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resurse" FONT 8, "MS Shell Dlg" BEGIN @@ -266,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "Conține comenzi de lucru cu întreg registrul" ID_EDIT_MENU "Conține comenzi pentru editarea valorilor și cheilor" ID_VIEW_MENU "Conține comenzi pentru particularizarea ferestrei editorului de registru" - ID_HELP_MENU "Conține comenzi pentru reprezentarea manualului și informațiilor despre editorul de registru" ID_EDIT_NEW_MENU "Conține comenzi pentru crearea noilor chei sau valori" END @@ -283,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Eliberează conținutul unui fișier binar din registru" ID_REGISTRY_CONNECTNETWORKREGISTRY "Conectare la registrul unui calculator din rețea" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Deconectare de la registrul calculatorului din rețea" - ID_REGISTRY_PRINT "Imprimă toate părțile unui registru" - ID_HELP_ABOUT "Prezintă informații despre program, numărul versiunii și drepturi de autor" END STRINGTABLE @@ -384,10 +363,10 @@ END STRINGTABLE BEGIN - IDS_IMPORT_PROMPT "Adăugarea de informații poate în mod neintenționat modifica sau șterge valori (de registru) și cauza funcționare incorectă. Dacă nu aveți încredere în sursa acestei informații din „%s”, nu o adăugați în registru.\n\nSigur doriți să continuați?" - IDS_IMPORT_OK "Cheile și valorile conținute în „%s” au fost adăugate cu succes în registru." - IDS_IMPORT_ERROR "„%s” nu a putut fi importat: Eroare la deschiderea fișierului. Poate fi o problemă a mediului de stocare, a sistemului de fișiere sau fișierul în cauză să nu existe." - IDS_EXPORT_ERROR "„%s” nu a putut fi exportat: Eroare la crearea sau scrierea în fișier. Poate fi o problemă a mediului de stocare sau a sistemului de fișiere." + IDS_IMPORT_PROMPT "Adăugarea de informații poate în mod neintenționat modifica sau șterge valori (de registru) și cauza funcționare incorectă. Dacă nu aveți încredere în sursa acestei informații din „%s”, nu o adăugați în registru.\n\nSigur doriți să continuați?" + IDS_IMPORT_OK "Cheile și valorile conținute în „%s” au fost adăugate cu succes în registru." + IDS_IMPORT_ERROR "„%s” nu a putut fi importat: Eroare la deschiderea fișierului. Poate fi o problemă a mediului de stocare, a sistemului de fișiere sau fișierul în cauză să nu existe." + IDS_EXPORT_ERROR "„%s” nu a putut fi exportat: Eroare la crearea sau scrierea în fișier. Poate fi o problemă a mediului de stocare sau a sistemului de fișiere." END STRINGTABLE @@ -453,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Domeniul de export", IDC_STATIC, 2, 0, 366, 48 - CONTROL "T&ot registrul", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 65, 11 - CONTROL "&Doar ramura selectată", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "T&ot registrul", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "&Doar ramura selectată", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/ru-RU.rc b/base/applications/regedit/lang/ru-RU.rc index 18612fe64b1..1999ac5978c 100644 --- a/base/applications/regedit/lang/ru-RU.rc +++ b/base/applications/regedit/lang/ru-RU.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Файл" - BEGIN - MENUITEM "В&ыход", ID_REGISTRY_EXIT - END - POPUP "&Справка" - BEGIN - MENUITEM "&О программе", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Файл" @@ -31,14 +19,12 @@ BEGIN MENUITEM "&Импортировать из файла...", ID_REGISTRY_IMPORTREGISTRYFILE MENUITEM "&Экспортировать в файл...", ID_REGISTRY_EXPORTREGISTRYFILE MENUITEM SEPARATOR - MENUITEM "З&агрузить куст...", ID_REGISTRY_LOADHIVE, GRAYED + MENUITEM "&Загрузить куст...", ID_REGISTRY_LOADHIVE, GRAYED MENUITEM "&Выгрузить куст...", ID_REGISTRY_UNLOADHIVE, GRAYED MENUITEM SEPARATOR MENUITEM "&Подключить сетевой реестр...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Отключить сетевой реестр...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Печать...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "В&ыход", ID_REGISTRY_EXIT END POPUP "&Правка" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Обновить\tF5", ID_VIEW_REFRESH END - POPUP "&Справка" - BEGIN - MENUITEM "&О редакторе реестра", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Изменение строкового параметра" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Изменение мультистрочного параметра" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Изменение двоичного параметра" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Изменение параметра DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Списки ресурсов" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ресурсы" FONT 8, "MS Shell Dlg" BEGIN @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Содержит команды для работы с реестром в целом" ID_EDIT_MENU "Содержит команды для редактирования значений или ключей" ID_VIEW_MENU "Содержит команды для настройки окна реестра" - ID_HELP_MENU "Содержит команды для отображения справки и информации о редакторе реестра" ID_EDIT_NEW_MENU "Содержит команды для создания новых ключей или значений" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Выгрузить куст реестра" ID_REGISTRY_CONNECTNETWORKREGISTRY "Подключается к реестру удалённого компьютера" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Отключается от реестра удалённого компьютера" - ID_REGISTRY_PRINT "Печатает весь реестр или его часть" - ID_HELP_ABOUT "Отображает информацию о программе, номер версии и авторские права" END STRINGTABLE @@ -320,7 +299,7 @@ BEGIN IDS_QUERY_IMPORT_HIVE_CAPTION "Подтвердите восстановление раздела" IDS_QUERY_IMPORT_HIVE_MSG "Раздел будет восстановлен поверх текущего выбранного раздела.\nВсе параметры и подразделы будут удалены.\nПродолжить выполнение операции?" IDS_NEW_KEY "Новый ключ #%d" - IDS_NEW_VALUE "Новое значение #%d" + IDS_NEW_VALUE "Новый параметр #%d" END STRINGTABLE @@ -446,13 +425,13 @@ END /* Dialogs */ -IDD_EXPORTRANGE DIALOGEX 50, 50, 268, 98 +IDD_EXPORTRANGE DIALOGEX 50, 50, 370, 50 STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Диапазон экспорта", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Весь реестр", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 70, 11 - CONTROL "В&ыбранная ветвь", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Весь реестр", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "В&ыбранная ветвь", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/sk-SK.rc b/base/applications/regedit/lang/sk-SK.rc index b4c2a06f2c0..345c6933bc8 100644 --- a/base/applications/regedit/lang/sk-SK.rc +++ b/base/applications/regedit/lang/sk-SK.rc @@ -1,6 +1,4 @@ -/* TRANSLATOR : Mário Kačmár /Mario Kacmar/ aka Kario (kario@szm.sk) - * DATE OF TR.: 07-07-2008 - */ +// COPYRIGHT: 2008 Mario Kacmar LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT @@ -16,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Súbor" - BEGIN - MENUITEM "S&končiť", ID_REGISTRY_EXIT - END - POPUP "&Pomocník" - BEGIN - MENUITEM "Č&o je", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Súbor" @@ -41,8 +27,6 @@ BEGIN MENUITEM "&Pripojiť registre v sieti...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Odpojiť registre v sieti...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Tlačiť...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "S&končiť", ID_REGISTRY_EXIT END POPUP "&Upraviť" @@ -78,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Obnoviť\tF5", ID_VIEW_REFRESH END - POPUP "&Pomocník" - BEGIN - MENUITEM "Č&o je Editor registrov", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -132,7 +112,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -144,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Úprava reťazca" FONT 8, "MS Shell Dlg" BEGIN @@ -157,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Úprava viacnásobného reťazca" FONT 8, "MS Shell Dlg" BEGIN @@ -171,8 +151,8 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Úprava binárnej hodnoty" //upraviť, upravenie +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Úprava binárnej hodnoty" FONT 8, "MS Shell Dlg" BEGIN LTEXT "Value &name:", IDC_STATIC, 6, 6, 134, 8 @@ -184,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Úprava DWORD hodnoty" FONT 8, "MS Shell Dlg" BEGIN @@ -200,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -211,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -237,7 +217,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -268,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "Contains commands for working with the whole registry" ID_EDIT_MENU "Contains commands for editing values or keys" ID_VIEW_MENU "Contains commands for customising the registry window" - ID_HELP_MENU "Contains commands for displaying help and information about registry editor" ID_EDIT_NEW_MENU "Contains commands for creating new keys or values" END @@ -285,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Connects to a remote computer's registry" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Disconnects from a remote computer's registry" - ID_REGISTRY_PRINT "Prints all or part of the registry" - ID_HELP_ABOUT "Displays program information, version number and copyright" END STRINGTABLE @@ -455,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&All", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/sl-SI.rc b/base/applications/regedit/lang/sl-SI.rc index 742b73174ea..128e89458c7 100644 --- a/base/applications/regedit/lang/sl-SI.rc +++ b/base/applications/regedit/lang/sl-SI.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Register" - BEGIN - MENUITEM "Iz&hod", ID_REGISTRY_EXIT - END - POPUP "&Pomoè" - BEGIN - MENUITEM "&O", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Register" @@ -37,8 +25,6 @@ BEGIN MENUITEM "P&oveži se z omrežnim registrom...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "P&rekini povezavo z omrežnim registrom...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Na&tisni...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "Iz&hod", ID_REGISTRY_EXIT END POPUP "&Urejanje" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Osveži\tF5", ID_VIEW_REFRESH END - POPUP "&Pomoè" - BEGIN - MENUITEM "&O Urejevalniku registra", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -128,7 +110,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Binary Value" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Ukazi za delo s celotnim registrom" ID_EDIT_MENU "Ukazi za urejanje vrednosti in kljuèev" ID_VIEW_MENU "Ukazi za prilagajanje registrskega okna" - ID_HELP_MENU "Ukazi za prikazovanje pomoèi in informacij o programu" ID_EDIT_NEW_MENU "Ukazi za ustvarjanje novih kljuèev in vrednosti" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Vzpostavi povezavo z registrom oddaljenega raèunalnika" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Prekine povezavo z registrom oddaljenega raèunalnika" - ID_REGISTRY_PRINT "Natisne registrsko datoteko ali njen del" - ID_HELP_ABOUT "Informacije o programu, številki razlièice in avtorskih pravicah" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&All", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/sq-AL.rc b/base/applications/regedit/lang/sq-AL.rc index c21eb41d097..c2497cdf059 100644 --- a/base/applications/regedit/lang/sq-AL.rc +++ b/base/applications/regedit/lang/sq-AL.rc @@ -1,6 +1,4 @@ -/* TRANSLATOR : Ardit Dani (Ard1t) (ardit.dani@gmail.com) - * DATE OF TR: 29-11-2013 -*/ +// COPYRIGHT: 2013 Ardit Dani (Ard1t) LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL @@ -16,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&File" - BEGIN - MENUITEM "Dil", ID_REGISTRY_EXIT - END - POPUP "Ndihmë" - BEGIN - MENUITEM "Rreth", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&File" @@ -41,8 +27,6 @@ BEGIN MENUITEM "Lidh regjistrin e Networkut...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "Shkeput regjistrin e Networkut...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&Printo...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "Dil", ID_REGISTRY_EXIT END POPUP "Modifiko" @@ -78,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Rifresko\tF5", ID_VIEW_REFRESH END - POPUP "Ndihmë" - BEGIN - MENUITEM "Rreth", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -144,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN @@ -157,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -171,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Binary Value" FONT 8, "MS Shell Dlg" BEGIN @@ -184,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -200,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -211,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Burime" FONT 8, "MS Shell Dlg" BEGIN @@ -268,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "Përmban komandat për të punuar me të gjithë regjistrin" ID_EDIT_MENU "Përmban komandat për vlera reduktimi ose çelësat" ID_VIEW_MENU "Përmban komandat për customizing dritaren e regjistrit" - ID_HELP_MENU "Përmban komandat për të shfaqur ndihmë dhe informacion në lidhje me regjistri editor" ID_EDIT_NEW_MENU "Përmban komandat për krijimin keys ose vlera të reja" END @@ -285,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Shkarkon një dokument nga regjistri" ID_REGISTRY_CONNECTNETWORKREGISTRY "Lidhet me regjistrin e një kompjuteri largët" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Shkëputet nga regjistri një kompjuter në distancë të" - ID_REGISTRY_PRINT "Shtyp tërë ose pjesë të regjistrit" - ID_HELP_ABOUT "Displays informacion rreth programit, versionin dhe të drejtat e autorit" END STRINGTABLE @@ -455,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Gama Exportit", IDC_STATIC, 2, 0, 366, 48 - CONTROL "Te Gjith", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "Dega e perzgjedhur", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "Te Gjith", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "Dega e perzgjedhur", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/sv-SE.rc b/base/applications/regedit/lang/sv-SE.rc index 4f340ea0c6a..7a94c9031e7 100644 --- a/base/applications/regedit/lang/sv-SE.rc +++ b/base/applications/regedit/lang/sv-SE.rc @@ -12,18 +12,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Arkiv" - BEGIN - MENUITEM "&Avsluta", ID_REGISTRY_EXIT - END - POPUP "&Hjälp" - BEGIN - MENUITEM "&Om", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Arkiv" @@ -37,8 +25,6 @@ BEGIN MENUITEM "Anslut &Nätverksregister...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Koppla ifrån Nätverksregister...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Skriv &ut...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Avsluta", ID_REGISTRY_EXIT END POPUP "&Redigera" @@ -74,10 +60,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Uppdatera\tF5", ID_VIEW_REFRESH END - POPUP "&Hjälp" - BEGIN - MENUITEM "&Om", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -140,7 +122,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ändra sträng" FONT 8, "MS Shell Dlg" BEGIN @@ -153,7 +135,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ändra multisträng" FONT 8, "MS Shell Dlg" BEGIN @@ -167,7 +149,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ändra Binärvärde" FONT 8, "MS Shell Dlg" BEGIN @@ -180,7 +162,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Ändra DWORD-värde" FONT 8, "MS Shell Dlg" BEGIN @@ -196,7 +178,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -207,7 +189,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -233,7 +215,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -264,7 +246,6 @@ BEGIN ID_REGISTRY_MENU "Innehåller kommandon för att arbeta med hela registret" ID_EDIT_MENU "Innehåller kommandon för att ändra värden och nycklar" ID_VIEW_MENU "Innehåller kommandon för att anpassa registerfönstret" - ID_HELP_MENU "Innehåller kommandon för att visa hjälpen och information om Registereditorn" ID_EDIT_NEW_MENU "Innehåller kommandon för att skapa nya nycklar eller värden" END @@ -281,8 +262,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Tar bort registerdatafil från registret" ID_REGISTRY_CONNECTNETWORKREGISTRY "Ansluter till en annan dators register" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Kopplar ifrån en annan dators register" - ID_REGISTRY_PRINT "Skriver ut hela eller en del av registret" - ID_HELP_ABOUT "Visar programinformation, versionsnummer, och upphovsrätt" END STRINGTABLE @@ -451,8 +430,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Exportera Intervall", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Alla", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "&Vald Gren", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Alla", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "&Vald Gren", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/th-TH.rc b/base/applications/regedit/lang/th-TH.rc index 7f12518789d..8582cc30aff 100644 --- a/base/applications/regedit/lang/th-TH.rc +++ b/base/applications/regedit/lang/th-TH.rc @@ -1,4 +1,4 @@ -/* Thai translation by Sumath Aowsakulsutthi */ +// COPYRIGHT: Sumath Aowsakulsutthi LANGUAGE LANG_THAI, SUBLANG_DEFAULT @@ -14,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "แ&ฟ้ม" - BEGIN - MENUITEM "&ออกจากโปรแกรม", ID_REGISTRY_EXIT - END - POPUP "&ช่วยเหลือ" - BEGIN - MENUITEM "เ&กี่ยวกับ", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "แ&ฟ้ม" @@ -39,8 +27,6 @@ BEGIN MENUITEM "&Connect Network Registry...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Disconnect Network Registry...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "&พิมพ์...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&ออกจากโปรแกรม", ID_REGISTRY_EXIT END POPUP "แ&ก้ไข" @@ -76,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH END - POPUP "&Help" - BEGIN - MENUITEM "เ&กี่ยวกับ", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -130,7 +112,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -142,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit String" FONT 8, "MS Shell Dlg" BEGIN @@ -155,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Multi-String" FONT 8, "MS Shell Dlg" BEGIN @@ -169,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit Binary Value" FONT 8, "MS Shell Dlg" BEGIN @@ -182,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Edit DWORD" FONT 8, "MS Shell Dlg" BEGIN @@ -198,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -209,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -235,7 +217,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -266,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "Contains commands for working with the whole registry" ID_EDIT_MENU "Contains commands for editing values or keys" ID_VIEW_MENU "Contains commands for customising the registry window" - ID_HELP_MENU "Contains commands for displaying help and information about registry editor" ID_EDIT_NEW_MENU "Contains commands for creating new keys or values" END @@ -283,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Connects to a remote computer's registry" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Disconnects from a remote computer's registry" - ID_REGISTRY_PRINT "Prints all or part of the registry" - ID_HELP_ABOUT "Displays program information, version number and copyright" END STRINGTABLE @@ -453,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Export Range", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&All", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "S&elected Branch", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "S&elected Branch", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/tr-TR.rc b/base/applications/regedit/lang/tr-TR.rc index 371d9b163a1..58f0d33a5b0 100644 --- a/base/applications/regedit/lang/tr-TR.rc +++ b/base/applications/regedit/lang/tr-TR.rc @@ -14,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Kütük" - BEGIN - MENUITEM "&Çıkış", ID_REGISTRY_EXIT - END - POPUP "&Yardım" - BEGIN - MENUITEM "&Üzerine", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "&Kütük" @@ -39,8 +27,6 @@ BEGIN MENUITEM "A&ğdaki Değer Defteri'ne Bağlan...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "Ağ&daki Değer Defteri'ne Bağlantıyı Kes...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Ya&zdır...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "&Çıkış", ID_REGISTRY_EXIT END POPUP "&Düzen" @@ -76,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Yenile\tF5", ID_VIEW_REFRESH END - POPUP "&Yardım" - BEGIN - MENUITEM "&Üzerine", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -142,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Dize Değerini Düzenle" FONT 8, "MS Shell Dlg" BEGIN @@ -155,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Çoklu Dize Değerini Düzenle" FONT 8, "MS Shell Dlg" BEGIN @@ -169,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "İkili Değeri Düzenle" FONT 8, "MS Shell Dlg" BEGIN @@ -182,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "DWORD Değeri Düzenle" FONT 8, "MS Shell Dlg" BEGIN @@ -198,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Kaynak Listesi" FONT 8, "MS Shell Dlg" BEGIN @@ -209,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Kaynaklar" FONT 8, "MS Shell Dlg" BEGIN @@ -266,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "Bütün Değer Defteri ile çalışma komutlarını içerir." ID_EDIT_MENU "Anahtar veya değerleri düzenleme komutlarını içerir." ID_VIEW_MENU "Değer Defteri penceresinin özelleştirme komutlarını içerir." - ID_HELP_MENU "Değer Defteri Düzenleyicisi ile ilgili bilgiyi ya da yardımı görüntüleme komutlarını içerir." ID_EDIT_NEW_MENU "Yeni bir dizin ya da yeni bir değer oluşturma komutlarını içerir." END @@ -283,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Değer Defteri'nden bir yığın kaldırır." ID_REGISTRY_CONNECTNETWORKREGISTRY "Uzaktaki bir bilgisyarın Değer Defteri'ne bağlanır." ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Uzaktaki bir bilgisayarın Değer Defteri'ne olan bağlantıyı keser." - ID_REGISTRY_PRINT "Değer Defteri'nin tümünü ya da bir bölümünü yazdırır." - ID_HELP_ABOUT "Programla ilgili bilgi, sürüm numarası ve telif hakkı görüntüler." END STRINGTABLE @@ -308,7 +287,7 @@ BEGIN IDS_BAD_VALUE "Değer sorgulanamıyor: %s" IDS_UNSUPPORTED_TYPE "Şu türdeki dizinler değiştirilemiyor: %ld" IDS_TOO_BIG_VALUE "Değer çok büyük: %ld" - IDS_MULTI_SZ_EMPTY_STRING "REG_MULTI_SZ veri türü boş dizgi içeremez.\nBoş dizgiler dizelgeden silinmiştir." + IDS_MULTI_SZ_EMPTY_STRING "REG_MULTI_SZ veri türü boş dize içeremez.\nBoş diziler listelerden silinmiştir." IDS_QUERY_DELETE_KEY_ONE "Bu dizini silmek istediğinizden emin misiniz?" IDS_QUERY_DELETE_KEY_MORE "Bu dizinleri silmek istediğinizden emin misiniz?" IDS_QUERY_DELETE_KEY_CONFIRM "Dizin Silme Doğrulaması" @@ -320,7 +299,7 @@ BEGIN IDS_ERR_RENVAL_CAPTION "Değer Adı Değiştirilmesi Hatası" IDS_ERR_RENVAL_TOEMPTY "Adı değiştirilemiyor: %s. Belirtilen değer adı boş. Başka bir ad yazıp yeniden deneyiniz." IDS_QUERY_IMPORT_HIVE_CAPTION "Dizin Yenileme Doğrulaması" - IDS_QUERY_IMPORT_HIVE_MSG "Bir dizin seçili dizinle yenilenecektir.\nBu dizinin tüm alt dizinleri ve değerleri silinecektir.\nİşlemi sürdürmek istiyor musunuz?" + IDS_QUERY_IMPORT_HIVE_MSG "Bir dizin seçili dizinle yenilenecektir.\nBu dizinin tüm alt dizinleri ve değerleri silinecektir.\nDevam etmek istiyor musunuz?" IDS_NEW_KEY "%d. Yeni Dizin" IDS_NEW_VALUE "%d. Yeni Değer" END @@ -415,7 +394,7 @@ STRINGTABLE BEGIN IDS_PORT_PORT_IO "Giriş" IDS_PORT_MEMORY_IO "Bellek" - IDS_INTERRUPT_EDGE_SENSITIVE "Kıyı Duyarlı" + IDS_INTERRUPT_EDGE_SENSITIVE "Köşe Duyarlı" IDS_INTERRUPT_LEVEL_SENSITIVE "Düzey Duyarlı" IDS_MEMORY_READ_ONLY "Yalnızca Okunur" IDS_MEMORY_WRITE_ONLY "Yalnızca Yazılır" @@ -453,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Verme Kapsamı", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Tümü", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "&Seçili Dal", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Tümü", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "&Seçili Dal", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/uk-UA.rc b/base/applications/regedit/lang/uk-UA.rc index 245e7ad84ea..628bb32d92b 100644 --- a/base/applications/regedit/lang/uk-UA.rc +++ b/base/applications/regedit/lang/uk-UA.rc @@ -1,4 +1,4 @@ -/* Ukrainian translation by Artem Reznikov, Igor Paliychuk */ +// COPYRIGHT: Artem Reznikov, Igor Paliychuk LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT @@ -14,21 +14,9 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "&Файл" - BEGIN - MENUITEM "В&ихід", ID_REGISTRY_EXIT - END - POPUP "&Довідка" - BEGIN - MENUITEM "Пр&о програму", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN - POPUP "Фа&йл" + POPUP "&Файл" BEGIN MENUITEM "&Імпорт...", ID_REGISTRY_IMPORTREGISTRYFILE MENUITEM "&Експорт...", ID_REGISTRY_EXPORTREGISTRYFILE @@ -39,8 +27,6 @@ BEGIN MENUITEM "&Підключити мережевий реєстр...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "&Відключити мережевий реєстр...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "Д&рук...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "В&ихід", ID_REGISTRY_EXIT END POPUP "Пра&вка" @@ -76,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&Оновити\tF5", ID_VIEW_REFRESH END - POPUP "&Довідка" - BEGIN - MENUITEM "&Про редактор реєстру", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -130,7 +112,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "C&ut", ID_HEXEDIT_CUT + MENUITEM "Cu&t", ID_HEXEDIT_CUT MENUITEM "&Copy", ID_HEXEDIT_COPY MENUITEM "&Paste", ID_HEXEDIT_PASTE MENUITEM "&Delete", ID_HEXEDIT_DELETE @@ -142,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Редагування рядка" FONT 8, "MS Shell Dlg" BEGIN @@ -155,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Редагування багаторядкового значення" FONT 8, "MS Shell Dlg" BEGIN @@ -169,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Редагування двійкового значення" FONT 8, "MS Shell Dlg" BEGIN @@ -182,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Редагування DWORD значення" FONT 8, "MS Shell Dlg" BEGIN @@ -198,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resource List" FONT 8, "MS Shell Dlg" BEGIN @@ -209,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Resources" FONT 8, "MS Shell Dlg" BEGIN @@ -235,7 +217,7 @@ BEGIN LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8 LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8 - RTEXT "Bus Nummer:", IDC_STATIC, 151, 230, 51, 8 + RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8 LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8 RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8 LTEXT "", IDC_VERSION, 205, 240, 66, 8 @@ -266,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "Містить команди для роботи з реєстром у цілому" ID_EDIT_MENU "Містить команди для редагування значень або розділів" ID_VIEW_MENU "Містить команди для настроювання вікна реєстра" - ID_HELP_MENU "Містить команди для відображення довідки та інформації про редактор реєстра" ID_EDIT_NEW_MENU "Містить команди для створення нових розділів або значень" END @@ -283,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "Unloads a hive from the registry" ID_REGISTRY_CONNECTNETWORKREGISTRY "Підключається до реєстру віддаленого комп'ютера" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Відключається від реєстру віддаленого комп'ютера" - ID_REGISTRY_PRINT "Друкує весь реєстр або його частину" - ID_HELP_ABOUT "Відображає інформацію про програму, номер версії та авторство" END STRINGTABLE @@ -453,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Діапазон експорту", IDC_STATIC, 2, 0, 366, 48 - CONTROL "&Весь реєстр", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 29, 11 - CONTROL "Виді&лена гілка", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "&Весь реєстр", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "Виді&лена гілка", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12 END diff --git a/base/applications/regedit/lang/zh-CN.rc b/base/applications/regedit/lang/zh-CN.rc index 44536f835e9..bf30aceca0f 100644 --- a/base/applications/regedit/lang/zh-CN.rc +++ b/base/applications/regedit/lang/zh-CN.rc @@ -14,18 +14,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "文件(&F)" - BEGIN - MENUITEM "退出(&X)", ID_REGISTRY_EXIT - END - POPUP "帮助(&H)" - BEGIN - MENUITEM "关于注册表编辑器(&A)", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "文件(&F)" @@ -39,8 +27,6 @@ BEGIN MENUITEM "连接网络注册表(&C)...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "断开网络注册表(&D)...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "打印(&P)...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "退出(&X)", ID_REGISTRY_EXIT END POPUP "编辑(&E)" @@ -76,10 +62,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "刷新(&R)\tF5", ID_VIEW_REFRESH END - POPUP "帮助(&H)" - BEGIN - MENUITEM "关于注册表编辑器(&A)", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -130,7 +112,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "剪切(&U)", ID_HEXEDIT_CUT + MENUITEM "剪切(&T)", ID_HEXEDIT_CUT MENUITEM "复制(&C)", ID_HEXEDIT_COPY MENUITEM "粘贴(&P)", ID_HEXEDIT_PASTE MENUITEM "删除(&D)", ID_HEXEDIT_DELETE @@ -142,7 +124,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "编辑字符串" FONT 9, "宋体" BEGIN @@ -155,7 +137,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "编辑多字符串" FONT 9, "宋体" BEGIN @@ -169,7 +151,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "编辑二进制数值" FONT 9, "宋体" BEGIN @@ -182,7 +164,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "编辑 DWORD 值" FONT 9, "宋体" BEGIN @@ -198,7 +180,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "资源列表" FONT 9, "宋体" BEGIN @@ -209,7 +191,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "资源" FONT 9, "宋体" BEGIN @@ -266,7 +248,6 @@ BEGIN ID_REGISTRY_MENU "包含操作整个注册表的命令。" ID_EDIT_MENU "包含编辑值或键的命令。" ID_VIEW_MENU "包含定制注册表窗口的命令。" - ID_HELP_MENU "包含显示帮助以及注册表编辑器有关信息的命令。" ID_EDIT_NEW_MENU "包含创建新键或值的命令。" END @@ -283,8 +264,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "从注册表中卸載配置单元。" ID_REGISTRY_CONNECTNETWORKREGISTRY "连接到远程计算机的注册表。" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "与远程计算机注册表断开连接。" - ID_REGISTRY_PRINT "打印所有或部分注册表。" - ID_HELP_ABOUT "显示程序信息、版本和版权。" END STRINGTABLE @@ -453,8 +432,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 9, "宋体" BEGIN GROUPBOX "导出范围", IDC_STATIC, 2, 0, 350, 48 - CONTROL "全部(&A)", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 35, 11 - CONTROL "所选分支(&E)", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "全部(&A)", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "所选分支(&E)", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 310, 12 END diff --git a/base/applications/regedit/lang/zh-TW.rc b/base/applications/regedit/lang/zh-TW.rc index 93f26307bc1..89be7802462 100644 --- a/base/applications/regedit/lang/zh-TW.rc +++ b/base/applications/regedit/lang/zh-TW.rc @@ -15,18 +15,6 @@ END /* Menus */ -IDC_REGEDIT MENU -BEGIN - POPUP "檔案(&F)" - BEGIN - MENUITEM "退出(&X)", ID_REGISTRY_EXIT - END - POPUP "說明(&H)" - BEGIN - MENUITEM "關於登錄編輯程式(&A)", ID_HELP_ABOUT - END -END - IDR_REGEDIT_MENU MENU BEGIN POPUP "檔案(&F)" @@ -40,8 +28,6 @@ BEGIN MENUITEM "連線網路登錄(&C)...", ID_REGISTRY_CONNECTNETWORKREGISTRY MENUITEM "中斷網路登錄連線(&D)...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED MENUITEM SEPARATOR - MENUITEM "列印(&P)...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED - MENUITEM SEPARATOR MENUITEM "退出(&X)", ID_REGISTRY_EXIT END POPUP "編輯(&E)" @@ -77,10 +63,6 @@ BEGIN MENUITEM SEPARATOR MENUITEM "重新整理(&R)\tF5", ID_VIEW_REFRESH END - POPUP "說明(&H)" - BEGIN - MENUITEM "關於登錄編輯程式(&A)", ID_HELP_ABOUT - END END IDR_POPUP_MENUS MENU @@ -131,7 +113,7 @@ BEGIN END POPUP "" BEGIN - MENUITEM "剪下(&U)", ID_HEXEDIT_CUT + MENUITEM "剪下(&T)", ID_HEXEDIT_CUT MENUITEM "複製(&C)", ID_HEXEDIT_COPY MENUITEM "貼上(&P)", ID_HEXEDIT_PASTE MENUITEM "刪除(&D)", ID_HEXEDIT_DELETE @@ -143,7 +125,7 @@ END /* Dialogs */ IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "編輯字元串" FONT 9, "新細明體" BEGIN @@ -156,7 +138,7 @@ BEGIN END IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "編輯多字元串" FONT 9, "新細明體" BEGIN @@ -170,7 +152,7 @@ BEGIN END IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "編輯二進制數值" FONT 9, "新細明體" BEGIN @@ -183,7 +165,7 @@ BEGIN END IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "編輯 DWORD 值" FONT 9, "新細明體" BEGIN @@ -199,7 +181,7 @@ BEGIN END IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "資源列表" FONT 9, "新細明體" BEGIN @@ -210,7 +192,7 @@ BEGIN END IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283 -STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "資源" FONT 9, "新細明體" BEGIN @@ -243,7 +225,7 @@ BEGIN RTEXT "修訂本:", IDC_STATIC, 151, 250, 51, 8 LTEXT "", IDC_REVISION, 205, 250, 66, 8 DEFPUSHBUTTON "確定", IDOK, 92, 263, 40, 14 - PUSHBUTTON "資料...(&D)", IDC_SHOW_RESOURCE_DATA, 148, 263, 40, 14, WS_DISABLED + PUSHBUTTON "資料(&D)...", IDC_SHOW_RESOURCE_DATA, 148, 263, 40, 14, WS_DISABLED END /* String Tables */ @@ -267,7 +249,6 @@ BEGIN ID_REGISTRY_MENU "包含與整個登錄工作相關的命令。" ID_EDIT_MENU "包含編輯值或項的命令。" ID_VIEW_MENU "包含自訂登錄視窗的命令。" - ID_HELP_MENU "包含顯示幫助以及登錄編輯程式有關資訊的命令。" ID_EDIT_NEW_MENU "包含創建新項或值的命令。" END @@ -284,8 +265,6 @@ BEGIN ID_REGISTRY_UNLOADHIVE "從登錄中卸載 Hive 控制檔。" ID_REGISTRY_CONNECTNETWORKREGISTRY "連線到遠端電腦的登錄。" ID_REGISTRY_DISCONNECTNETWORKREGISTRY "斷開與遠端電腦登錄的連線。" - ID_REGISTRY_PRINT "列印所有或部分登錄。" - ID_HELP_ABOUT "顯示程式資訊、版本號和著作權。" END STRINGTABLE @@ -319,7 +298,7 @@ BEGIN IDS_ERR_DELVAL_CAPTION "刪除值時出錯。" IDS_ERR_DELETEVALUE "無法刪除所有指定的值!" IDS_ERR_RENVAL_CAPTION "重新命名值時產生錯誤" - IDS_ERR_RENVAL_TOEMPTY "登錄編輯程式無法重新命名 %s。指定的值名為空。請鍵入其他名稱,再試一次。" + IDS_ERR_RENVAL_TOEMPTY "無法重新命名 %s。指定的值名稱為空。請輸入其他名稱,然後再試一次。" IDS_QUERY_IMPORT_HIVE_CAPTION "確認項的恢復" IDS_QUERY_IMPORT_HIVE_MSG "一個項將恢覆在當前選定的項。\n所有值和子項此項將被都刪除。\n您想繼續該操作嗎?" IDS_NEW_KEY "新項 #%d" @@ -454,8 +433,8 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_B FONT 9, "新細明體" BEGIN GROUPBOX "匯出範圍", IDC_STATIC, 2, 0, 350, 48 - CONTROL "全部(&A)", IDC_EXPORT_ALL, "Button", BS_AUTORADIOBUTTON, 10, 10, 35, 11 - CONTROL "所選分支(&E)", IDC_EXPORT_BRANCH, "Button", BS_AUTORADIOBUTTON, 10, 22, 100, 11 + AUTORADIOBUTTON "全部(&A)", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "所選分支(&E)", IDC_EXPORT_BRANCH, 10, 22, 99, 11 EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 310, 12 END diff --git a/base/applications/regedit/listview.c b/base/applications/regedit/listview.c index 87c8307d3e7..2719236f31f 100644 --- a/base/applications/regedit/listview.c +++ b/base/applications/regedit/listview.c @@ -2,20 +2,7 @@ * Regedit listviews * * Copyright (C) 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" @@ -24,8 +11,8 @@ #define CY_ICON 16 #define LISTVIEW_NUM_ICONS 2 -int Image_String = 0; -int Image_Bin = 0; +int Image_String; +int Image_Bin; INT iListViewSelect = -1; typedef struct tagLINE_INFO @@ -42,11 +29,7 @@ typedef struct tagSORT_INFO BOOL bSortAscending; } SORT_INFO, *PSORT_INFO; -/******************************************************************************* - * Global and Local Variables: - */ - -static INT g_iSortedColumn = 0; +static INT g_iSortedColumn; #define MAX_LIST_COLUMNS (IDS_LIST_COLUMN_LAST - IDS_LIST_COLUMN_FIRST + 1) static const int default_column_widths[MAX_LIST_COLUMNS] = { 35, 25, 40 }; @@ -58,16 +41,11 @@ LPCWSTR GetValueName(HWND hwndLV, int iStartAt) LVITEMW LVItem; PLINE_INFO lineinfo; - /* - if a new item is inserted, then no allocation, - otherwise the heap block will be lost! - */ + // if a new item is inserted, then no allocation, otherwise the heap block will be lost item = ListView_GetNextItem(hwndLV, iStartAt, LVNI_SELECTED); if (item == -1) return NULL; - /* - Should be always TRUE anyways - */ + // Should be always TRUE anyways LVItem.iItem = item; LVItem.iSubItem = 0; LVItem.mask = LVIF_PARAM; @@ -120,9 +98,6 @@ BOOL IsDefaultValue(HWND hwndLV, int i) return FALSE; } -/******************************************************************************* - * Local module support methods - */ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType, void* ValBuf, DWORD dwCount, int Position, BOOL ValExists) { PLINE_INFO linfo; @@ -162,7 +137,6 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType, void* ValB break; } - /* item.lParam = (LPARAM)ValBuf; */ #if (_WIN32_IE >= 0x0300) item.iIndent = 0; #endif @@ -217,16 +191,11 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType, void* ValB { WCHAR buf[200]; if(dwCount == sizeof(DWORD)) - { wsprintf(buf, L"0x%08x (%u)", *(DWORD*)ValBuf, *(DWORD*)ValBuf); - } else - { LoadStringW(hInst, IDS_INVALID_DWORD, buf, COUNT_OF(buf)); - } ListView_SetItemText(hwndLV, index, 2, buf); } - /* lpsRes = convertHexToDWORDStr(lpbData, dwLen); */ break; default: { @@ -298,9 +267,7 @@ static BOOL InitListViewImageLists(HWND hwndLV) /* Fail if not all of the images were added. */ if (ImageList_GetImageCount(himl) < LISTVIEW_NUM_ICONS) - { return FALSE; - } /* Associate the image list with the tree view control. */ (void)ListView_SetImageList(hwndLV, himl, LVSIL_SMALL); @@ -308,8 +275,6 @@ static BOOL InitListViewImageLists(HWND hwndLV) return TRUE; } -/* OnGetDispInfo - processes the LVN_GETDISPINFO notification message. */ - static void OnGetDispInfo(NMLVDISPINFO* plvdi) { static WCHAR buffer[200]; @@ -432,10 +397,8 @@ static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSor dw1 = *(DWORD*)l->val; dw2 = *(DWORD*)r->val; if (pSortInfo->bSortAscending) - // return (dw1 > dw2 ? 1 : -1); return ((int)dw1 - (int)dw2); else - // return (dw1 > dw2 ? -1 : 1); return ((int)dw2 - (int)dw1); } @@ -444,10 +407,8 @@ static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSor qw1 = *(DWORDLONG*)l->val; qw2 = *(DWORDLONG*)r->val; if (pSortInfo->bSortAscending) - // return (qw1 > qw2 ? 1 : -1); return ((int)qw1 - (int)qw2); else - // return (qw1 > qw2 ? -1 : 1); return ((int)qw2 - (int)qw1); } @@ -572,13 +533,9 @@ BOOL ListWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result) { PLINE_INFO lineinfo = (PLINE_INFO)Info->item.lParam; if(!lineinfo->name || !wcscmp(lineinfo->name, L"")) - { *Result = TRUE; - } else - { *Result = FALSE; - } } else *Result = TRUE; @@ -665,7 +622,6 @@ void DestroyListView(HWND hwndLV) free(((LINE_INFO*)item.lParam)->name); HeapFree(GetProcessHeap(), 0, (void*)item.lParam); } - } BOOL RefreshListView(HWND hwndLV, HKEY hKey, LPCWSTR keyPath, BOOL bSelectNone) @@ -705,10 +661,6 @@ BOOL RefreshListView(HWND hwndLV, HKEY hKey, LPCWSTR keyPath, BOOL bSelectNone) DWORD dwValSize = max_val_size; DWORD dwIndex = 0L; DWORD dwValType; - /* if (RegQueryValueExW(hNewKey, NULL, NULL, &dwValType, ValBuf, &dwValSize) == ERROR_SUCCESS) { */ - /* AddEntryToList(hwndLV, L"(Default)", dwValType, ValBuf, dwValSize); */ - /* } */ - /* dwValSize = max_val_size; */ while (RegEnumValueW(hNewKey, dwIndex, ValName, &dwValNameLen, NULL, &dwValType, ValBuf, &dwValSize) == ERROR_SUCCESS) { /* Add a terminating 0 character. Usually this is only necessary for strings. */ @@ -720,9 +672,7 @@ BOOL RefreshListView(HWND hwndLV, HKEY hKey, LPCWSTR keyPath, BOOL bSelectNone) dwValType = 0L; ++dwIndex; if(!wcscmp(ValName, L"")) - { AddedDefault = TRUE; - } } HeapFree(GetProcessHeap(), 0, ValBuf); HeapFree(GetProcessHeap(), 0, ValName); @@ -730,14 +680,10 @@ BOOL RefreshListView(HWND hwndLV, HKEY hKey, LPCWSTR keyPath, BOOL bSelectNone) RegCloseKey(hNewKey); if(!AddedDefault) - { AddEntryToList(hwndLV, L"", REG_SZ, NULL, 0, 0, FALSE); - } c = ListView_GetItemCount(hwndLV); for(i = 0; i < c; i++) - { ListView_SetItemState(hwndLV, i, 0, LVIS_FOCUSED | LVIS_SELECTED); - } if (bSelectNone) iListViewSelect = -1; diff --git a/base/applications/regedit/main.c b/base/applications/regedit/main.c index df6b0d284b9..87aaa2a6e7c 100644 --- a/base/applications/regedit/main.c +++ b/base/applications/regedit/main.c @@ -2,35 +2,18 @@ * Regedit main function * * Copyright (C) 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" BOOL ProcessCmdLine(LPWSTR lpCmdLine); -/******************************************************************************* - * Global Variables: - */ - HINSTANCE hInst; HWND hFrameWnd; HWND hStatusBar; HMENU hMenuFrame; -HMENU hPopupMenus = 0; +HMENU hPopupMenus; UINT nClipboardFormat; LPCWSTR strClipboardFormat = L"TODO: SET CORRECT FORMAT"; @@ -40,24 +23,17 @@ WCHAR szFrameClass[MAX_LOADSTRING]; WCHAR szChildClass[MAX_LOADSTRING]; -/******************************************************************************* +/** + * PURPOSE: Saves instance handle and creates main window * - * - * FUNCTION: InitInstance(HANDLE, int) - * - * PURPOSE: Saves instance handle and creates main window - * - * COMMENTS: - * - * In this function, we save the instance handle in a global variable and - * create and display the main program window. + * COMMENTS: + * In this function, we save the instance handle in a global variable and + * create and display the main program window. */ - BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { BOOL AclUiAvailable; HMENU hEditMenu; - WNDCLASSEXW wcFrame; WNDCLASSEXW wcChild; ATOM hFrameWndClass; @@ -118,19 +94,13 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) SetMenuDefaultItem(hEditMenu, ID_EDIT_MODIFY, MF_BYCOMMAND); nClipboardFormat = RegisterClipboardFormatW(strClipboardFormat); - /* if (nClipboardFormat == 0) { - DWORD dwError = GetLastError(); - } */ hFrameWnd = CreateWindowExW(WS_EX_WINDOWEDGE, (LPCWSTR)(UlongToPtr(hFrameWndClass)), szTitle, WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, hMenuFrame, hInstance, NULL/*lpParam*/); - if (!hFrameWnd) - { return FALSE; - } /* Create the status bar */ hStatusBar = CreateStatusWindowW(WS_VISIBLE | WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | SBT_NOBORDERS, @@ -147,20 +117,15 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) return TRUE; } -/******************************************************************************/ - /* * We need to destroy the main menu before destroying the main window * to avoid a memory leak. */ - void DestroyMainMenu() { DestroyMenu(hMenuFrame); } -/******************************************************************************/ - void ExitInstance(HINSTANCE hInstance) { UnregisterHexEditorClass(hInstance); @@ -169,11 +134,17 @@ void ExitInstance(HINSTANCE hInstance) UnloadAclUiDll(); } -BOOL TranslateChildTabMessage(PMSG msg) +static BOOL InLabelEdit(HWND hWnd, UINT Msg) +{ + HWND hEdit = (HWND)SendMessageW(hWnd, Msg, 0, 0); + return hEdit && IsWindowVisible(hEdit); +} + +static BOOL TranslateChildTabMessage(PMSG msg) { if (msg->message != WM_KEYDOWN) return FALSE; - /* Allow Ctrl+A on address bar */ + // Allow Ctrl+A on address bar if ((msg->hwnd == g_pChildWnd->hAddressBarWnd) && (msg->message == WM_KEYDOWN) && (msg->wParam == L'A') && (GetKeyState(VK_CONTROL) < 0)) @@ -188,10 +159,25 @@ BOOL TranslateChildTabMessage(PMSG msg) return TRUE; } -int APIENTRY wWinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPWSTR lpCmdLine, - int nCmdShow) +static BOOL TranslateRegeditAccelerator(HWND hWnd, HACCEL hAccTable, PMSG msg) +{ + if (msg->message == WM_KEYDOWN) + { + if (msg->wParam == VK_DELETE) + { + if (g_pChildWnd->hAddressBarWnd == msg->hwnd) + return FALSE; + if (InLabelEdit(g_pChildWnd->hTreeWnd, TVM_GETEDITCONTROL) || InLabelEdit(g_pChildWnd->hListWnd, LVM_GETEDITCONTROL)) + return FALSE; + } + } + return TranslateAcceleratorW(hWnd, hAccTable, msg); +} + +int WINAPI wWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPWSTR lpCmdLine, + int nCmdShow) { MSG msg; HACCEL hAccel; @@ -204,16 +190,13 @@ int APIENTRY wWinMain(HINSTANCE hInstance, LoadStringW(hInstance, IDC_REGEDIT, szChildClass, COUNT_OF(szChildClass)); if (ProcessCmdLine(lpCmdLine)) - { return 0; - } switch (GetUserDefaultUILanguage()) { case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT): SetProcessDefaultLayout(LAYOUT_RTL); break; - default: break; } @@ -222,15 +205,14 @@ int APIENTRY wWinMain(HINSTANCE hInstance, /* Perform application initialization */ if (!InitInstance(hInstance, nCmdShow)) - { return 0; - } + hAccel = LoadAcceleratorsW(hInstance, MAKEINTRESOURCEW(ID_ACCEL)); /* Main message loop */ while (GetMessageW(&msg, NULL, 0, 0)) { - if (!TranslateAcceleratorW(hFrameWnd, hAccel, &msg) && + if (!TranslateRegeditAccelerator(hFrameWnd, hAccel, &msg) && !TranslateChildTabMessage(&msg)) { TranslateMessage(&msg); @@ -241,5 +223,3 @@ int APIENTRY wWinMain(HINSTANCE hInstance, ExitInstance(hInstance); return (int)msg.wParam; } - -/* EOF */ diff --git a/base/applications/regedit/main.h b/base/applications/regedit/main.h index 39ad919dd6b..225102f0748 100644 --- a/base/applications/regedit/main.h +++ b/base/applications/regedit/main.h @@ -2,20 +2,7 @@ * Regedit definitions * * Copyright (C) 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #pragma once @@ -38,6 +25,10 @@ #define PM_HEXEDIT 3 #define MAX_NEW_KEY_LEN 128 +#define KEY_MAX_LEN 1024 + +#define REG_FORMAT_5 1 +#define REG_FORMAT_4 2 /******************************************************************************/ @@ -83,9 +74,6 @@ extern WCHAR szChildClass[]; extern const WCHAR g_szGeneralRegKey[]; -/* about.c */ -void ShowAboutBox(HWND hWnd); - /* childwnd.c */ LRESULT CALLBACK ChildWndProc(HWND, UINT, WPARAM, LPARAM); void ResizeWnd(int cx, int cy); @@ -127,6 +115,11 @@ BOOL IsDefaultValue(HWND hwndLV, int i); /* regedit.c */ LPCWSTR getAppName(void); +/* regproc.c */ +BOOL import_registry_file(FILE *in); +void delete_registry_key(WCHAR *reg_key_name); +BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format); + /* security.c */ BOOL RegKeyEditPermissions(HWND hWndOwner, HKEY hKey, LPCWSTR lpMachine, LPCWSTR lpKeyName); diff --git a/base/applications/regedit/regedit.c b/base/applications/regedit/regedit.c index 5f553d8bdf2..8807f3650a7 100644 --- a/base/applications/regedit/regedit.c +++ b/base/applications/regedit/regedit.c @@ -1,21 +1,8 @@ /* * Windows regedit.exe registry editor implementation. * - * Copyright (C) 2002 Andriy Palamarchuk - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Copyright 2002 Andriy Palamarchuk + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" @@ -63,7 +50,7 @@ LPCWSTR getAppName(void) return L"regedit"; } -/****************************************************************************** +/** * Copies file name from command line string to the buffer. * Rewinds the command line string pointer to the next non-space character * after the file name. @@ -134,124 +121,118 @@ void get_file_name(LPWSTR *command_line, LPWSTR file_name) BOOL PerformRegAction(REGEDIT_ACTION action, LPWSTR s, BOOL silent) { - switch (action) + switch (action) { + case ACTION_ADD: { - case ACTION_ADD: - { - WCHAR szText[512]; - WCHAR filename[MAX_PATH]; - FILE *fp; + WCHAR szText[512]; + WCHAR filename[MAX_PATH]; + FILE *fp; - get_file_name(&s, filename); - if (!filename[0]) + get_file_name(&s, filename); + if (!filename[0]) + { + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, NULL, L"No file name is specified."); + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); + exit(4); + } + + while (filename[0]) + { + /* Request import confirmation */ + if (!silent) { - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, NULL, L"No file name is specified."); - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); - exit(4); + int choice; + + LoadStringW(hInst, IDS_IMPORT_PROMPT, szText, COUNT_OF(szText)); + + choice = InfoMessageBox(NULL, MB_YESNOCANCEL | MB_ICONWARNING, szTitle, szText, filename); + + switch (choice) + { + case IDNO: + goto cont; + case IDCANCEL: + /* The cancel case is useful if the user is importing more than one registry file + at a time, and wants to back out anytime during the import process. This way, the + user doesn't have to resort to ending the regedit process abruptly just to cancel + the operation. */ + return TRUE; + default: + break; + } } - while (filename[0]) + /* Open the file */ + fp = _wfopen(filename, L"r"); + + /* Import it */ + if (fp == NULL || !import_registry_file(fp)) { - /* Request import confirmation */ + /* Error opening the file */ if (!silent) { - int choice; - - LoadStringW(hInst, IDS_IMPORT_PROMPT, szText, COUNT_OF(szText)); - - choice = InfoMessageBox(NULL, MB_YESNOCANCEL | MB_ICONWARNING, szTitle, szText, filename); - - switch (choice) - { - case IDNO: - goto cont; - case IDCANCEL: - /* The cancel case is useful if the user is importing more than one registry file - at a time, and wants to back out anytime during the import process. This way, the - user doesn't have to resort to ending the regedit process abruptly just to cancel - the operation. */ - return TRUE; - default: - break; - } + LoadStringW(hInst, IDS_IMPORT_ERROR, szText, COUNT_OF(szText)); + InfoMessageBox(NULL, MB_OK | MB_ICONERROR, szTitle, szText, filename); } - - /* Open the file */ - fp = _wfopen(filename, L"r"); - - /* Import it */ - if (fp == NULL || !import_registry_file(fp)) - { - /* Error opening the file */ - if (!silent) - { - LoadStringW(hInst, IDS_IMPORT_ERROR, szText, COUNT_OF(szText)); - InfoMessageBox(NULL, MB_OK | MB_ICONERROR, szTitle, szText, filename); - } - } - else - { - /* Show successful import */ - if (!silent) - { - LoadStringW(hInst, IDS_IMPORT_OK, szText, COUNT_OF(szText)); - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, szText, filename); - } - } - - /* Close the file */ - if (fp) fclose(fp); - -cont: - get_file_name(&s, filename); - } - break; - } - - case ACTION_DELETE: - { - WCHAR reg_key_name[KEY_MAX_LEN]; - get_file_name(&s, reg_key_name); - if (!reg_key_name[0]) - { - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, NULL, L"No registry key is specified for removal."); - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); - exit(6); - } - delete_registry_key(reg_key_name); - break; - } - - case ACTION_EXPORT: - { - WCHAR filename[MAX_PATH]; - - filename[0] = L'\0'; - get_file_name(&s, filename); - if (!filename[0]) - { - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, NULL, L"No file name is specified."); - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); - exit(7); - } - - if (s[0]) - { - WCHAR reg_key_name[KEY_MAX_LEN]; - get_file_name(&s, reg_key_name); - export_registry_key(filename, reg_key_name, REG_FORMAT_4); } else { - export_registry_key(filename, NULL, REG_FORMAT_4); + /* Show successful import */ + if (!silent) + { + LoadStringW(hInst, IDS_IMPORT_OK, szText, COUNT_OF(szText)); + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, szText, filename); + } } - break; + + /* Close the file */ + if (fp) fclose(fp); + +cont: + get_file_name(&s, filename); + } + break; + } + case ACTION_DELETE: + { + WCHAR reg_key_name[KEY_MAX_LEN]; + get_file_name(&s, reg_key_name); + if (!reg_key_name[0]) + { + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, NULL, L"No registry key is specified for removal."); + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); + exit(6); + } + delete_registry_key(reg_key_name); + break; + } + case ACTION_EXPORT: + { + WCHAR filename[MAX_PATH]; + + filename[0] = L'\0'; + get_file_name(&s, filename); + if (!filename[0]) + { + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, NULL, L"No file name is specified."); + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); + exit(7); } - default: - fwprintf(stderr, L"%s: Unhandled action!\n", getAppName()); - exit(8); - break; + if (s[0]) + { + WCHAR reg_key_name[KEY_MAX_LEN]; + get_file_name(&s, reg_key_name); + export_registry_key(filename, reg_key_name, REG_FORMAT_4); + } + else + export_registry_key(filename, NULL, REG_FORMAT_4); + break; + } + default: + fwprintf(stderr, L"%s: Unhandled action!\n", getAppName()); + exit(8); + break; } return TRUE; @@ -309,19 +290,19 @@ BOOL ProcessCmdLine(LPWSTR lpCmdLine) { switch (chu) { - case L'D': - action = ACTION_DELETE; - break; - case L'E': - action = ACTION_EXPORT; - break; - case L'?': - InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); - exit(3); - break; - default: - error_unknown_switch(chu, s); - break; + case L'D': + action = ACTION_DELETE; + break; + case L'E': + action = ACTION_EXPORT; + break; + case L'?': + InfoMessageBox(NULL, MB_OK | MB_ICONINFORMATION, szTitle, usage); + exit(3); + break; + default: + error_unknown_switch(chu, s); + break; } } s++; @@ -332,18 +313,18 @@ BOOL ProcessCmdLine(LPWSTR lpCmdLine) { switch (chu) { - case L'L': - /* fall through */ - case L'R': - s += 2; - while (*s && !iswspace(*s)) - { - s++; - } - break; - default: - error_unknown_switch(chu, s); - break; + case L'L': + /* fall through */ + case L'R': + s += 2; + while (*s && !iswspace(*s)) + { + s++; + } + break; + default: + error_unknown_switch(chu, s); + break; } } else diff --git a/base/applications/regedit/regedit.h b/base/applications/regedit/regedit.h index 52d13909180..d9ef0a1597b 100644 --- a/base/applications/regedit/regedit.h +++ b/base/applications/regedit/regedit.h @@ -11,7 +11,6 @@ #include #include "main.h" -#include "regproc.h" #include "hexedit.h" #include "security.h" diff --git a/base/applications/regedit/regedit.rc b/base/applications/regedit/regedit.rc index 548316ad5ea..dd03fe64e9a 100644 --- a/base/applications/regedit/regedit.rc +++ b/base/applications/regedit/regedit.rc @@ -2,20 +2,7 @@ * Regedit resources * * Copyright 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include diff --git a/base/applications/regedit/regproc.c b/base/applications/regedit/regproc.c index 41ac7c6be8b..716984e4122 100644 --- a/base/applications/regedit/regproc.c +++ b/base/applications/regedit/regproc.c @@ -5,25 +5,10 @@ * Copyright 1999 Sylvain St-Germain * Copyright 2002 Andriy Palamarchuk * Copyright 2008 Alexander N. Sørnes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" - -#include #include #include #include @@ -46,28 +31,14 @@ static HKEY reg_class_keys[] = { HKEY_CURRENT_CONFIG, HKEY_CURRENT_USER, HKEY_DYN_DATA }; -#define REG_CLASS_NUMBER (sizeof(reg_class_keys) / sizeof(reg_class_keys[0])) - /* return values */ -#define NOT_ENOUGH_MEMORY 1 #define IO_ERROR 2 -/* processing macros */ - -/* common check of memory allocation results */ -#define CHECK_ENOUGH_MEMORY(p) \ -if (!(p)) \ -{ \ - fprintf(stderr,"%S: file %s, line %d: Not enough memory\n", \ - getAppName(), __FILE__, __LINE__); \ - exit(NOT_ENOUGH_MEMORY); \ -} - /****************************************************************************** * Allocates memory and converts input from multibyte to wide chars * Returned string must be freed by the caller */ -WCHAR* GetWideString(const char* strA) +static WCHAR* GetWideString(const char* strA) { if(strA) { @@ -75,7 +46,6 @@ WCHAR* GetWideString(const char* strA) int len = MultiByteToWideChar(CP_ACP, 0, strA, -1, NULL, 0); strW = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR)); - CHECK_ENOUGH_MEMORY(strW); MultiByteToWideChar(CP_ACP, 0, strA, -1, strW, len); return strW; } @@ -94,7 +64,6 @@ static WCHAR* GetWideStringN(const char* strA, int chars, DWORD *len) *len = MultiByteToWideChar(CP_ACP, 0, strA, chars, NULL, 0); strW = HeapAlloc(GetProcessHeap(), 0, *len * sizeof(WCHAR)); - CHECK_ENOUGH_MEMORY(strW); MultiByteToWideChar(CP_ACP, 0, strA, chars, strW, *len); return strW; } @@ -114,7 +83,6 @@ char* GetMultiByteString(const WCHAR* strW) int len = WideCharToMultiByte(CP_ACP, 0, strW, -1, NULL, 0, NULL, NULL); strA = HeapAlloc(GetProcessHeap(), 0, len); - CHECK_ENOUGH_MEMORY(strA); WideCharToMultiByte(CP_ACP, 0, strW, -1, strA, len, NULL, NULL); return strA; } @@ -133,7 +101,6 @@ static char* GetMultiByteStringN(const WCHAR* strW, int chars, DWORD* len) *len = WideCharToMultiByte(CP_ACP, 0, strW, chars, NULL, 0, NULL, NULL); strA = HeapAlloc(GetProcessHeap(), 0, *len); - CHECK_ENOUGH_MEMORY(strA); WideCharToMultiByte(CP_ACP, 0, strW, chars, strA, *len, NULL, NULL); return strA; } @@ -168,7 +135,6 @@ static BYTE* convertHexCSVToHex(WCHAR *str, DWORD *size) /* The worst case is 1 digit + 1 comma per byte */ *size=(lstrlenW(str)+1)/2; data=HeapAlloc(GetProcessHeap(), 0, *size); - CHECK_ENOUGH_MEMORY(data); s = str; d = data; @@ -311,7 +277,7 @@ static BOOL parseKeyName(LPWSTR lpKeyName, HKEY *hKey, LPWSTR *lpKeyPath) } *hKey = NULL; - for (i = 0; i < REG_CLASS_NUMBER; i++) { + for (i = 0; i < COUNT_OF(reg_class_keys); i++) { if (CompareStringW(LOCALE_USER_DEFAULT, 0, lpKeyName, len, reg_class_namesW[i], len) == CSTR_EQUAL && len == lstrlenW(reg_class_namesW[i])) { *hKey = reg_class_keys[i]; @@ -456,7 +422,6 @@ static LONG openKeyW(WCHAR* stdInput) currentKeyHandle = NULL; return res; - } /****************************************************************************** @@ -621,7 +586,6 @@ static void processRegLinesA(FILE *in, char* first_chars) ULONG lineSize = REG_VAL_BUF_SIZE; line = HeapAlloc(GetProcessHeap(), 0, lineSize); - CHECK_ENOUGH_MEMORY(line); memcpy(line, first_chars, 2); while (!feof(in)) { @@ -641,7 +605,6 @@ static void processRegLinesA(FILE *in, char* first_chars) char *s_eol; /* various local uses */ /* Do we need to expand the buffer ? */ - assert (s >= line && s <= line + lineSize); size_remaining = lineSize - (s-line); if (size_remaining < 2) /* room for 1 character and the \0 */ { @@ -651,7 +614,6 @@ static void processRegLinesA(FILE *in, char* first_chars) new_buffer = HeapReAlloc (GetProcessHeap(), 0, line, new_size); else new_buffer = NULL; - CHECK_ENOUGH_MEMORY(new_buffer); line = new_buffer; s = line + lineSize - size_remaining; lineSize = new_size; @@ -674,8 +636,7 @@ static void processRegLinesA(FILE *in, char* first_chars) if(ferror(in)){ perror("While reading input"); exit(IO_ERROR); - }else - assert(feof(in)); + } break; } if(s[i] == '\r'){ @@ -768,7 +729,6 @@ static void processRegLinesW(FILE *in) WCHAR* line; /* The start of the current line */ buf = HeapAlloc(GetProcessHeap(), 0, lineSize * sizeof(WCHAR)); - CHECK_ENOUGH_MEMORY(buf); s = buf; line = buf; @@ -779,7 +739,6 @@ static void processRegLinesW(FILE *in) WCHAR *s_eol = NULL; /* various local uses */ /* Do we need to expand the buffer ? */ - assert (s >= buf && s <= buf + lineSize); size_remaining = lineSize - (s-buf); if (size_remaining < 2) /* room for 1 character and the \0 */ { @@ -789,7 +748,6 @@ static void processRegLinesW(FILE *in) new_buffer = HeapReAlloc (GetProcessHeap(), 0, buf, new_size * sizeof(WCHAR)); else new_buffer = NULL; - CHECK_ENOUGH_MEMORY(new_buffer); buf = new_buffer; line = buf; s = buf + lineSize - size_remaining; @@ -810,7 +768,6 @@ static void processRegLinesW(FILE *in) perror ("While reading input"); exit (IO_ERROR); } else { - assert (feof(in)); *s = '\0'; /* It is not clear to me from the definition that the * contents of the buffer are well defined on detecting @@ -888,7 +845,6 @@ static void processRegLinesW(FILE *in) * * Print the message for GetLastError */ - static void REGPROC_print_error(void) { LPVOID lpMsgBuf; @@ -927,7 +883,6 @@ static void REGPROC_resize_char_buffer(WCHAR **buffer, DWORD *len, DWORD require *buffer = HeapAlloc(GetProcessHeap(), 0, *len * sizeof(**buffer)); else *buffer = HeapReAlloc(GetProcessHeap(), 0, *buffer, *len * sizeof(**buffer)); - CHECK_ENOUGH_MEMORY(*buffer); } } @@ -947,7 +902,6 @@ static void REGPROC_resize_binary_buffer(BYTE **buffer, DWORD *size, DWORD requi *buffer = HeapAlloc(GetProcessHeap(), 0, *size); else *buffer = HeapReAlloc(GetProcessHeap(), 0, *buffer, *size); - CHECK_ENOUGH_MEMORY(*buffer); } } @@ -972,14 +926,12 @@ static void REGPROC_export_string(WCHAR **line_buf, DWORD *line_buf_size, DWORD (*line_buf)[pos++] = '\\'; (*line_buf)[pos++] = 'n'; break; - case '\\': case '"': extra++; REGPROC_resize_char_buffer(line_buf, line_buf_size, *line_len + str_len + extra); (*line_buf)[pos++] = '\\'; /* Fall through */ - default: (*line_buf)[pos++] = c; break; @@ -1326,7 +1278,6 @@ BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format) val_name_size * sizeof(*val_name_buf)); val_buf = HeapAlloc(GetProcessHeap(), 0, val_size); line_buf = HeapAlloc(GetProcessHeap(), 0, line_buf_size * sizeof(*line_buf)); - CHECK_ENOUGH_MEMORY(reg_key_name_buf && val_name_buf && val_buf && line_buf); if (reg_key_name && reg_key_name[0]) { HKEY reg_key_class; @@ -1373,7 +1324,7 @@ BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format) /* export all registry classes */ file = REGPROC_open_export_file(file_name, unicode); - for (i = 0; i < REG_CLASS_NUMBER; i++) { + for (i = 0; i < COUNT_OF(reg_class_keys); i++) { /* do not export HKEY_CLASSES_ROOT */ if (reg_class_keys[i] != HKEY_CLASSES_ROOT && reg_class_keys[i] != HKEY_CURRENT_USER && diff --git a/base/applications/regedit/regproc.h b/base/applications/regedit/regproc.h deleted file mode 100644 index a2a2d5033e8..00000000000 --- a/base/applications/regedit/regproc.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 1999 Sylvain St-Germain - * Copyright 2002 Andriy Palamarchuk - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#pragma once - -#define KEY_MAX_LEN 1024 - -#define REG_FORMAT_5 1 -#define REG_FORMAT_4 2 - -BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format); -BOOL import_registry_file(FILE *in); -void delete_registry_key(WCHAR *reg_key_name); -WCHAR* GetWideString(const char* strA); -CHAR* GetMultiByteString(const WCHAR* strW); diff --git a/base/applications/regedit/resource.h b/base/applications/regedit/resource.h index 269c43487c6..b0e59fea540 100644 --- a/base/applications/regedit/resource.h +++ b/base/applications/regedit/resource.h @@ -2,20 +2,7 @@ * Regedit resource definitions * * Copyright 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #pragma once @@ -23,7 +10,6 @@ #define ID_REGISTRY_MENU 0 #define ID_EDIT_MENU 1 #define ID_VIEW_MENU 2 -#define ID_HELP_MENU 4 #define ID_EDIT_NEW_MENU 5 #define IDS_LIST_COLUMN_FIRST 91 #define IDS_LIST_COLUMN_NAME 91 @@ -43,7 +29,6 @@ #define IDR_POPUP_MENUS 137 #define IDD_FIND 140 #define IDD_FINDING 141 -#define IDC_LICENSE_EDIT 1029 #define ID_REGISTRY_EXIT 32770 #define ID_VIEW_STATUSBAR 32774 #define ID_VIEW_SPLIT 32775 @@ -63,51 +48,16 @@ #define ID_REGISTRY_EXPORTREGISTRYFILE 32790 #define ID_REGISTRY_CONNECTNETWORKREGISTRY 32791 #define ID_REGISTRY_DISCONNECTNETWORKREGISTRY 32792 -#define ID_REGISTRY_PRINT 32793 -#define ID_HELP_ABOUT 32795 -#define ID_WINDOW_CASCADE 32797 -#define ID_WINDOW_TILE 32798 -#define ID_WINDOW_ARRANGEICONS 32799 -#define ID_OPTIONS_FONT 32800 -#define ID_OPTIONS_AUTOREFRESH 32801 -#define ID_OPTIONS_READONLYMODE 32802 -#define ID_OPTIONS_CONFIRMONDELETE 32803 -#define ID_OPTIONS_SAVESETTINGSONEXIT 32804 -#define ID_SECURITY_PERMISSIONS 32805 -#define ID_VIEW_TREEANDDATA 32806 -#define ID_VIEW_TREEONLY 32807 -#define ID_VIEW_DATAONLY 32808 -#define ID_VIEW_DISPLAYBINARYDATA 32810 -#define ID_VIEW_REFRESHALL 32811 -#define ID_VIEW_REFRESHACTIVE 32812 -#define ID_VIEW_FINDKEY 32813 -#define ID_TREE_EXPANDONELEVEL 32814 #define ID_TREE_EXPANDBRANCH 32815 -#define ID_TREE_EXPANDALL 32816 #define ID_TREE_COLLAPSEBRANCH 32817 -#define ID_EDIT_ADDKEY 32818 -#define ID_EDIT_ADDVALUE 32819 -#define ID_EDIT_BINARY 32821 -#define ID_EDIT_STRING 32822 -#define ID_EDIT_DWORD 32823 -#define ID_EDIT_MULTISTRING 32824 -#define ID_REGISTRY_OPENLOCAL 32825 -#define ID_REGISTRY_CLOSE 32826 #define ID_REGISTRY_LOADHIVE 32827 #define ID_REGISTRY_UNLOADHIVE 32828 -#define ID_REGISTRY_RESTORE 32829 -#define ID_REGISTRY_SAVEKEY 32830 -#define ID_REGISTRY_SELECTCOMPUTER 32831 -#define ID_REGISTRY_PRINTSUBTREE 32832 -#define ID_REGISTRY_PRINTERSETUP 32833 -#define ID_REGISTRY_SAVESUBTREEAS 32834 #define ID_HEXEDIT_CUT 32835 #define ID_HEXEDIT_COPY 32836 #define ID_HEXEDIT_PASTE 32837 #define ID_HEXEDIT_DELETE 32838 #define ID_HEXEDIT_SELECT_ALL 32839 -#define IDS_LICENSE 32835 #define IDS_ERROR 32836 #define IDS_BAD_VALUE 32837 #define IDS_UNSUPPORTED_TYPE 32838 diff --git a/base/applications/regedit/security.c b/base/applications/regedit/security.c index 7e1899ae8e6..609ac81a4bf 100644 --- a/base/applications/regedit/security.c +++ b/base/applications/regedit/security.c @@ -1,21 +1,8 @@ /* * Regedit ACL Editor for Registry Keys * - * Copyright (C) 2004 - 2006 Thomas Weidenmueller - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Copyright (C) 2004-2006 Thomas Weidenmueller + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" @@ -89,9 +76,7 @@ CRegKeySecurity_fnRelease(PCRegKeySecurity obj) Ret = (ULONG)InterlockedDecrement((LONG*)&obj->ref); if (Ret == 0) { - HeapFree(GetProcessHeap(), - 0, - obj); + HeapFree(GetProcessHeap(), 0, obj); } return Ret; @@ -104,31 +89,23 @@ CRegKeySecurity_fnQueryInterface(PCRegKeySecurity obj, { PVOID pvObj = NULL; - if (IsEqualGUID(iid, - &IID_IRegKeySecurity)) + if (IsEqualGUID(iid, &IID_IRegKeySecurity)) { - pvObj = (PVOID)impl_to_interface(obj, - ISecurityInformation); + pvObj = (PVOID)impl_to_interface(obj, ISecurityInformation); } #if REGEDIT_IMPLEMENT_ISECURITYINFORMATION2 - else if (IsEqualGUID(iid, - &IID_IRegKeySecurity2)) + else if (IsEqualGUID(iid, &IID_IRegKeySecurity2)) { - pvObj = (PVOID)impl_to_interface(obj, - ISecurityInformation2); + pvObj = (PVOID)impl_to_interface(obj, ISecurityInformation2); } #endif - else if (IsEqualGUID(iid, - &IID_IEffectivePermission)) + else if (IsEqualGUID(iid, &IID_IEffectivePermission)) { - pvObj = (PVOID)impl_to_interface(obj, - IEffectivePermission); + pvObj = (PVOID)impl_to_interface(obj, IEffectivePermission); } - else if (IsEqualGUID(iid, - &IID_ISecurityObjectTypeInfo)) + else if (IsEqualGUID(iid, &IID_ISecurityObjectTypeInfo)) { - pvObj = (PVOID)impl_to_interface(obj, - ISecurityObjectTypeInfo); + pvObj = (PVOID)impl_to_interface(obj, ISecurityObjectTypeInfo); } if (pvObj == NULL) @@ -370,8 +347,7 @@ ISecurityInformation_fnQueryInterface(struct ISecurityInformation *this, REFIID iid, PVOID *pvObject) { - if (IsEqualGUID(iid, - &IID_IUnknown)) + if (IsEqualGUID(iid, &IID_IUnknown)) { *pvObject = (PVOID)this; ISecurityInformation_fnAddRef(this); @@ -458,8 +434,7 @@ ISecurityInformation_fnMapGeneric(struct ISecurityInformation *this, UCHAR* pAceFlags, ACCESS_MASK* pMask) { - MapGenericMask(pMask, - &RegAccessMasks); + MapGenericMask(pMask, &RegAccessMasks); *pMask &= ~SYNCHRONIZE; return S_OK; } @@ -484,9 +459,9 @@ ISecurityInformation_fnGetInheritTypes(struct ISecurityInformation *this, static HRESULT STDMETHODCALLTYPE ISecurityInformation_fnPropertySheetPageCallback(struct ISecurityInformation *this, - HWND hwnd, - UINT uMsg, - SI_PAGE_TYPE uPage) + HWND hwnd, + UINT uMsg, + SI_PAGE_TYPE uPage) { return S_OK; } @@ -501,8 +476,7 @@ ISecurityInformation2_fnQueryInterface(struct ISecurityInformation2 *this, REFIID iid, PVOID *pvObject) { - if (IsEqualGUID(iid, - &IID_IUnknown)) + if (IsEqualGUID(iid, &IID_IUnknown)) { *pvObject = (PVOID)this; ISecurityInformation2_fnAddRef(this); @@ -554,8 +528,7 @@ IEffectivePermission_fnQueryInterface(struct IEffectivePermission *this, REFIID iid, PVOID *pvObject) { - if (IsEqualGUID(iid, - &IID_IUnknown)) + if (IsEqualGUID(iid, &IID_IUnknown)) { *pvObject = (PVOID)this; IEffectivePermission_fnAddRef(this); @@ -600,8 +573,7 @@ IEffectivePermission_fnGetEffectivePermission(struct IEffectivePermission *this, *ppObjectTypeList = &DefObjTypeList; *pcObjectTypeListLength = 1; - BuildTrusteeWithSid(&Trustee, - pUserSid); + BuildTrusteeWithSid(&Trustee, pUserSid); if (GetSecurityDescriptorDacl(pSD, &DaclPresent, @@ -642,8 +614,7 @@ ISecurityObjectTypeInfo_fnQueryInterface(struct ISecurityObjectTypeInfo *this, REFIID iid, PVOID *pvObject) { - if (IsEqualGUID(iid, - &IID_IUnknown)) + if (IsEqualGUID(iid, &IID_IUnknown)) { *pvObject = (PVOID)this; ISecurityObjectTypeInfo_fnAddRef(this); @@ -680,13 +651,9 @@ ISecurityObjectTypeInfo_fnGetInheritSource(struct ISecurityObjectTypeInfo *this, LPWSTR lpBuf; pifSize = pACL->AceCount * sizeof(INHERITED_FROM); - pif = (PINHERITED_FROM)HeapAlloc(GetProcessHeap(), - 0, - pifSize); + pif = (PINHERITED_FROM)HeapAlloc(GetProcessHeap(), 0, pifSize); if (pif == NULL) - { return E_OUTOFMEMORY; - } ErrorCode = GetInheritanceSourceW(obj->szRegKey, SE_REGISTRY_KEY, @@ -698,23 +665,17 @@ ISecurityObjectTypeInfo_fnGetInheritSource(struct ISecurityObjectTypeInfo *this, NULL, &RegAccessMasks, pif); - if (ErrorCode == ERROR_SUCCESS) { /* Calculate the size of the buffer to return */ - for (i = 0; - i < pACL->AceCount; - i++) + for (i = 0; i < pACL->AceCount; i++) { if (pif[i].AncestorName != NULL) - { pifSize += (wcslen(pif[i].AncestorName) + 1) * sizeof(WCHAR); - } } /* Allocate enough space for the array and the strings */ - pif2 = (PINHERITED_FROM)LocalAlloc(LMEM_FIXED, - pifSize); + pif2 = (PINHERITED_FROM)LocalAlloc(LMEM_FIXED, pifSize); if (pif2 == NULL) { ErrorCode = GetLastError(); @@ -723,9 +684,7 @@ ISecurityObjectTypeInfo_fnGetInheritSource(struct ISecurityObjectTypeInfo *this, /* copy the array and strings to the buffer */ lpBuf = (LPWSTR)((ULONG_PTR)pif2 + (pACL->AceCount * sizeof(INHERITED_FROM))); - for (i = 0; - i < pACL->AceCount; - i++) + for (i = 0; i < pACL->AceCount; i++) { pif2[i].GenerationGap = pif[i].GenerationGap; if (pif[i].AncestorName != NULL) @@ -744,12 +703,8 @@ ISecurityObjectTypeInfo_fnGetInheritSource(struct ISecurityObjectTypeInfo *this, } Cleanup: - FreeInheritedFromArray(pif, - pACL->AceCount, - NULL); - HeapFree(GetProcessHeap(), - 0, - pif); + FreeInheritedFromArray(pif, pACL->AceCount, NULL); + HeapFree(GetProcessHeap(), 0, pif); return HRESULT_FROM_WIN32(ErrorCode); } @@ -890,26 +845,18 @@ RegKeyEditPermissions(HWND hWndOwner, if (lnMachine != 0) { - wcscat(lpKeyPath, - L"\\\\"); - wcscat(lpKeyPath, - lpMachine); - wcscat(lpKeyPath, - L"\\"); + wcscat(lpKeyPath, L"\\\\"); + wcscat(lpKeyPath, lpMachine); + wcscat(lpKeyPath, L"\\"); } - wcscat(lpKeyPath, - lphKey); + wcscat(lpKeyPath, lphKey); if (lpKeyName != NULL && lpKeyName[0] != L'\0') { if (lpKeyName[0] != L'\\') - { - wcscat(lpKeyPath, - L"\\"); - } + wcscat(lpKeyPath, L"\\"); - wcscat(lpKeyPath, - lpKeyName); + wcscat(lpKeyPath, lpKeyName); } ObjectInfo.dwFlags = SI_EDIT_ALL | SI_ADVANCED | SI_CONTAINER | SI_EDIT_EFFECTIVE | SI_EDIT_PERMS | @@ -928,20 +875,14 @@ RegKeyEditPermissions(HWND hWndOwner, } /* display the security editor dialog */ - pfnEditSecurity(hWndOwner, - impl_to_interface(RegKeySecurity, - ISecurityInformation)); + pfnEditSecurity(hWndOwner, impl_to_interface(RegKeySecurity, ISecurityInformation)); /* dereference the interface, it should be destroyed here */ CRegKeySecurity_fnRelease(RegKeySecurity); Cleanup: if (lpKeyPath != NULL) - { - HeapFree(GetProcessHeap(), - 0, - lpKeyPath); - } + HeapFree(GetProcessHeap(), 0, lpKeyPath); return Result; } diff --git a/base/applications/regedit/settings.c b/base/applications/regedit/settings.c index ba56d7e0308..263b1dc5680 100644 --- a/base/applications/regedit/settings.c +++ b/base/applications/regedit/settings.c @@ -1,22 +1,9 @@ /* * Regedit settings * - * Copyright (C) 2012 Edijs Kolesnikovics - * Copyright (C) 2012 Grgori Macrio Harbs - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Copyright 2012 Edijs Kolesnikovics + * Copyright 2012 Grgori Macrio Harbs + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" diff --git a/base/applications/regedit/treeview.c b/base/applications/regedit/treeview.c index 51a21645e76..4913b8e15cc 100644 --- a/base/applications/regedit/treeview.c +++ b/base/applications/regedit/treeview.c @@ -2,35 +2,20 @@ * Regedit treeview * * Copyright (C) 2002 Robert Dickenson - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) */ #include "regedit.h" -/* Global variables and constants */ -/* Image_Open, Image_Closed, and Image_Root - integer variables for indexes of the images. */ -/* CX_ICON and CY_ICON - width and height of an icon. */ -/* NUM_ICON - number of icons to add to the image list. */ -static int Image_Open = 0; -static int Image_Closed = 0; -static int Image_Root = 0; +/* Global variables and constants */ +/* Image_Open, Image_Closed, and Image_Root - integer variables for indexes of the images */ +static int Image_Open; +static int Image_Closed; +static int Image_Root; static LPWSTR pathBuffer; -#define NUM_ICONS 3 +#define NUM_ICONS 3 /* number of icons to add to the image list */ #define IDI_SHELL_FOLDER 4 #define IDI_SHELL_FOLDER_OPEN 5 @@ -92,7 +77,7 @@ LPCWSTR GetItemPath(HWND hwndTV, HTREEITEM hItem, HKEY* phRootKey) if (!pathBuffer) pathBuffer = HeapAlloc(GetProcessHeap(), 0, 1024); if (!pathBuffer) return NULL; *pathBuffer = 0; - maxLen = (int) HeapSize(GetProcessHeap(), 0, pathBuffer); + maxLen = (int)HeapSize(GetProcessHeap(), 0, pathBuffer); if (maxLen == -1) return NULL; if (!hItem) hItem = TreeView_GetSelection(hwndTV); if (!hItem) return NULL; @@ -192,9 +177,6 @@ BOOL RefreshTreeItem(HWND hwndTV, HTREEITEM hItem) goto done; } tvItem.cchTextMax = dwMaxSubKeyLen; - /*if (!(tvItem.pszText = HeapAlloc(GetProcessHeap(), 0, dwMaxSubKeyLen * sizeof(WCHAR)))) { - goto done; - }*/ /* Get all of the tree node siblings in one contiguous block of memory */ { @@ -432,7 +414,6 @@ static BOOL InitTreeViewItems(HWND hwndTV, LPWSTR pHostName) return TRUE; } - /* * InitTreeViewImageLists - creates an image list, adds three bitmaps * to it, and associates the image list with a tree view control. @@ -568,7 +549,6 @@ done: return TRUE; } - BOOL CreateNewKey(HWND hwndTV, HTREEITEM hItem) { WCHAR szNewKeyFormat[128];