Commit b859c139 authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

regedit: Remove windows class names (they shouldn't be localized) and unused…

regedit: Remove windows class names (they shouldn't be localized) and unused IDC_REGEDIT menu from resources.
parent e874fded
...@@ -212,8 +212,6 @@ END ...@@ -212,8 +212,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE " " IDS_APP_TITLE " "
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -28,17 +28,6 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT ...@@ -28,17 +28,6 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Soubor"
BEGIN
MENUITEM "&Konec", ID_REGISTRY_EXIT
END
POPUP "&Npovda"
BEGIN
MENUITEM "&O aplikaci ...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
...@@ -174,8 +163,6 @@ END ...@@ -174,8 +163,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Editor registru" IDS_APP_TITLE "Editor registru"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -24,17 +24,6 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL ...@@ -24,17 +24,6 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Datei"
BEGIN
MENUITEM "&Beenden", ID_REGISTRY_EXIT
END
POPUP "&Hilfe"
BEGIN
MENUITEM "&ber ...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
...@@ -238,8 +227,6 @@ END ...@@ -238,8 +227,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Registry Editor" IDS_APP_TITLE "Registry Editor"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -93,18 +93,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US ...@@ -93,18 +93,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
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 DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Registry" POPUP "&Registry"
...@@ -316,8 +304,6 @@ END ...@@ -316,8 +304,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Registry Editor" IDS_APP_TITLE "Registry Editor"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -24,18 +24,6 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL ...@@ -24,18 +24,6 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Archivo"
BEGIN
MENUITEM "&Salir", ID_REGISTRY_EXIT
END
POPUP "A&yuda"
BEGIN
MENUITEM "&Acerca de...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Registro" POPUP "&Registro"
...@@ -249,8 +237,6 @@ END ...@@ -249,8 +237,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Editor del registro" IDS_APP_TITLE "Editor del registro"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -26,18 +26,6 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL ...@@ -26,18 +26,6 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Fichier"
BEGIN
MENUITEM "&Quitter", ID_REGISTRY_EXIT
END
POPUP "Aid&e"
BEGIN
MENUITEM " &propos", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Registres" POPUP "&Registres"
...@@ -249,8 +237,6 @@ END ...@@ -249,8 +237,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "diteur de registres" IDS_APP_TITLE "diteur de registres"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -176,8 +176,6 @@ END ...@@ -176,8 +176,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Regisztrcis adatbzis szerkeszt" IDS_APP_TITLE "Regisztrcis adatbzis szerkeszt"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -26,18 +26,6 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL ...@@ -26,18 +26,6 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
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 DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Registro" POPUP "&Registro"
...@@ -222,8 +210,6 @@ END ...@@ -222,8 +210,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Editor del Registro" IDS_APP_TITLE "Editor del Registro"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -24,18 +24,6 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT ...@@ -24,18 +24,6 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "ファイル(&F)"
BEGIN
MENUITEM "終了(&x)", ID_REGISTRY_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "バージョン情報(&A)...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "レジストリ(&R)" POPUP "レジストリ(&R)"
...@@ -170,8 +158,6 @@ END ...@@ -170,8 +158,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "レジストリエディタ" IDS_APP_TITLE "レジストリエディタ"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -28,18 +28,6 @@ LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL ...@@ -28,18 +28,6 @@ LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "파일(&F)"
BEGIN
MENUITEM "끝내기(&X)", ID_REGISTRY_EXIT
END
POPUP "도움말(&H)"
BEGIN
MENUITEM "관하여(&A) ...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "레지스트리(&R)" POPUP "레지스트리(&R)"
...@@ -251,8 +239,6 @@ END ...@@ -251,8 +239,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "레지스트리 편집기" IDS_APP_TITLE "레지스트리 편집기"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -25,18 +25,6 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL ...@@ -25,18 +25,6 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Bestand"
BEGIN
MENUITEM "&Afsluiten", ID_REGISTRY_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "&Info ...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Registerbestand" POPUP "&Registerbestand"
...@@ -248,8 +236,6 @@ END ...@@ -248,8 +236,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Register-editor" IDS_APP_TITLE "Register-editor"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -24,18 +24,6 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL ...@@ -24,18 +24,6 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Fil"
BEGIN
MENUITEM "&Avslutt", ID_REGISTRY_EXIT
END
POPUP "&Hjelp"
BEGIN
MENUITEM "&Om . . .", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Register" POPUP "&Register"
...@@ -247,8 +235,6 @@ END ...@@ -247,8 +235,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Registerredigering" IDS_APP_TITLE "Registerredigering"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -24,18 +24,6 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT ...@@ -24,18 +24,6 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Plik"
BEGIN
MENUITEM "Za&kocz", ID_REGISTRY_EXIT
END
POPUP "&Pomoc"
BEGIN
MENUITEM "&O programie...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Rejestr" POPUP "&Rejestr"
...@@ -247,8 +235,6 @@ END ...@@ -247,8 +235,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Edytor rejestru" IDS_APP_TITLE "Edytor rejestru"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -25,35 +25,6 @@ ...@@ -25,35 +25,6 @@
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Arquivo"
BEGIN
MENUITEM "Sai&r", ID_REGISTRY_EXIT
END
POPUP "Aj&uda"
BEGIN
MENUITEM "&Sobre...", ID_HELP_ABOUT
END
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Ficheiro"
BEGIN
MENUITEM "Sai&r", ID_REGISTRY_EXIT
END
POPUP "Aj&uda"
BEGIN
MENUITEM "&Sobre...", ID_HELP_ABOUT
END
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Registro" POPUP "&Registro"
...@@ -260,8 +231,6 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN ...@@ -260,8 +231,6 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Editor do Registro" IDS_APP_TITLE "Editor do Registro"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
......
...@@ -24,18 +24,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT ...@@ -24,18 +24,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&"
BEGIN
MENUITEM "&", ID_REGISTRY_EXIT
END
POPUP "&"
BEGIN
MENUITEM "& ", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&" POPUP "&"
...@@ -111,8 +99,6 @@ END ...@@ -111,8 +99,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE " " IDS_APP_TITLE " "
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -24,18 +24,6 @@ LANGUAGE LANG_SLOVENIAN, SUBLANG_NEUTRAL ...@@ -24,18 +24,6 @@ LANGUAGE LANG_SLOVENIAN, SUBLANG_NEUTRAL
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Datoteka"
BEGIN
MENUITEM "Iz&hod", ID_REGISTRY_EXIT
END
POPUP "&Pomo"
BEGIN
MENUITEM "&O ...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Register" POPUP "&Register"
...@@ -111,8 +99,6 @@ END ...@@ -111,8 +99,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Urejevalnik registra" IDS_APP_TITLE "Urejevalnik registra"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -24,18 +24,6 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT ...@@ -24,18 +24,6 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
* Menu * Menu
*/ */
IDC_REGEDIT MENU DISCARDABLE
BEGIN
POPUP "&Dosya"
BEGIN
MENUITEM "&k", ID_REGISTRY_EXIT
END
POPUP "&Yardm"
BEGIN
MENUITEM "&Hakknda...", ID_HELP_ABOUT
END
END
IDR_REGEDIT_MENU MENU DISCARDABLE IDR_REGEDIT_MENU MENU DISCARDABLE
BEGIN BEGIN
POPUP "&Kayt" POPUP "&Kayt"
...@@ -221,8 +209,6 @@ END ...@@ -221,8 +209,6 @@ END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
BEGIN BEGIN
IDS_APP_TITLE "Kayt Dzenleyici" IDS_APP_TITLE "Kayt Dzenleyici"
IDC_REGEDIT "REGEDIT"
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END END
STRINGTABLE DISCARDABLE STRINGTABLE DISCARDABLE
......
...@@ -49,8 +49,8 @@ LPCTSTR strClipboardFormat = _T("TODO: SET CORRECT FORMAT"); ...@@ -49,8 +49,8 @@ LPCTSTR strClipboardFormat = _T("TODO: SET CORRECT FORMAT");
#define MAX_LOADSTRING 100 #define MAX_LOADSTRING 100
TCHAR szTitle[MAX_LOADSTRING]; TCHAR szTitle[MAX_LOADSTRING];
TCHAR szFrameClass[MAX_LOADSTRING]; const TCHAR szFrameClass[] = {'R','E','G','E','D','I','T','_','F','R','A','M','E',0};
TCHAR szChildClass[MAX_LOADSTRING]; const TCHAR szChildClass[] = {'R','E','G','E','D','I','T',0};
/******************************************************************************* /*******************************************************************************
...@@ -170,8 +170,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, ...@@ -170,8 +170,6 @@ int APIENTRY WinMain(HINSTANCE hInstance,
/* Initialize global strings */ /* Initialize global strings */
LoadString(hInstance, IDS_APP_TITLE, szTitle, COUNT_OF(szTitle)); LoadString(hInstance, IDS_APP_TITLE, szTitle, COUNT_OF(szTitle));
LoadString(hInstance, IDC_REGEDIT_FRAME, szFrameClass, COUNT_OF(szFrameClass));
LoadString(hInstance, IDC_REGEDIT, szChildClass, COUNT_OF(szChildClass));
LoadString(hInstance, IDS_REGISTRY_DEFAULT_VALUE, g_pszDefaultValueName, COUNT_OF(g_pszDefaultValueName)); LoadString(hInstance, IDS_REGISTRY_DEFAULT_VALUE, g_pszDefaultValueName, COUNT_OF(g_pszDefaultValueName));
/* Store instance handle in our global variable */ /* Store instance handle in our global variable */
......
...@@ -88,8 +88,8 @@ extern HFONT hFont; ...@@ -88,8 +88,8 @@ extern HFONT hFont;
extern enum OPTION_FLAGS Options; extern enum OPTION_FLAGS Options;
extern TCHAR szTitle[]; extern TCHAR szTitle[];
extern TCHAR szFrameClass[]; extern const TCHAR szFrameClass[];
extern TCHAR szChildClass[]; extern const TCHAR szChildClass[];
extern TCHAR g_pszDefaultValueName[]; extern TCHAR g_pszDefaultValueName[];
/* about.c */ /* about.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment