mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 15:10:53 +00:00
1bd330cd81
This commit contains a complete rewrite of find console utility. The goal of it was to make the source code easier to maintain and to add a missing feature (/offline switch). Additional changes: * now the program operates on Unicode strings; * added conutils and shlwapi as program's libraries; * added IDS_INVALID_SWITCH string into resources; * modified IDS_USAGE string to include /offline switch description. https://ss64.com/nt/find.html was used for reference.
80 lines
1.6 KiB
Text
80 lines
1.6 KiB
Text
#include <windef.h>
|
|
|
|
#include "resource.h"
|
|
|
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Find Command"
|
|
#define REACTOS_STR_INTERNAL_NAME "find"
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "find.exe"
|
|
#include <reactos/version.rc>
|
|
|
|
/* UTF-8 */
|
|
#pragma code_page(65001)
|
|
#ifdef LANGUAGE_BG_BG
|
|
#include "lang/bg-BG.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_CA_ES
|
|
#include "lang/ca-ES.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_ET_EE
|
|
#include "lang/et-EE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_FR_FR
|
|
#include "lang/fr-FR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_IT_IT
|
|
#include "lang/it-IT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_LT_LT
|
|
#include "lang/lt-LT.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_RO_RO
|
|
#include "lang/ro-RO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SK_SK
|
|
#include "lang/sk-SK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SV_SE
|
|
#include "lang/sv-SE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_RU_RU
|
|
#include "lang/ru-RU.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SQ_AL
|
|
#include "lang/sq-AL.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
|
|
#ifdef LANGUAGE_ZH_TW
|
|
#include "lang/zh-TW.rc"
|
|
#endif
|