2013-01-24 23:00:42 +00:00
|
|
|
/*
|
2003-08-22 05:55:14 +00:00
|
|
|
* Regedit resources
|
2002-07-03 17:52:20 +00:00
|
|
|
*
|
2003-08-22 05:55:14 +00:00
|
|
|
* Copyright 2002 Robert Dickenson
|
[REGEDIT] Deduplication and other formatting changes (#7193)
- Deduplicates unused IDC_REGEDIT MENU vs. actually used IDR_REGEDIT_MENU
- shrinks the binary size, GCC8.4.0dbg build shrinks from 1.052.672 -> 1.049.600 bytes
- that also solves a few FIXME's, e.g. in hu-HU, pl-PL, sl-SI, sq-AL, tr-TR, uk-UA
- translates the help-popup string in th-TH.rc
- slightly tweak some headers to be a bit closer to newstyle without going all the way
- also link to LPGL2.1+ in the source files to reduce the wall-of-text, also some other whitespace tweaks in those, but no functional change
- security.c: vertical-compactness-whitespace-changes aim to get HeapAlloc closer to HeapFree
- id-ID.rc: "&Data nilai" and "&Nama nilai" does exist in 4 dialogs, Harmonize them
- pt-PT.rc: add 2 missing accels in IDD_EDIT_STRING
- edit.c: 3x ARRAY_SIZE
- the most review-worthy change in the actual .h/.c files is clb.c the change from ClbWndClass.hInstance = hinstDLL, ClbWndClass.hIcon = NULL; to ClbWndClass.hInstance = hinstDLL; ClbWndClass.hIcon = NULL;
- clb.c the stripped INT_PTR-cast for EndDialog() was Co-authored-by: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
2024-07-29 19:19:10 +00:00
|
|
|
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
2002-07-03 17:52:20 +00:00
|
|
|
*/
|
2002-07-14 17:59:36 +00:00
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
2023-11-05 08:17:09 +00:00
|
|
|
#include <winuser.rh>
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <commctrl.h>
|
|
|
|
|
2004-01-01 15:26:04 +00:00
|
|
|
#include "resource.h"
|
|
|
|
|
2013-11-28 22:04:03 +00:00
|
|
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Registry Explorer"
|
|
|
|
#define REACTOS_STR_INTERNAL_NAME "regedit"
|
|
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "regedit.exe"
|
2004-10-16 20:27:43 +00:00
|
|
|
#include <reactos/version.rc>
|
2004-01-01 15:26:04 +00:00
|
|
|
|
2013-09-17 15:21:29 +00:00
|
|
|
#include <reactos/manifest_exe.rc>
|
2013-09-16 20:52:16 +00:00
|
|
|
|
2013-04-29 23:49:52 +00:00
|
|
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
2004-01-01 15:26:04 +00:00
|
|
|
|
2013-11-28 22:04:03 +00:00
|
|
|
IDI_STRING ICON "res/string.ico"
|
|
|
|
IDI_BIN ICON "res/bin.ico"
|
|
|
|
IDI_REGEDIT ICON "res/regedit.ico"
|
|
|
|
IDI_REGFILE ICON "res/regfile.ico"
|
2019-12-07 01:09:44 +00:00
|
|
|
IDI_ARROW ICON "res/arrow.ico"
|
2004-01-01 15:12:11 +00:00
|
|
|
|
2013-11-28 22:04:03 +00:00
|
|
|
/* UTF-8 */
|
|
|
|
#pragma code_page(65001)
|
|
|
|
|
|
|
|
#ifdef LANGUAGE_BG_BG
|
|
|
|
#include "lang/bg-BG.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_CS_CZ
|
|
|
|
#include "lang/cs-CZ.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_DE_DE
|
|
|
|
#include "lang/de-DE.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_EL_GR
|
|
|
|
#include "lang/el-GR.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_EN_US
|
|
|
|
#include "lang/en-US.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_ES_ES
|
|
|
|
#include "lang/es-ES.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_FR_FR
|
|
|
|
#include "lang/fr-FR.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_HE_IL
|
|
|
|
#include "lang/he-IL.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_HU_HU
|
|
|
|
#include "lang/hu-HU.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_ID_ID
|
|
|
|
#include "lang/id-ID.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_IT_IT
|
|
|
|
#include "lang/it-IT.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_JA_JP
|
|
|
|
#include "lang/ja-JP.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_KO_KR
|
|
|
|
#include "lang/ko-KR.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_NL_NL
|
|
|
|
#include "lang/nl-NL.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_NB_NO
|
|
|
|
#include "lang/no-NO.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_PL_PL
|
|
|
|
#include "lang/pl-PL.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_PT_BR
|
|
|
|
#include "lang/pt-BR.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_PT_PT
|
|
|
|
#include "lang/pt-PT.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_RO_RO
|
|
|
|
#include "lang/ro-RO.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_RU_RU
|
|
|
|
#include "lang/ru-RU.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_SL_SI
|
|
|
|
#include "lang/sl-SI.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_SK_SK
|
|
|
|
#include "lang/sk-SK.rc"
|
|
|
|
#endif
|
2014-04-10 13:33:27 +00:00
|
|
|
#ifdef LANGUAGE_SQ_AL
|
|
|
|
#include "lang/sq-AL.rc"
|
|
|
|
#endif
|
2013-11-28 22:04:03 +00:00
|
|
|
#ifdef LANGUAGE_SV_SE
|
|
|
|
#include "lang/sv-SE.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_TH_TH
|
|
|
|
#include "lang/th-TH.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_TR_TR
|
|
|
|
#include "lang/tr-TR.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_UK_UA
|
|
|
|
#include "lang/uk-UA.rc"
|
|
|
|
#endif
|
|
|
|
#ifdef LANGUAGE_ZH_CN
|
|
|
|
#include "lang/zh-CN.rc"
|
|
|
|
#endif
|
2021-12-29 21:40:57 +00:00
|
|
|
#ifdef LANGUAGE_ZH_HK
|
|
|
|
#include "lang/zh-HK.rc"
|
|
|
|
#endif
|
2013-11-28 22:04:03 +00:00
|
|
|
#ifdef LANGUAGE_ZH_TW
|
|
|
|
#include "lang/zh-TW.rc"
|
|
|
|
#endif
|