diff --git a/reactos/CMakeLists.txt b/reactos/CMakeLists.txt index 0c6790f0fb8..743c6c198cc 100644 --- a/reactos/CMakeLists.txt +++ b/reactos/CMakeLists.txt @@ -147,9 +147,14 @@ else() # Activate language support for resource files enable_language(RC) + # Localization definitions + include(cmake/localization.cmake) + set(I18N_DEFS "") + # This will set I18N_DEFS for later use + set_i18n_language(${I18N_LANG}) + # Compiler specific definitions and macros if(MSVC) - include(cmake/msvc.cmake) else() include(cmake/gcc.cmake) endif() diff --git a/reactos/base/applications/cacls/rsrc.rc b/reactos/base/applications/cacls/rsrc.rc index 2d3d71884cd..1c548ca79cc 100644 --- a/reactos/base/applications/cacls/rsrc.rc +++ b/reactos/base/applications/cacls/rsrc.rc @@ -1,26 +1,74 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_DA_DK + #include "lang/da-DK.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_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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/calc/resource.rc b/reactos/base/applications/calc/resource.rc index 67d15281df7..f5a42d41083 100644 --- a/reactos/base/applications/calc/resource.rc +++ b/reactos/base/applications/calc/resource.rc @@ -45,24 +45,66 @@ IDB_BITMAP_ROS BITMAP DISCARDABLE "res/ROS_logo.bmp" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/el-GR.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/charmap/rsrc.rc b/reactos/base/applications/charmap/rsrc.rc index 92bb1d9d4a1..6310490610a 100644 --- a/reactos/base/applications/charmap/rsrc.rc +++ b/reactos/base/applications/charmap/rsrc.rc @@ -1,26 +1,74 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/el-GR.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/cmdutils/doskey/doskey.rc b/reactos/base/applications/cmdutils/doskey/doskey.rc index 18ec93e2742..f6a7c6be214 100644 --- a/reactos/base/applications/cmdutils/doskey/doskey.rc +++ b/reactos/base/applications/cmdutils/doskey/doskey.rc @@ -8,13 +8,33 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/fr-FR.rc" -#include "lang/es-ES.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif diff --git a/reactos/base/applications/cmdutils/find/rsrc.rc b/reactos/base/applications/cmdutils/find/rsrc.rc index c73faaf1e01..d2d297f42ae 100644 --- a/reactos/base/applications/cmdutils/find/rsrc.rc +++ b/reactos/base/applications/cmdutils/find/rsrc.rc @@ -3,22 +3,60 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/cmdutils/more/rsrc.rc b/reactos/base/applications/cmdutils/more/rsrc.rc index ed689682b82..36857993047 100644 --- a/reactos/base/applications/cmdutils/more/rsrc.rc +++ b/reactos/base/applications/cmdutils/more/rsrc.rc @@ -1,20 +1,56 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/el-GR.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/cmdutils/reg/rsrc.rc b/reactos/base/applications/cmdutils/reg/rsrc.rc index d49a7957b49..7af579b4842 100644 --- a/reactos/base/applications/cmdutils/reg/rsrc.rc +++ b/reactos/base/applications/cmdutils/reg/rsrc.rc @@ -1,21 +1,59 @@ -#include "En.rc" -#include "Ko.rc" -#include "Nl.rc" -#include "Pl.rc" +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif /* UTF-8 */ -#include "Bg.rc" -#include "Da.rc" -#include "De.rc" -#include "Es.rc" -#include "Fr.rc" -#include "It.rc" -#include "Ja.rc" -#include "Lt.rc" -#include "No.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Sv.rc" -#include "Uk.rc" +#ifdef LANGUAGE_BG_BG + #include "Bg.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif diff --git a/reactos/base/applications/cmdutils/xcopy/rsrc.rc b/reactos/base/applications/cmdutils/xcopy/rsrc.rc index 38e169fd31f..7f8fc522bba 100644 --- a/reactos/base/applications/cmdutils/xcopy/rsrc.rc +++ b/reactos/base/applications/cmdutils/xcopy/rsrc.rc @@ -26,24 +26,62 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL #define REACTOS_STR_ORIGINAL_FILENAME "xcopy.exe\0" #include -#include "Da.rc" -#include "En.rc" -#include "No.rc" -#include "Pl.rc" -#include "Es.rc" +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif /* UTF-8 */ -#include "De.rc" -#include "Fr.rc" -#include "It.rc" -#include "Ja.rc" -#include "Ko.rc" -#include "Lt.rc" -#include "Nl.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Sr.rc" -#include "Sv.rc" -#include "Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_SR_SP + #include "Sr.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif diff --git a/reactos/base/applications/dxdiag/rsrc.rc b/reactos/base/applications/dxdiag/rsrc.rc index d5ea8bea2dc..ee880d2fab5 100644 --- a/reactos/base/applications/dxdiag/rsrc.rc +++ b/reactos/base/applications/dxdiag/rsrc.rc @@ -1,21 +1,59 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_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_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_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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_RU_RU + #include "lang/ru-RU.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 diff --git a/reactos/base/applications/findstr/rsrc.rc b/reactos/base/applications/findstr/rsrc.rc index 700b918cfe3..9adbb55304a 100644 --- a/reactos/base/applications/findstr/rsrc.rc +++ b/reactos/base/applications/findstr/rsrc.rc @@ -3,23 +3,63 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/el-GR.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/fontview/fontview.rc b/reactos/base/applications/fontview/fontview.rc index 52c99c13c0f..19c3675ca3f 100644 --- a/reactos/base/applications/fontview/fontview.rc +++ b/reactos/base/applications/fontview/fontview.rc @@ -14,19 +14,51 @@ END // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.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_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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/games/solitaire/rsrc.rc b/reactos/base/applications/games/solitaire/rsrc.rc index b285c507f13..e28832fd5ec 100644 --- a/reactos/base/applications/games/solitaire/rsrc.rc +++ b/reactos/base/applications/games/solitaire/rsrc.rc @@ -7,29 +7,81 @@ IDI_SOLITAIRE ICON DISCARDABLE "solitaire.ico" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.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 diff --git a/reactos/base/applications/games/spider/rsrc.rc b/reactos/base/applications/games/spider/rsrc.rc index 6870e1dc01b..3e390a231c2 100644 --- a/reactos/base/applications/games/spider/rsrc.rc +++ b/reactos/base/applications/games/spider/rsrc.rc @@ -7,21 +7,57 @@ IDI_SPIDER ICON DISCARDABLE "spider.ico" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.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_HU_HU + #include "lang/hu-HU.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/games/winmine/rsrc.rc b/reactos/base/applications/games/winmine/rsrc.rc index 7af222531c1..3a0cdec0a0d 100644 --- a/reactos/base/applications/games/winmine/rsrc.rc +++ b/reactos/base/applications/games/winmine/rsrc.rc @@ -44,27 +44,75 @@ MINES BITMAP rc/mines.bmp /* include localised resources */ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fi-FI.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-PT.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sl-SI.rc" -#include "lang/sv-SE.rc" -#include "lang/tr-TR.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "lang/fi-FI.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_LT_LT + #include "lang/lt-LT.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_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_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/kbswitch/rsrc.rc b/reactos/base/applications/kbswitch/rsrc.rc index 4ca48b1590e..7c9af0ad1b7 100644 --- a/reactos/base/applications/kbswitch/rsrc.rc +++ b/reactos/base/applications/kbswitch/rsrc.rc @@ -1,21 +1,59 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/logoff/rsrc.rc b/reactos/base/applications/logoff/rsrc.rc index c466baa4ad6..aa697e23a3b 100644 --- a/reactos/base/applications/logoff/rsrc.rc +++ b/reactos/base/applications/logoff/rsrc.rc @@ -1,24 +1,68 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/el-GR.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/magnify/rsrc.rc b/reactos/base/applications/magnify/rsrc.rc index 39ddd3bcd02..c622f6e6164 100644 --- a/reactos/base/applications/magnify/rsrc.rc +++ b/reactos/base/applications/magnify/rsrc.rc @@ -3,19 +3,51 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/mmc/rsrc.rc b/reactos/base/applications/mmc/rsrc.rc index 598b57510fd..e75272df2e1 100644 --- a/reactos/base/applications/mmc/rsrc.rc +++ b/reactos/base/applications/mmc/rsrc.rc @@ -3,24 +3,66 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "lang/ko-KR.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/mplay32/rsrc.rc b/reactos/base/applications/mplay32/rsrc.rc index 2304dedb20b..1990e71c77d 100644 --- a/reactos/base/applications/mplay32/rsrc.rc +++ b/reactos/base/applications/mplay32/rsrc.rc @@ -3,22 +3,60 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/nl-NL.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/msconfig/rsrc.rc b/reactos/base/applications/msconfig/rsrc.rc index fef5c5108c6..013c3093ebd 100644 --- a/reactos/base/applications/msconfig/rsrc.rc +++ b/reactos/base/applications/msconfig/rsrc.rc @@ -8,27 +8,75 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL /* include localised resources */ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ko-KR.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_FR_FR + #include "lang/fr-FR.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_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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.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 diff --git a/reactos/base/applications/mscutils/devmgmt/rsrc.rc b/reactos/base/applications/mscutils/devmgmt/rsrc.rc index ebecf353e12..3415941855e 100644 --- a/reactos/base/applications/mscutils/devmgmt/rsrc.rc +++ b/reactos/base/applications/mscutils/devmgmt/rsrc.rc @@ -14,23 +14,63 @@ IDB_EXIT BITMAP DISCARDABLE "res/exit.bmp" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/mscutils/devmgmt_new/rsrc.rc b/reactos/base/applications/mscutils/devmgmt_new/rsrc.rc index 74c1cb0b21d..6d909c5c08c 100644 --- a/reactos/base/applications/mscutils/devmgmt_new/rsrc.rc +++ b/reactos/base/applications/mscutils/devmgmt_new/rsrc.rc @@ -12,25 +12,63 @@ IDB_REFRESH BITMAP DISCARDABLE "res/refresh.bmp" IDB_HELP BITMAP DISCARDABLE "res/help.bmp" IDB_EXIT BITMAP DISCARDABLE "res/exit.bmp" -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/mscutils/eventvwr/rsrc.rc b/reactos/base/applications/mscutils/eventvwr/rsrc.rc index 145d1b15594..6900d2fe00b 100644 --- a/reactos/base/applications/mscutils/eventvwr/rsrc.rc +++ b/reactos/base/applications/mscutils/eventvwr/rsrc.rc @@ -11,20 +11,54 @@ IDI_ERRORICON ICON "res/error.ico" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/mscutils/servman/rsrc.rc b/reactos/base/applications/mscutils/servman/rsrc.rc index 3a65f2edf7d..1381f99a87f 100644 --- a/reactos/base/applications/mscutils/servman/rsrc.rc +++ b/reactos/base/applications/mscutils/servman/rsrc.rc @@ -22,22 +22,60 @@ IDI_DRIVER ICON "res/driver.ico" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/mspaint/rsrc.rc b/reactos/base/applications/mspaint/rsrc.rc index 4af962ad7db..a0b32306391 100644 --- a/reactos/base/applications/mspaint/rsrc.rc +++ b/reactos/base/applications/mspaint/rsrc.rc @@ -21,26 +21,72 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-GB.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/pt-PT.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_EN_GB + #include "lang/en-GB.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "lang/hu-HU.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.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_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/mstsc/rsrc.rc b/reactos/base/applications/mstsc/rsrc.rc index 4a2fef31b6c..94a1abc6851 100644 --- a/reactos/base/applications/mstsc/rsrc.rc +++ b/reactos/base/applications/mstsc/rsrc.rc @@ -14,24 +14,66 @@ IDB_SPECT BITMAP "res/spectrum.bmp" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_FR_FR + #include "lang/fr-FR.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_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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/network/ipconfig/ipconfig.rc b/reactos/base/applications/network/ipconfig/ipconfig.rc index 2b4ccbb405b..f6d855206ec 100644 --- a/reactos/base/applications/network/ipconfig/ipconfig.rc +++ b/reactos/base/applications/network/ipconfig/ipconfig.rc @@ -10,18 +10,48 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.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_ID_ID + #include "lang/id-ID.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/network/ping/ping.rc b/reactos/base/applications/network/ping/ping.rc index f54602fb425..6e2dab4b75c 100644 --- a/reactos/base/applications/network/ping/ping.rc +++ b/reactos/base/applications/network/ping/ping.rc @@ -9,14 +9,36 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/notepad/rsrc.rc b/reactos/base/applications/notepad/rsrc.rc index 85f0d2ad531..1e720faaea6 100644 --- a/reactos/base/applications/notepad/rsrc.rc +++ b/reactos/base/applications/notepad/rsrc.rc @@ -36,31 +36,87 @@ IDI_NPICON ICON "res/notepad.ico" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fi-FI.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/hy-AM.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-PT.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" -#include "lang/sk-SK.rc" -#include "lang/sl-SI.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "lang/fi-FI.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "lang/hu-HU.rc" +#endif +#ifdef LANGUAGE_HY_AM + #include "lang/hy-AM.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_LT_LT + #include "lang/lt-LT.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_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_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "lang/sl-SI.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/rapps/rsrc.rc b/reactos/base/applications/rapps/rsrc.rc index 20d99b15750..d18bff60984 100644 --- a/reactos/base/applications/rapps/rsrc.rc +++ b/reactos/base/applications/rapps/rsrc.rc @@ -1,18 +1,52 @@ #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/applications/regedit/clb/rsrc.rc b/reactos/base/applications/regedit/clb/rsrc.rc index 07ebbd45eb8..231c540b46e 100644 --- a/reactos/base/applications/regedit/clb/rsrc.rc +++ b/reactos/base/applications/regedit/clb/rsrc.rc @@ -28,21 +28,51 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL /* include localised resources */ -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/fr-FR.rc" -#include "lang/es-ES.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/ru-RU.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif diff --git a/reactos/base/applications/regedit/rsrc.rc b/reactos/base/applications/regedit/rsrc.rc index 7c2f723e3d4..b11fe55f63d 100644 --- a/reactos/base/applications/regedit/rsrc.rc +++ b/reactos/base/applications/regedit/rsrc.rc @@ -29,29 +29,81 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL /* include localised resources */ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/pt-PT.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sl-SI.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_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 +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.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 diff --git a/reactos/base/applications/screensavers/3dtext/rsrc.rc b/reactos/base/applications/screensavers/3dtext/rsrc.rc index af8dd40c7f4..56adce0006d 100644 --- a/reactos/base/applications/screensavers/3dtext/rsrc.rc +++ b/reactos/base/applications/screensavers/3dtext/rsrc.rc @@ -12,23 +12,63 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // UTF-8 #pragma code_page(65001) -#include "lang/de-DE.rc" -#include "lang/bg-BG.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/screensavers/logon/logon.rc b/reactos/base/applications/screensavers/logon/logon.rc index f68ce4074a6..9b1db62fa58 100644 --- a/reactos/base/applications/screensavers/logon/logon.rc +++ b/reactos/base/applications/screensavers/logon/logon.rc @@ -16,24 +16,66 @@ IDB_SERVER BITMAP DISCARDABLE "res/1.bmp" // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/shutdown/rsrc.rc b/reactos/base/applications/shutdown/rsrc.rc index cd43045cfaa..1475085ae06 100644 --- a/reactos/base/applications/shutdown/rsrc.rc +++ b/reactos/base/applications/shutdown/rsrc.rc @@ -3,24 +3,66 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif +#ifdef LANGUAGE_ZH_TW + #include "lang/zh-TW.rc" +#endif diff --git a/reactos/base/applications/sndrec32/rsrc.rc b/reactos/base/applications/sndrec32/rsrc.rc index 32dc3d9d639..0fca4dbcc45 100644 --- a/reactos/base/applications/sndrec32/rsrc.rc +++ b/reactos/base/applications/sndrec32/rsrc.rc @@ -18,17 +18,45 @@ IDB_BITMAP2_STOP_DIS BITMAP "resources/but_stop_dis.bmp" // UTF-8 #pragma code_page(65001) -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/pl-PL.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/ro-RO.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.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 diff --git a/reactos/base/applications/sndvol32/rsrc.rc b/reactos/base/applications/sndvol32/rsrc.rc index c58abc16731..707af2af096 100644 --- a/reactos/base/applications/sndvol32/rsrc.rc +++ b/reactos/base/applications/sndvol32/rsrc.rc @@ -7,28 +7,78 @@ IDI_MAINAPP ICON DISCARDABLE resources/sndvol32.ico // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.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 diff --git a/reactos/base/applications/taskmgr/rsrc.rc b/reactos/base/applications/taskmgr/rsrc.rc index 18041402b5e..3db38de3b8a 100644 --- a/reactos/base/applications/taskmgr/rsrc.rc +++ b/reactos/base/applications/taskmgr/rsrc.rc @@ -1,26 +1,74 @@ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/base/applications/winhlp32/rsrc.rc b/reactos/base/applications/winhlp32/rsrc.rc index 303366abf9a..aecb5988426 100644 --- a/reactos/base/applications/winhlp32/rsrc.rc +++ b/reactos/base/applications/winhlp32/rsrc.rc @@ -24,33 +24,89 @@ /* @makedep: winhelp.ico */ IDI_WINHELP ICON winhelp.ico -#include "Bg.rc" -#include "Cs.rc" -#include "En.rc" -#include "Es.rc" -#include "Fi.rc" -#include "Hu.rc" -#include "No.rc" -#include "Pl.rc" -#include "Sk.rc" -#include "Sv.rc" -#include "Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "Bg.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "Cs.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "Fi.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "Hu.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "Sk.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "Tr.rc" +#endif /* UTF-8 */ -#include "Da.rc" -#include "De.rc" -#include "Fr.rc" -#include "He.rc" -#include "It.rc" -#include "Ja.rc" -#include "Ko.rc" -#include "Lt.rc" -#include "Nl.rc" -#include "Pt.rc" -#include "Rm.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Sr.rc" -#include "Uk.rc" -#include "Zh.rc" +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_HE_IL + #include "He.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RM_CH + #include "Rm.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_SR_SP + #include "Sr.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "Zh.rc" +#endif diff --git a/reactos/base/applications/wordpad/rsrc.rc b/reactos/base/applications/wordpad/rsrc.rc index d9187a89390..731c56fb1ec 100644 --- a/reactos/base/applications/wordpad/rsrc.rc +++ b/reactos/base/applications/wordpad/rsrc.rc @@ -62,25 +62,65 @@ IDI_WORDPAD ICON "wordpad.ico" IDC_ZOOM CURSOR "zoom.cur" -#include "En.rc" -#include "Hu.rc" -#include "Ko.rc" -#include "Pl.rc" -#include "Tr.rc" +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "Hu.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "Tr.rc" +#endif /* UTF-8 */ -#include "Da.rc" -#include "De.rc" -#include "Fr.rc" -#include "It.rc" -#include "Ja.rc" -#include "Lt.rc" -#include "Nl.rc" -#include "No.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Sv.rc" -#include "Uk.rc" -#include "Zh.rc" +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "Zh.rc" +#endif diff --git a/reactos/base/applications/write/rsrc.rc b/reactos/base/applications/write/rsrc.rc index 8e2e378fb92..24c2dc982cd 100644 --- a/reactos/base/applications/write/rsrc.rc +++ b/reactos/base/applications/write/rsrc.rc @@ -20,26 +20,68 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#include "Da.rc" -#include "En.rc" -#include "Ko.rc" -#include "Nl.rc" -#include "No.rc" -#include "Pl.rc" -#include "Pt.rc" -#include "Sv.rc" +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif /* UTF-8 */ -#include "Bg.rc" -#include "De.rc" -#include "Es.rc" -#include "Fr.rc" -#include "It.rc" -#include "Ja.rc" -#include "Lt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Sr.rc" -#include "Uk.rc" -#include "Zh.rc" +#ifdef LANGUAGE_BG_BG + #include "Bg.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_SR_SP + #include "Sr.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "Zh.rc" +#endif diff --git a/reactos/base/setup/reactos/rsrc.rc b/reactos/base/setup/reactos/rsrc.rc index cb80e7b6a16..0994523e357 100644 --- a/reactos/base/setup/reactos/rsrc.rc +++ b/reactos/base/setup/reactos/rsrc.rc @@ -4,22 +4,58 @@ /* Language-specific resources */ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/et-EE.rc" -#include "lang/fi-FI.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/uk-UA.rc" +#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_ET_EE + #include "lang/et-EE.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "lang/fi-FI.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "lang/hu-HU.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/base/setup/usetup/CMakeLists.txt b/reactos/base/setup/usetup/CMakeLists.txt index d6f85340f0f..fe872735db8 100644 --- a/reactos/base/setup/usetup/CMakeLists.txt +++ b/reactos/base/setup/usetup/CMakeLists.txt @@ -1,4 +1,5 @@ +add_definitions(${I18N_DEFS}) include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${REACTOS_SOURCE_DIR}/lib/newinflib diff --git a/reactos/base/setup/usetup/genlist.c b/reactos/base/setup/usetup/genlist.c index d93d9520295..a1f0f4dce0d 100644 --- a/reactos/base/setup/usetup/genlist.c +++ b/reactos/base/setup/usetup/genlist.c @@ -428,7 +428,7 @@ ScrollToPositionGenericList (PGENERIC_LIST List, ULONG uIndex) PLIST_ENTRY Entry; ULONG uCount = 0; - if (List->CurrentEntry == NULL) + if (List->CurrentEntry == NULL || uIndex == 0) return; do diff --git a/reactos/base/setup/usetup/mui.c b/reactos/base/setup/usetup/mui.c index 8c4694acf1e..ab1568cf73b 100644 --- a/reactos/base/setup/usetup/mui.c +++ b/reactos/base/setup/usetup/mui.c @@ -63,6 +63,22 @@ FindLanguageIndex(VOID) return 0; } +BOOLEAN +IsLanguageAvailable(PWCHAR LanguageId) +{ + ULONG lngIndex = 0; + + do + { + if (_wcsicmp(LanguageList[lngIndex].LanguageID , LanguageId) == 0) + return TRUE; + + lngIndex++; + }while (LanguageList[lngIndex].MuiPages != NULL); + + return FALSE; +} + static const MUI_ENTRY * diff --git a/reactos/base/setup/usetup/mui.h b/reactos/base/setup/usetup/mui.h index 0f9a1e71fcd..f8074efd312 100644 --- a/reactos/base/setup/usetup/mui.h +++ b/reactos/base/setup/usetup/mui.h @@ -53,6 +53,9 @@ typedef struct const MUI_LAYOUTS * MuiLayouts; } MUI_LANGUAGE; +BOOLEAN +IsLanguageAvailable(PWCHAR LanguageId); + VOID MUIDisplayPage (ULONG PageNumber); diff --git a/reactos/base/setup/usetup/muilanguages.h b/reactos/base/setup/usetup/muilanguages.h index 61ec36ca8b8..ac2021f6d82 100644 --- a/reactos/base/setup/usetup/muilanguages.h +++ b/reactos/base/setup/usetup/muilanguages.h @@ -2,283 +2,831 @@ #include -#include "lang/af-ZA.h" -#include "lang/ar-AE.h" -#include "lang/ar-BH.h" -#include "lang/ar-DZ.h" -#include "lang/ar-EG.h" -#include "lang/ar-IQ.h" -#include "lang/ar-JO.h" -#include "lang/ar-KW.h" -#include "lang/ar-LB.h" -#include "lang/ar-LY.h" -#include "lang/ar-MA.h" -#include "lang/ar-OM.h" -#include "lang/ar-QA.h" -#include "lang/ar-SA.h" -#include "lang/ar-SY.h" -#include "lang/ar-TN.h" -#include "lang/ar-YE.h" -#include "lang/az-AZ.h" -#include "lang/be-BY.h" -#include "lang/bg-BG.h" -#include "lang/ca-ES.h" -#include "lang/cs-CZ.h" -#include "lang/da-DK.h" -#include "lang/de-AT.h" -#include "lang/de-CH.h" -#include "lang/de-DE.h" -#include "lang/de-LI.h" -#include "lang/de-LU.h" -#include "lang/dv-MV.h" -#include "lang/el-GR.h" -#include "lang/en-AU.h" -#include "lang/en-BZ.h" -#include "lang/en-CA.h" -#include "lang/en-CB.h" -#include "lang/en-GB.h" -#include "lang/en-IE.h" -#include "lang/en-JM.h" -#include "lang/en-NZ.h" -#include "lang/en-PH.h" -#include "lang/en-TT.h" -#include "lang/en-US.h" -#include "lang/en-ZA.h" -#include "lang/en-ZW.h" -#include "lang/eo-AA.h" -#include "lang/es-AR.h" -#include "lang/es-BO.h" -#include "lang/es-CL.h" -#include "lang/es-CO.h" -#include "lang/es-CR.h" -#include "lang/es-DO.h" -#include "lang/es-EC.h" -#include "lang/es-ES.h" -#include "lang/es-GT.h" -#include "lang/es-HN.h" -#include "lang/es-MX.h" -#include "lang/es-NI.h" -#include "lang/es-PA.h" -#include "lang/es-PE.h" -#include "lang/es-PR.h" -#include "lang/es-PY.h" -#include "lang/es-SV.h" -#include "lang/es-UY.h" -#include "lang/es-VE.h" -#include "lang/et-EE.h" -#include "lang/eu-ES.h" -#include "lang/fa-IR.h" -#include "lang/fi-FI.h" -#include "lang/fo-FO.h" -#include "lang/fr-BE.h" -#include "lang/fr-CA.h" -#include "lang/fr-CH.h" -#include "lang/fr-FR.h" -#include "lang/fr-LU.h" -#include "lang/fr-MC.h" -#include "lang/gl-ES.h" -#include "lang/gu-IN.h" -#include "lang/he-IL.h" -#include "lang/hi-IN.h" -#include "lang/hr-HR.h" -#include "lang/hu-HU.h" -#include "lang/hy-AM.h" -#include "lang/id-ID.h" -#include "lang/is-IS.h" -#include "lang/it-CH.h" -#include "lang/it-IT.h" -#include "lang/ja-JP.h" -#include "lang/ka-GE.h" -#include "lang/kk-KZ.h" -#include "lang/kn-IN.h" -#include "lang/kok-IN.h" -#include "lang/ko-KR.h" -#include "lang/ky-KG.h" -#include "lang/lt-LT.h" -#include "lang/lv-LV.h" -#include "lang/mk-MK.h" -#include "lang/mn-MN.h" -#include "lang/mr-IN.h" -#include "lang/ms-BN.h" -#include "lang/ms-MY.h" -#include "lang/my-MM.h" -#include "lang/nl-BE.h" -#include "lang/nl-NL.h" -#include "lang/nn-NO.h" -#include "lang/pa-IN.h" -#include "lang/pl-PL.h" -#include "lang/pt-BR.h" -#include "lang/pt-PT.h" -#include "lang/rm-CH.h" -#include "lang/ro-RO.h" -#include "lang/ru-RU.h" -#include "lang/sa-IN.h" -#include "lang/sk-SK.h" -#include "lang/sl-SI.h" -#include "lang/sq-AL.h" -#include "lang/sr-SP.h" -#include "lang/sv-FI.h" -#include "lang/sv-SE.h" -#include "lang/sw-KE.h" -#include "lang/syr-SY.h" -#include "lang/ta-IN.h" -#include "lang/te-IN.h" -#include "lang/th-TH.h" -#include "lang/tr-TR.h" -#include "lang/tt-TA.h" -#include "lang/uk-UA.h" -#include "lang/ur-PK.h" -#include "lang/uz-UZ.h" -#include "lang/vi-VN.h" -#include "lang/wa-BE.h" -#include "lang/zh-CN.h" -#include "lang/zh-HK.h" -#include "lang/zh-MO.h" -#include "lang/zh-SG.h" -#include "lang/zh-TW.h" +#ifdef LANGUAGE_AF_ZA + #include "lang/af-ZA.h" +#endif +#ifdef LANGUAGE_AR_AE + #include "lang/ar-AE.h" +#endif +#ifdef LANGUAGE_AR_BH + #include "lang/ar-BH.h" +#endif +#ifdef LANGUAGE_AR_DZ + #include "lang/ar-DZ.h" +#endif +#ifdef LANGUAGE_AR_EG + #include "lang/ar-EG.h" +#endif +#ifdef LANGUAGE_AR_IQ + #include "lang/ar-IQ.h" +#endif +#ifdef LANGUAGE_AR_JO + #include "lang/ar-JO.h" +#endif +#ifdef LANGUAGE_AR_KW + #include "lang/ar-KW.h" +#endif +#ifdef LANGUAGE_AR_LB + #include "lang/ar-LB.h" +#endif +#ifdef LANGUAGE_AR_LY + #include "lang/ar-LY.h" +#endif +#ifdef LANGUAGE_AR_MA + #include "lang/ar-MA.h" +#endif +#ifdef LANGUAGE_AR_OM + #include "lang/ar-OM.h" +#endif +#ifdef LANGUAGE_AR_QA + #include "lang/ar-QA.h" +#endif +#ifdef LANGUAGE_AR_SA + #include "lang/ar-SA.h" +#endif +#ifdef LANGUAGE_AR_SY + #include "lang/ar-SY.h" +#endif +#ifdef LANGUAGE_AR_TN + #include "lang/ar-TN.h" +#endif +#ifdef LANGUAGE_AR_YE + #include "lang/ar-YE.h" +#endif +#ifdef LANGUAGE_AZ_AZ + #include "lang/az-AZ.h" +#endif +#ifdef LANGUAGE_BE_BY + #include "lang/be-BY.h" +#endif +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.h" +#endif +#ifdef LANGUAGE_CA_ES + #include "lang/ca-ES.h" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.h" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.h" +#endif +#ifdef LANGUAGE_DE_AT + #include "lang/de-AT.h" +#endif +#ifdef LANGUAGE_DE_CH + #include "lang/de-CH.h" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.h" +#endif +#ifdef LANGUAGE_DE_LI + #include "lang/de-LI.h" +#endif +#ifdef LANGUAGE_DE_LU + #include "lang/de-LU.h" +#endif +#ifdef LANGUAGE_DV_MV + #include "lang/dv-MV.h" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.h" +#endif +#ifdef LANGUAGE_EN_AU + #include "lang/en-AU.h" +#endif +#ifdef LANGUAGE_EN_BZ + #include "lang/en-BZ.h" +#endif +#ifdef LANGUAGE_EN_CA + #include "lang/en-CA.h" +#endif +#ifdef LANGUAGE_EN_CB + #include "lang/en-CB.h" +#endif +#ifdef LANGUAGE_EN_GB + #include "lang/en-GB.h" +#endif +#ifdef LANGUAGE_EN_IE + #include "lang/en-IE.h" +#endif +#ifdef LANGUAGE_EN_JM + #include "lang/en-JM.h" +#endif +#ifdef LANGUAGE_EN_NZ + #include "lang/en-NZ.h" +#endif +#ifdef LANGUAGE_EN_PH + #include "lang/en-PH.h" +#endif +#ifdef LANGUAGE_EN_TT + #include "lang/en-TT.h" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.h" +#endif +#ifdef LANGUAGE_EN_ZA + #include "lang/en-ZA.h" +#endif +#ifdef LANGUAGE_EN_ZW + #include "lang/en-ZW.h" +#endif +#ifdef LANGUAGE_EO_AA + #include "lang/eo-AA.h" +#endif +#ifdef LANGUAGE_ES_AR + #include "lang/es-AR.h" +#endif +#ifdef LANGUAGE_ES_BO + #include "lang/es-BO.h" +#endif +#ifdef LANGUAGE_ES_CL + #include "lang/es-CL.h" +#endif +#ifdef LANGUAGE_ES_CO + #include "lang/es-CO.h" +#endif +#ifdef LANGUAGE_ES_CR + #include "lang/es-CR.h" +#endif +#ifdef LANGUAGE_ES_DO + #include "lang/es-DO.h" +#endif +#ifdef LANGUAGE_ES_EC + #include "lang/es-EC.h" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.h" +#endif +#ifdef LANGUAGE_ES_GT + #include "lang/es-GT.h" +#endif +#ifdef LANGUAGE_ES_HN + #include "lang/es-HN.h" +#endif +#ifdef LANGUAGE_ES_MX + #include "lang/es-MX.h" +#endif +#ifdef LANGUAGE_ES_NI + #include "lang/es-NI.h" +#endif +#ifdef LANGUAGE_ES_PA + #include "lang/es-PA.h" +#endif +#ifdef LANGUAGE_ES_PE + #include "lang/es-PE.h" +#endif +#ifdef LANGUAGE_ES_PR + #include "lang/es-PR.h" +#endif +#ifdef LANGUAGE_ES_PY + #include "lang/es-PY.h" +#endif +#ifdef LANGUAGE_ES_SV + #include "lang/es-SV.h" +#endif +#ifdef LANGUAGE_ES_UY + #include "lang/es-UY.h" +#endif +#ifdef LANGUAGE_ES_VE + #include "lang/es-VE.h" +#endif +#ifdef LANGUAGE_ET_EE + #include "lang/et-EE.h" +#endif +#ifdef LANGUAGE_EU_ES + #include "lang/eu-ES.h" +#endif +#ifdef LANGUAGE_FA_IR + #include "lang/fa-IR.h" +#endif +#ifdef LANGUAGE_FI_FI + #include "lang/fi-FI.h" +#endif +#ifdef LANGUAGE_FO_FO + #include "lang/fo-FO.h" +#endif +#ifdef LANGUAGE_FR_BE + #include "lang/fr-BE.h" +#endif +#ifdef LANGUAGE_FR_CA + #include "lang/fr-CA.h" +#endif +#ifdef LANGUAGE_FR_CH + #include "lang/fr-CH.h" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.h" +#endif +#ifdef LANGUAGE_FR_LU + #include "lang/fr-LU.h" +#endif +#ifdef LANGUAGE_FR_MC + #include "lang/fr-MC.h" +#endif +#ifdef LANGUAGE_GL_ES + #include "lang/gl-ES.h" +#endif +#ifdef LANGUAGE_GU_IN + #include "lang/gu-IN.h" +#endif +#ifdef LANGUAGE_HE_IL + #include "lang/he-IL.h" +#endif +#ifdef LANGUAGE_HI_IN + #include "lang/hi-IN.h" +#endif +#ifdef LANGUAGE_HR_HR + #include "lang/hr-HR.h" +#endif +#ifdef LANGUAGE_HU_HU + #include "lang/hu-HU.h" +#endif +#ifdef LANGUAGE_HY_AM + #include "lang/hy-AM.h" +#endif +#ifdef LANGUAGE_ID_ID + #include "lang/id-ID.h" +#endif +#ifdef LANGUAGE_IS_IS + #include "lang/is-IS.h" +#endif +#ifdef LANGUAGE_IT_CH + #include "lang/it-CH.h" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.h" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.h" +#endif +#ifdef LANGUAGE_KA_GE + #include "lang/ka-GE.h" +#endif +#ifdef LANGUAGE_KK_KZ + #include "lang/kk-KZ.h" +#endif +#ifdef LANGUAGE_KN_IN + #include "lang/kn-IN.h" +#endif +#ifdef LANGUAGE_KOK_IN + #include "lang/kok-IN.h" +#endif +#ifdef LANGUAGE_KO_KR + #include "lang/ko-KR.h" +#endif +#ifdef LANGUAGE_KY_KG + #include "lang/ky-KG.h" +#endif +#ifdef LANGUAGE_LT_LT + #include "lang/lt-LT.h" +#endif +#ifdef LANGUAGE_LV_LV + #include "lang/lv-LV.h" +#endif +#ifdef LANGUAGE_MK_MK + #include "lang/mk-MK.h" +#endif +#ifdef LANGUAGE_MN_MN + #include "lang/mn-MN.h" +#endif +#ifdef LANGUAGE_MR_IN + #include "lang/mr-IN.h" +#endif +#ifdef LANGUAGE_MS_BN + #include "lang/ms-BN.h" +#endif +#ifdef LANGUAGE_MS_MY + #include "lang/ms-MY.h" +#endif +#ifdef LANGUAGE_MY_MM + #include "lang/my-MM.h" +#endif +#ifdef LANGUAGE_NL_BE + #include "lang/nl-BE.h" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.h" +#endif +#ifdef LANGUAGE_NN_NO + #include "lang/nn-NO.h" +#endif +#ifdef LANGUAGE_PA_IN + #include "lang/pa-IN.h" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.h" +#endif +#ifdef LANGUAGE_PT_BR + #include "lang/pt-BR.h" +#endif +#ifdef LANGUAGE_PT_PT + #include "lang/pt-PT.h" +#endif +#ifdef LANGUAGE_RM_CH + #include "lang/rm-CH.h" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.h" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.h" +#endif +#ifdef LANGUAGE_SA_IN + #include "lang/sa-IN.h" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.h" +#endif +#ifdef LANGUAGE_SL_SI + #include "lang/sl-SI.h" +#endif +#ifdef LANGUAGE_SQ_AL + #include "lang/sq-AL.h" +#endif +#ifdef LANGUAGE_SR_SP + #include "lang/sr-SP.h" +#endif +#ifdef LANGUAGE_SV_FI + #include "lang/sv-FI.h" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.h" +#endif +#ifdef LANGUAGE_SW_KE + #include "lang/sw-KE.h" +#endif +#ifdef LANGUAGE_SYR_SY + #include "lang/syr-SY.h" +#endif +#ifdef LANGUAGE_TA_IN + #include "lang/ta-IN.h" +#endif +#ifdef LANGUAGE_TE_IN + #include "lang/te-IN.h" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.h" +#endif +#ifdef LANGUAGE_TR_TR + #include "lang/tr-TR.h" +#endif +#ifdef LANGUAGE_TT_TA + #include "lang/tt-TA.h" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.h" +#endif +#ifdef LANGUAGE_UR_PK + #include "lang/ur-PK.h" +#endif +#ifdef LANGUAGE_UZ_UZ + #include "lang/uz-UZ.h" +#endif +#ifdef LANGUAGE_VI_VN + #include "lang/vi-VN.h" +#endif +#ifdef LANGUAGE_WA_BE + #include "lang/wa-BE.h" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.h" +#endif +#ifdef LANGUAGE_ZH_HK + #include "lang/zh-HK.h" +#endif +#ifdef LANGUAGE_ZH_MO + #include "lang/zh-MO.h" +#endif +#ifdef LANGUAGE_ZH_SG + #include "lang/zh-SG.h" +#endif +#ifdef LANGUAGE_ZH_TW + #include "lang/zh-TW.h" +#endif const MUI_LANGUAGE LanguageList[] = { /* Lang ID, ANSI CP, OEM CP, MAC CP, Language Name, GeoID page strgs,error strings, other strings, fonts, kb layouts */ - {L"00000436", L"1252", L"850", L"10000", L"Afrikaans", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, afZALayouts }, - {L"0000041C", L"1250", L"852", L"10029", L"Albanian", L"355", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, sqALLayouts }, - {L"00000401", L"1256", L"720", L"10004", L"Arabic (Saudi Arabia)", L"966", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arSALayouts }, - {L"00000801", L"1256", L"720", L"10004", L"Arabic (Iraq)", L"964", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arIQLayouts }, - {L"00000C01", L"1256", L"720", L"10004", L"Arabic (Egypt)", L"20", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arEGLayouts }, - {L"00001001", L"1256", L"720", L"10004", L"Arabic (Libya)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arLYLayouts }, - {L"00001401", L"1256", L"720", L"10004", L"Arabic (Algeria)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arDZLayouts }, - {L"00001801", L"1256", L"720", L"10004", L"Arabic (Morocco)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arMALayouts }, - {L"00001C01", L"1256", L"720", L"10004", L"Arabic (Tunisia)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arTNLayouts }, - {L"00002001", L"1256", L"720", L"10004", L"Arabic (Oman)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arOMLayouts }, - {L"00002401", L"1256", L"720", L"10004", L"Arabic (Yemen)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arYELayouts }, - {L"00002801", L"1256", L"720", L"10004", L"Arabic (Syria)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arSYLayouts }, - {L"00002C01", L"1256", L"720", L"10004", L"Arabic (Jordan)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arJOLayouts }, - {L"00003001", L"1256", L"720", L"10004", L"Arabic (Lebanon)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arLBLayouts }, - {L"00003401", L"1256", L"720", L"10004", L"Arabic (Kuwait)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arKWLayouts }, - {L"00003801", L"1256", L"720", L"10004", L"Arabic (U.A.E.)", L"971", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arAELayouts }, - {L"00003C01", L"1256", L"720", L"10004", L"Arabic (Bahrain)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arBHLayouts }, - {L"00004001", L"1256", L"720", L"10004", L"Arabic (Qatar)", L"974", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arQALayouts }, - {L"0000042B", L"0", L"1", L"2", L"Armenian", L"374", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, hyAMLayouts }, - {L"0000082C", L"1251", L"866", L"10007", L"Azeri (Cyrillic)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, azAZLayouts }, - {L"0000042C", L"1254", L"857", L"10081", L"Azeri (Latin)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, azAZLayouts }, - {L"0000042D", L"1252", L"850", L"10000", L"Basque", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, euESLayouts }, - {L"00000423", L"1251", L"866", L"10007", L"Belarusian", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, beBYLayouts }, - {L"00000402", L"1251", L"866", L"10007", L"Bulgarian", L"359", bgBGPages, bgBGErrorEntries, bgBGStrings, CyrillicFonts, bgBGLayouts }, - {L"00000455", L"0", L"1", L"2", L"Burmese", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, myMMLayouts }, - {L"00000403", L"1252", L"850", L"10000", L"Catalan", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, caESLayouts }, - {L"00000404", L"950", L"950", L"10008", L"Chinese (Taiwan)", L"886", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhTWLayouts }, - {L"00000804", L"936", L"936", L"10008", L"Chinese (PRC)", L"86", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhCNLayouts }, - {L"00000C04", L"950", L"950", L"10008", L"Chinese (Hong Kong S.A.R.)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhHKLayouts }, - {L"00001004", L"936", L"936", L"10008", L"Chinese (Singapore)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhSGLayouts }, - {L"00001404", L"950", L"950", L"10002", L"Chinese (Macau S.A.R.)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhMOLayouts }, - {L"0000041A", L"1250", L"852", L"10029", L"Croatian", L"385", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, hrHRLayouts }, - {L"00000405", L"1250", L"852", L"10029", L"Czech", L"420", csCZPages, csCZErrorEntries, csCZStrings, LatinFonts, csCZLayouts }, - {L"00000406", L"1252", L"850", L"10000", L"Danish", L"45", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, daDKLayouts }, - {L"00000465", L"0", L"1", L"2", L"Divehi (Maldives)", L"960", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, dvMVLayouts }, - {L"00000413", L"1252", L"850", L"10000", L"Dutch (Netherlands)", L"31", nlNLPages, nlNLErrorEntries, nlNLStrings, LatinFonts, nlNLLayouts }, - {L"00000813", L"1252", L"850", L"10000", L"Dutch (Belgium)", L"32", nlNLPages, nlNLErrorEntries, nlNLStrings, LatinFonts, nlBELayouts }, - {L"00000409", L"1252", L"437", L"10000", L"English (United States)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enUSLayouts }, - {L"00000809", L"1252", L"850", L"10000", L"English (United Kingdom)", L"44", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enGBLayouts }, - {L"00000C09", L"1252", L"850", L"10000", L"English (Australia)", L"61", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enAULayouts }, - {L"00001009", L"1252", L"850", L"10000", L"English (Canada)", L"107", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enCALayouts }, - {L"00001409", L"1252", L"850", L"10000", L"English (New Zealand)", L"64", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enNZLayouts }, - {L"00001809", L"1252", L"850", L"10000", L"English (Ireland)", L"353", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enIELayouts }, - {L"00001C09", L"1252", L"437", L"10000", L"English (South Africa)", L"27", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enZALayouts }, - {L"00002009", L"1252", L"850", L"10000", L"English (Jamaica)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enJMLayouts }, - {L"00002409", L"1252", L"850", L"10000", L"English (Caribbean)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enCBLayouts }, - {L"00002809", L"1252", L"850", L"10000", L"English (Belize)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enBZLayouts }, - {L"00002C09", L"1252", L"850", L"10000", L"English (Trinidad)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enTTLayouts }, - {L"00003009", L"1252", L"437", L"10000", L"English (Zimbabwe)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enZWLayouts }, - {L"00003409", L"1252", L"437", L"10000", L"English (Philippines)", L"63", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enPHLayouts }, - {L"0000048F", L"1252", L"437", L"10000", L"Esperanto", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, eoAALayouts }, - {L"00000425", L"1252", L"775", L"10029", L"Estonian", L"372", etEEPages, etEEErrorEntries, etEEStrings, LatinFonts, etEELayouts }, - {L"00000438", L"1252", L"850", L"10079", L"Faeroese", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, foFOLayouts }, - {L"00000429", L"1256", L"720", L"10004", L"Farsi", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, faIRLayouts }, - {L"0000040B", L"1252", L"850", L"10000", L"Finnish", L"358", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, fiFILayouts }, - {L"00000C0C", L"1252", L"850", L"10000", L"French (Canada)", L"107", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frCALayouts }, - {L"0000040C", L"1252", L"850", L"10000", L"French (France)", L"33", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frFRLayouts }, - {L"0000080C", L"1252", L"850", L"10000", L"French (Belgium)", L"32", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frBELayouts }, - {L"0000100C", L"1252", L"850", L"10000", L"French (Switzerland)", L"41", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frCHLayouts }, - {L"0000140C", L"1252", L"850", L"10000", L"French (Luxembourg)", L"352", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frLULayouts }, - {L"0000180C", L"1252", L"850", L"10000", L"French (Monaco)", L"1", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frMCLayouts }, - {L"00000456", L"1252", L"850", L"10000", L"Galician (Spain)", L"34", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, glESLayouts }, - {L"00000437", L"0", L"1", L"2", L"Georgian", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, kaGELayouts }, - {L"00000407", L"1252", L"850", L"10000", L"German (Germany)", L"49", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deDELayouts }, - {L"00000807", L"1252", L"850", L"10000", L"German (Switzerland)", L"41", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deCHLayouts }, - {L"00000C07", L"1252", L"850", L"10000", L"German (Austria)", L"43", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deATLayouts }, - {L"00001007", L"1252", L"850", L"10000", L"German (Luxembourg)", L"352", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deLULayouts }, - {L"00001407", L"1252", L"850", L"10000", L"German (Liechtenstein)", L"423", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deLILayouts }, - {L"00000408", L"1253", L"737", L"10006", L"Greek", L"30", elGRPages, elGRErrorEntries, elGRStrings, GreekFonts, elGRLayouts }, - {L"00000447", L"0", L"1", L"2", L"Gujarati (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, guINLayouts }, - {L"0000040D", L"1255", L"862", L"10005", L"Hebrew", L"1", enUSPages, enUSErrorEntries, enUSStrings, HebrewFonts, heILLayouts }, - {L"00000439", L"1252", L"437", L"10000", L"Hindi", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, hiINLayouts }, - {L"0000040E", L"1250", L"852", L"10029", L"Hungarian", L"36", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, huHULayouts }, - {L"0000040F", L"1252", L"850", L"10079", L"Icelandic", L"354", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, isISLayouts }, - {L"00000421", L"1252", L"850", L"10079", L"Indonesian", L"62", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, idIDLayouts }, - {L"00000410", L"1252", L"850", L"10000", L"Italian (Italy)", L"39", itITPages, itITErrorEntries, itITStrings, LatinFonts, itITLayouts }, - {L"00000810", L"1252", L"850", L"10000", L"Italian (Switzerland)", L"41", itITPages, itITErrorEntries, itITStrings, LatinFonts, itCHLayouts }, - {L"00000411", L"932", L"932", L"10001", L"Japanese", L"81", jaJPPages, jaJPErrorEntries, jaJPStrings, CJKFonts, jaJPLayouts }, - {L"0000044B", L"1252", L"437", L"10079", L"Kannada (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, knINLayouts }, - {L"0000043F", L"1251", L"866", L"10007", L"Kazakh", L"705", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, kkKZLayouts }, - {L"00000457", L"0", L"437", L"2", L"Konkani", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, kokINLayouts}, - {L"00000412", L"949", L"949", L"10003", L"Korean", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, koKRLayouts }, - {L"00000440", L"1251", L"866", L"10007", L"Kyrgyz (Kyrgyzstan)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, kyKGLayouts }, - {L"00000426", L"1257", L"775", L"10029", L"Latvian", L"371", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, lvLVLayouts }, - {L"00000427", L"1257", L"775", L"10029", L"Lithuanian", L"370", ltLTPages, ltLTErrorEntries, ltLTStrings, LatinFonts, ltLTLayouts }, - {L"0000042F", L"1251", L"866", L"10007", L"FYRO Macedonian", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, mkMKLayouts }, - {L"0000083E", L"1252", L"850", L"10000", L"Malay (Brunei Darussalam)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, msBNLayouts }, - {L"0000043E", L"1252", L"850", L"10000", L"Malay (Malaysia)", L"60", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, msMYLayouts }, - {L"0000044E", L"0", L"1", L"2", L"Marathi", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, mrINLayouts }, - {L"00000450", L"1251", L"866", L"10007", L"Mongolian (Mongolia)", L"976", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, mnMNLayouts }, - {L"00000414", L"1252", L"850", L"10000", L"Norwegian (Bokmal)", L"47", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, nnNOLayouts }, - {L"00000814", L"1252", L"850", L"10000", L"Norwegian (Nynorsk)", L"47", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, nnNOLayouts }, - {L"00000415", L"1250", L"852", L"10029", L"Polish", L"48", plPLPages, plPLErrorEntries, plPLStrings, LatinFonts, plPLLayouts }, - {L"00000816", L"1252", L"850", L"10000", L"Portuguese (Portugal)", L"351", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, ptPTLayouts }, - {L"00000416", L"1252", L"850", L"10000", L"Portuguese (Brazil)", L"55", ptBRPages, ptBRErrorEntries, ptBRStrings, LatinFonts, ptBRLayouts }, - {L"00000446", L"0", L"1", L"2", L"Punjabi (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, paINLayouts }, - {L"00000418", L"1250", L"852", L"10029", L"Romanian", L"40", roROPages, roROErrorEntries, roROStrings, LatinFonts, roROLayouts }, - {L"00000417", L"1252", L"850", L"10000", L"Romansh", L"41", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, rmCHLayouts }, - {L"00000419", L"1251", L"866", L"10007", L"Russian", L"7", ruRUPages, ruRUErrorEntries, ruRUStrings, CyrillicFonts, ruRULayouts }, - {L"0000044F", L"0", L"1", L"2", L"Sanskrit", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, saINLayouts }, - {L"00000C1A", L"1251", L"855", L"10007", L"Serbian (Cyrillic)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, srSPLayouts }, - {L"0000081A", L"1250", L"852", L"10029", L"Serbian (Latin)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, srSPLayouts }, - {L"0000041B", L"1250", L"852", L"10029", L"Slovak", L"421", skSKPages, skSKErrorEntries, skSKStrings, LatinFonts, skSKLayouts }, - {L"00000424", L"1250", L"852", L"10029", L"Slovenian", L"386", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, slSILayouts }, - {L"0000040A", L"1252", L"850", L"10000", L"Spanish (Traditional Sort)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esESLayouts }, - {L"0000080A", L"1252", L"850", L"10000", L"Spanish (Mexico)", L"52", esESPages, esESErrorEntries, esESStrings, LatinFonts, esMXLayouts }, - {L"00000C0A", L"1252", L"850", L"10000", L"Spanish (International Sort)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esESLayouts }, - {L"0000100A", L"1252", L"850", L"10000", L"Spanish (Guatemala)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esGTLayouts }, - {L"0000140A", L"1252", L"850", L"10000", L"Spanish (Costa Rica)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esCRLayouts }, - {L"0000180A", L"1252", L"850", L"10000", L"Spanish (Panama)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPALayouts }, - {L"00001C0A", L"1252", L"850", L"10000", L"Spanish (Dominican Republic)", L"110", esESPages, esESErrorEntries, esESStrings, LatinFonts, esDOLayouts }, - {L"0000200A", L"1252", L"850", L"10000", L"Spanish (Venezuela)", L"58", esESPages, esESErrorEntries, esESStrings, LatinFonts, esVELayouts }, - {L"0000240A", L"1252", L"850", L"10000", L"Spanish (Colombia)", L"57", esESPages, esESErrorEntries, esESStrings, LatinFonts, esCOLayouts }, - {L"0000280A", L"1252", L"850", L"10000", L"Spanish (Peru)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPELayouts }, - {L"00002C0A", L"1252", L"850", L"10000", L"Spanish (Argentina)", L"54", esESPages, esESErrorEntries, esESStrings, LatinFonts, esARLayouts }, - {L"0000300A", L"1252", L"850", L"10000", L"Spanish (Ecuador)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esECLayouts }, - {L"0000340A", L"1252", L"850", L"10000", L"Spanish (Chile)", L"56", esESPages, esESErrorEntries, esESStrings, LatinFonts, esCLLayouts }, - {L"0000380A", L"1252", L"850", L"10000", L"Spanish (Uruguay)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esUYLayouts }, - {L"00003C0A", L"1252", L"850", L"10000", L"Spanish (Paraguay)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPYLayouts }, - {L"0000400A", L"1252", L"850", L"10000", L"Spanish (Bolivia)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esBOLayouts }, - {L"0000440A", L"1252", L"850", L"10000", L"Spanish (El Salvador)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esSVLayouts }, - {L"0000480A", L"1252", L"850", L"10000", L"Spanish (Honduras)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esHNLayouts }, - {L"00004C0A", L"1252", L"850", L"10000", L"Spanish (Nicaragua)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esNILayouts }, - {L"0000500A", L"1252", L"850", L"10000", L"Spanish (Puerto Rico)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPRLayouts }, - {L"00000441", L"1252", L"437", L"10000", L"Swahili", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, swKELayouts }, - {L"0000041D", L"1252", L"850", L"10000", L"Swedish", L"46", svSEPages, svSEErrorEntries, svSEStrings, LatinFonts, svSELayouts }, - {L"0000081D", L"1252", L"850", L"10000", L"Swedish (Finland)", L"358", svSEPages, svSEErrorEntries, svSEStrings, LatinFonts, svFILayouts }, - {L"0000045A", L"0", L"1", L"2", L"Syriac (Syria)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, syrSYLayouts}, - {L"00000449", L"0", L"1", L"2", L"Tamil", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, taINLayouts }, - {L"00000444", L"1251", L"866", L"10007", L"Tatar", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, ttTALayouts }, - {L"0000044A", L"0", L"1", L"2", L"Telugu (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, teINLayouts }, - {L"0000041E", L"874", L"874", L"10021", L"Thai", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, thTHLayouts }, - {L"0000041F", L"1254", L"857", L"10081", L"Turkish", L"90", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, trTRLayouts }, - {L"00000422", L"1251", L"866", L"10017", L"Ukrainian", L"380", ukUAPages, ukUAErrorEntries, ukUAStrings, CyrillicFonts, ukUALayouts }, - {L"00000420", L"1256", L"720", L"10004", L"Urdu", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, urPKLayouts }, - {L"00000443", L"1254", L"857", L"10029", L"Uzbek (Latin)", L"998", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, uzUZLayouts }, - {L"00000843", L"1251", L"866", L"10007", L"Uzbek (Cyrillic)", L"998", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, uzUZLayouts }, - {L"0000042A", L"1258", L"1258",L"10000", L"Vietnamese", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, viVNLayouts }, - {L"00000490", L"1252", L"850", L"10000", L"Walon", L"32", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, waBELayouts }, - {L"00000435", L"1252", L"850", L"10000", L"Zulu", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enUSLayouts }, +#ifdef LANGUAGE_AF_ZA + {L"00000436", L"1252", L"850", L"10000", L"Afrikaans", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, afZALayouts }, +#endif +#ifdef LANGUAGE_SQ_AL + {L"0000041C", L"1250", L"852", L"10029", L"Albanian", L"355", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, sqALLayouts }, +#endif +#ifdef LANGUAGE_AR_SA + {L"00000401", L"1256", L"720", L"10004", L"Arabic (Saudi Arabia)", L"966", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arSALayouts }, +#endif +#ifdef LANGUAGE_AR_IQ + {L"00000801", L"1256", L"720", L"10004", L"Arabic (Iraq)", L"964", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arIQLayouts }, +#endif +#ifdef LANGUAGE_AR_EG + {L"00000C01", L"1256", L"720", L"10004", L"Arabic (Egypt)", L"20", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arEGLayouts }, +#endif +#ifdef LANGUAGE_AR_LY + {L"00001001", L"1256", L"720", L"10004", L"Arabic (Libya)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arLYLayouts }, +#endif +#ifdef LANGUAGE_AR_DZ + {L"00001401", L"1256", L"720", L"10004", L"Arabic (Algeria)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arDZLayouts }, +#endif +#ifdef LANGUAGE_AR_MA + {L"00001801", L"1256", L"720", L"10004", L"Arabic (Morocco)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arMALayouts }, +#endif +#ifdef LANGUAGE_AR_TN + {L"00001C01", L"1256", L"720", L"10004", L"Arabic (Tunisia)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arTNLayouts }, +#endif +#ifdef LANGUAGE_AR_OM + {L"00002001", L"1256", L"720", L"10004", L"Arabic (Oman)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arOMLayouts }, +#endif +#ifdef LANGUAGE_AR_YE + {L"00002401", L"1256", L"720", L"10004", L"Arabic (Yemen)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arYELayouts }, +#endif +#ifdef LANGUAGE_AR_SY + {L"00002801", L"1256", L"720", L"10004", L"Arabic (Syria)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arSYLayouts }, +#endif +#ifdef LANGUAGE_AR_JO + {L"00002C01", L"1256", L"720", L"10004", L"Arabic (Jordan)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arJOLayouts }, +#endif +#ifdef LANGUAGE_AR_LB + {L"00003001", L"1256", L"720", L"10004", L"Arabic (Lebanon)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arLBLayouts }, +#endif +#ifdef LANGUAGE_AR_KW + {L"00003401", L"1256", L"720", L"10004", L"Arabic (Kuwait)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arKWLayouts }, +#endif +#ifdef LANGUAGE_AR_AE + {L"00003801", L"1256", L"720", L"10004", L"Arabic (U.A.E.)", L"971", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arAELayouts }, +#endif +#ifdef LANGUAGE_AR_BH + {L"00003C01", L"1256", L"720", L"10004", L"Arabic (Bahrain)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arBHLayouts }, +#endif +#ifdef LANGUAGE_AR_QA + {L"00004001", L"1256", L"720", L"10004", L"Arabic (Qatar)", L"974", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, arQALayouts }, +#endif +#ifdef LANGUAGE_HY_AM + {L"0000042B", L"0", L"1", L"2", L"Armenian", L"374", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, hyAMLayouts }, +#endif +#ifdef LANGUAGE_AZ_AZ + {L"0000082C", L"1251", L"866", L"10007", L"Azeri (Cyrillic)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, azAZLayouts }, +#endif +#ifdef LANGUAGE_AZ_AZ + {L"0000042C", L"1254", L"857", L"10081", L"Azeri (Latin)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, azAZLayouts }, +#endif +#ifdef LANGUAGE_EU_ES + {L"0000042D", L"1252", L"850", L"10000", L"Basque", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, euESLayouts }, +#endif +#ifdef LANGUAGE_BE_BY + {L"00000423", L"1251", L"866", L"10007", L"Belarusian", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, beBYLayouts }, +#endif +#ifdef LANGUAGE_BG_BG + {L"00000402", L"1251", L"866", L"10007", L"Bulgarian", L"359", bgBGPages, bgBGErrorEntries, bgBGStrings, CyrillicFonts, bgBGLayouts }, +#endif +#ifdef LANGUAGE_MY_MM + {L"00000455", L"0", L"1", L"2", L"Burmese", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, myMMLayouts }, +#endif +#ifdef LANGUAGE_CA_ES + {L"00000403", L"1252", L"850", L"10000", L"Catalan", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, caESLayouts }, +#endif +#ifdef LANGUAGE_ZH_TW + {L"00000404", L"950", L"950", L"10008", L"Chinese (Taiwan)", L"886", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhTWLayouts }, +#endif +#ifdef LANGUAGE_ZH_CN + {L"00000804", L"936", L"936", L"10008", L"Chinese (PRC)", L"86", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhCNLayouts }, +#endif +#ifdef LANGUAGE_ZH_HK + {L"00000C04", L"950", L"950", L"10008", L"Chinese (Hong Kong S.A.R.)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhHKLayouts }, +#endif +#ifdef LANGUAGE_ZH_SG + {L"00001004", L"936", L"936", L"10008", L"Chinese (Singapore)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhSGLayouts }, +#endif +#ifdef LANGUAGE_ZH_MO + {L"00001404", L"950", L"950", L"10002", L"Chinese (Macau S.A.R.)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, zhMOLayouts }, +#endif +#ifdef LANGUAGE_HR_HR + {L"0000041A", L"1250", L"852", L"10029", L"Croatian", L"385", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, hrHRLayouts }, +#endif +#ifdef LANGUAGE_CS_CZ + {L"00000405", L"1250", L"852", L"10029", L"Czech", L"420", csCZPages, csCZErrorEntries, csCZStrings, LatinFonts, csCZLayouts }, +#endif +#ifdef LANGUAGE_DA_DK + {L"00000406", L"1252", L"850", L"10000", L"Danish", L"45", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, daDKLayouts }, +#endif +#ifdef LANGUAGE_DV_MV + {L"00000465", L"0", L"1", L"2", L"Divehi (Maldives)", L"960", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, dvMVLayouts }, +#endif +#ifdef LANGUAGE_NL_NL + {L"00000413", L"1252", L"850", L"10000", L"Dutch (Netherlands)", L"31", nlNLPages, nlNLErrorEntries, nlNLStrings, LatinFonts, nlNLLayouts }, +#endif +#ifdef LANGUAGE_NL_BE + {L"00000813", L"1252", L"850", L"10000", L"Dutch (Belgium)", L"32", nlNLPages, nlNLErrorEntries, nlNLStrings, LatinFonts, nlBELayouts }, +#endif +#ifdef LANGUAGE_EN_US + {L"00000409", L"1252", L"437", L"10000", L"English (United States)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enUSLayouts }, +#endif +#ifdef LANGUAGE_EN_GB + {L"00000809", L"1252", L"850", L"10000", L"English (United Kingdom)", L"44", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enGBLayouts }, +#endif +#ifdef LANGUAGE_EN_AU + {L"00000C09", L"1252", L"850", L"10000", L"English (Australia)", L"61", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enAULayouts }, +#endif +#ifdef LANGUAGE_EN_CA + {L"00001009", L"1252", L"850", L"10000", L"English (Canada)", L"107", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enCALayouts }, +#endif +#ifdef LANGUAGE_EN_NZ + {L"00001409", L"1252", L"850", L"10000", L"English (New Zealand)", L"64", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enNZLayouts }, +#endif +#ifdef LANGUAGE_EN_IE + {L"00001809", L"1252", L"850", L"10000", L"English (Ireland)", L"353", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enIELayouts }, +#endif +#ifdef LANGUAGE_EN_ZA + {L"00001C09", L"1252", L"437", L"10000", L"English (South Africa)", L"27", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enZALayouts }, +#endif +#ifdef LANGUAGE_EN_JM + {L"00002009", L"1252", L"850", L"10000", L"English (Jamaica)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enJMLayouts }, +#endif +#ifdef LANGUAGE_EN_CB + {L"00002409", L"1252", L"850", L"10000", L"English (Caribbean)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enCBLayouts }, +#endif +#ifdef LANGUAGE_EN_BZ + {L"00002809", L"1252", L"850", L"10000", L"English (Belize)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enBZLayouts }, +#endif +#ifdef LANGUAGE_EN_TT + {L"00002C09", L"1252", L"850", L"10000", L"English (Trinidad)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enTTLayouts }, +#endif +#ifdef LANGUAGE_EN_ZW + {L"00003009", L"1252", L"437", L"10000", L"English (Zimbabwe)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enZWLayouts }, +#endif +#ifdef LANGUAGE_EN_PH + {L"00003409", L"1252", L"437", L"10000", L"English (Philippines)", L"63", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, enPHLayouts }, +#endif +#ifdef LANGUAGE_EO_AA + {L"0000048F", L"1252", L"437", L"10000", L"Esperanto", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, eoAALayouts }, +#endif +#ifdef LANGUAGE_ET_EE + {L"00000425", L"1252", L"775", L"10029", L"Estonian", L"372", etEEPages, etEEErrorEntries, etEEStrings, LatinFonts, etEELayouts }, +#endif +#ifdef LANGUAGE_FO_FO + {L"00000438", L"1252", L"850", L"10079", L"Faeroese", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, foFOLayouts }, +#endif +#ifdef LANGUAGE_FA_IR + {L"00000429", L"1256", L"720", L"10004", L"Farsi", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, faIRLayouts }, +#endif +#ifdef LANGUAGE_FI_FI + {L"0000040B", L"1252", L"850", L"10000", L"Finnish", L"358", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, fiFILayouts }, +#endif +#ifdef LANGUAGE_FR_CA + {L"00000C0C", L"1252", L"850", L"10000", L"French (Canada)", L"107", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frCALayouts }, +#endif +#ifdef LANGUAGE_FR_FR + {L"0000040C", L"1252", L"850", L"10000", L"French (France)", L"33", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frFRLayouts }, +#endif +#ifdef LANGUAGE_FR_BE + {L"0000080C", L"1252", L"850", L"10000", L"French (Belgium)", L"32", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frBELayouts }, +#endif +#ifdef LANGUAGE_FR_CH + {L"0000100C", L"1252", L"850", L"10000", L"French (Switzerland)", L"41", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frCHLayouts }, +#endif +#ifdef LANGUAGE_FR_LU + {L"0000140C", L"1252", L"850", L"10000", L"French (Luxembourg)", L"352", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frLULayouts }, +#endif +#ifdef LANGUAGE_FR_MC + {L"0000180C", L"1252", L"850", L"10000", L"French (Monaco)", L"1", frFRPages, frFRErrorEntries, frFRStrings, LatinFonts, frMCLayouts }, +#endif +#ifdef LANGUAGE_GL_ES + {L"00000456", L"1252", L"850", L"10000", L"Galician (Spain)", L"34", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, glESLayouts }, +#endif +#ifdef LANGUAGE_KA_GE + {L"00000437", L"0", L"1", L"2", L"Georgian", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, kaGELayouts }, +#endif +#ifdef LANGUAGE_DE_DE + {L"00000407", L"1252", L"850", L"10000", L"German (Germany)", L"49", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deDELayouts }, +#endif +#ifdef LANGUAGE_DE_CH + {L"00000807", L"1252", L"850", L"10000", L"German (Switzerland)", L"41", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deCHLayouts }, +#endif +#ifdef LANGUAGE_DE_AT + {L"00000C07", L"1252", L"850", L"10000", L"German (Austria)", L"43", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deATLayouts }, +#endif +#ifdef LANGUAGE_DE_LU + {L"00001007", L"1252", L"850", L"10000", L"German (Luxembourg)", L"352", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deLULayouts }, +#endif +#ifdef LANGUAGE_DE_LI + {L"00001407", L"1252", L"850", L"10000", L"German (Liechtenstein)", L"423", deDEPages, deDEErrorEntries, deDEStrings, LatinFonts, deLILayouts }, +#endif +#ifdef LANGUAGE_EL_GR + {L"00000408", L"1253", L"737", L"10006", L"Greek", L"30", elGRPages, elGRErrorEntries, elGRStrings, GreekFonts, elGRLayouts }, +#endif +#ifdef LANGUAGE_GU_IN + {L"00000447", L"0", L"1", L"2", L"Gujarati (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, guINLayouts }, +#endif +#ifdef LANGUAGE_HE_IL + {L"0000040D", L"1255", L"862", L"10005", L"Hebrew", L"1", enUSPages, enUSErrorEntries, enUSStrings, HebrewFonts, heILLayouts }, +#endif +#ifdef LANGUAGE_HI_IN + {L"00000439", L"1252", L"437", L"10000", L"Hindi", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, hiINLayouts }, +#endif +#ifdef LANGUAGE_HU_HU + {L"0000040E", L"1250", L"852", L"10029", L"Hungarian", L"36", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, huHULayouts }, +#endif +#ifdef LANGUAGE_IS_IS + {L"0000040F", L"1252", L"850", L"10079", L"Icelandic", L"354", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, isISLayouts }, +#endif +#ifdef LANGUAGE_ID_ID + {L"00000421", L"1252", L"850", L"10079", L"Indonesian", L"62", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, idIDLayouts }, +#endif +#ifdef LANGUAGE_IT_IT + {L"00000410", L"1252", L"850", L"10000", L"Italian (Italy)", L"39", itITPages, itITErrorEntries, itITStrings, LatinFonts, itITLayouts }, +#endif +#ifdef LANGUAGE_IT_CH + {L"00000810", L"1252", L"850", L"10000", L"Italian (Switzerland)", L"41", itITPages, itITErrorEntries, itITStrings, LatinFonts, itCHLayouts }, +#endif +#ifdef LANGUAGE_JA_JP + {L"00000411", L"932", L"932", L"10001", L"Japanese", L"81", jaJPPages, jaJPErrorEntries, jaJPStrings, CJKFonts, jaJPLayouts }, +#endif +#ifdef LANGUAGE_KN_IN + {L"0000044B", L"1252", L"437", L"10079", L"Kannada (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, knINLayouts }, +#endif +#ifdef LANGUAGE_KK_KZ + {L"0000043F", L"1251", L"866", L"10007", L"Kazakh", L"705", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, kkKZLayouts }, +#endif +#ifdef LANGUAGE_KOK_IN + {L"00000457", L"0", L"437", L"2", L"Konkani", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, kokINLayouts}, +#endif +#ifdef LANGUAGE_KO_KR + {L"00000412", L"949", L"949", L"10003", L"Korean", L"1", enUSPages, enUSErrorEntries, enUSStrings, CJKFonts, koKRLayouts }, +#endif +#ifdef LANGUAGE_KY_KG + {L"00000440", L"1251", L"866", L"10007", L"Kyrgyz (Kyrgyzstan)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, kyKGLayouts }, +#endif +#ifdef LANGUAGE_LV_LV + {L"00000426", L"1257", L"775", L"10029", L"Latvian", L"371", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, lvLVLayouts }, +#endif +#ifdef LANGUAGE_LT_LT + {L"00000427", L"1257", L"775", L"10029", L"Lithuanian", L"370", ltLTPages, ltLTErrorEntries, ltLTStrings, LatinFonts, ltLTLayouts }, +#endif +#ifdef LANGUAGE_MK_MK + {L"0000042F", L"1251", L"866", L"10007", L"FYRO Macedonian", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, mkMKLayouts }, +#endif +#ifdef LANGUAGE_MS_BN + {L"0000083E", L"1252", L"850", L"10000", L"Malay (Brunei Darussalam)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, msBNLayouts }, +#endif +#ifdef LANGUAGE_MS_MY + {L"0000043E", L"1252", L"850", L"10000", L"Malay (Malaysia)", L"60", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, msMYLayouts }, +#endif +#ifdef LANGUAGE_MR_IN + {L"0000044E", L"0", L"1", L"2", L"Marathi", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, mrINLayouts }, +#endif +#ifdef LANGUAGE_MN_MN + {L"00000450", L"1251", L"866", L"10007", L"Mongolian (Mongolia)", L"976", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, mnMNLayouts }, +#endif +#ifdef LANGUAGE_NB_NO + {L"00000414", L"1252", L"850", L"10000", L"Norwegian (Bokmal)", L"47", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, nbNOLayouts }, +#endif +#ifdef LANGUAGE_NN_NO + {L"00000814", L"1252", L"850", L"10000", L"Norwegian (Nynorsk)", L"47", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, nnNOLayouts }, +#endif +#ifdef LANGUAGE_PL_PL + {L"00000415", L"1250", L"852", L"10029", L"Polish", L"48", plPLPages, plPLErrorEntries, plPLStrings, LatinFonts, plPLLayouts }, +#endif +#ifdef LANGUAGE_PT_PT + {L"00000816", L"1252", L"850", L"10000", L"Portuguese (Portugal)", L"351", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, ptPTLayouts }, +#endif +#ifdef LANGUAGE_PT_BR + {L"00000416", L"1252", L"850", L"10000", L"Portuguese (Brazil)", L"55", ptBRPages, ptBRErrorEntries, ptBRStrings, LatinFonts, ptBRLayouts }, +#endif +#ifdef LANGUAGE_PA_IN + {L"00000446", L"0", L"1", L"2", L"Punjabi (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, paINLayouts }, +#endif +#ifdef LANGUAGE_RO_RO + {L"00000418", L"1250", L"852", L"10029", L"Romanian", L"40", roROPages, roROErrorEntries, roROStrings, LatinFonts, roROLayouts }, +#endif +#ifdef LANGUAGE_RM_CH + {L"00000417", L"1252", L"850", L"10000", L"Romansh", L"41", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, rmCHLayouts }, +#endif +#ifdef LANGUAGE_RU_RU + {L"00000419", L"1251", L"866", L"10007", L"Russian", L"7", ruRUPages, ruRUErrorEntries, ruRUStrings, CyrillicFonts, ruRULayouts }, +#endif +#ifdef LANGUAGE_SA_IN + {L"0000044F", L"0", L"1", L"2", L"Sanskrit", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, saINLayouts }, +#endif +#ifdef LANGUAGE_SR_SP + {L"00000C1A", L"1251", L"855", L"10007", L"Serbian (Cyrillic)", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, srSPLayouts }, +#endif +#ifdef LANGUAGE_SR_SP + {L"0000081A", L"1250", L"852", L"10029", L"Serbian (Latin)", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, srSPLayouts }, +#endif +#ifdef LANGUAGE_SK_SK + {L"0000041B", L"1250", L"852", L"10029", L"Slovak", L"421", skSKPages, skSKErrorEntries, skSKStrings, LatinFonts, skSKLayouts }, +#endif +#ifdef LANGUAGE_SL_SI + {L"00000424", L"1250", L"852", L"10029", L"Slovenian", L"386", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, slSILayouts }, +#endif +#ifdef LANGUAGE_ES_ES + {L"0000040A", L"1252", L"850", L"10000", L"Spanish (Traditional Sort)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esESLayouts }, +#endif +#ifdef LANGUAGE_ES_MX + {L"0000080A", L"1252", L"850", L"10000", L"Spanish (Mexico)", L"52", esESPages, esESErrorEntries, esESStrings, LatinFonts, esMXLayouts }, +#endif +#ifdef LANGUAGE_ES_ES + {L"00000C0A", L"1252", L"850", L"10000", L"Spanish (International Sort)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esESLayouts }, +#endif +#ifdef LANGUAGE_ES_GT + {L"0000100A", L"1252", L"850", L"10000", L"Spanish (Guatemala)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esGTLayouts }, +#endif +#ifdef LANGUAGE_ES_CR + {L"0000140A", L"1252", L"850", L"10000", L"Spanish (Costa Rica)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esCRLayouts }, +#endif +#ifdef LANGUAGE_ES_PA + {L"0000180A", L"1252", L"850", L"10000", L"Spanish (Panama)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPALayouts }, +#endif +#ifdef LANGUAGE_ES_DO + {L"00001C0A", L"1252", L"850", L"10000", L"Spanish (Dominican Republic)", L"110", esESPages, esESErrorEntries, esESStrings, LatinFonts, esDOLayouts }, +#endif +#ifdef LANGUAGE_ES_VE + {L"0000200A", L"1252", L"850", L"10000", L"Spanish (Venezuela)", L"58", esESPages, esESErrorEntries, esESStrings, LatinFonts, esVELayouts }, +#endif +#ifdef LANGUAGE_ES_CO + {L"0000240A", L"1252", L"850", L"10000", L"Spanish (Colombia)", L"57", esESPages, esESErrorEntries, esESStrings, LatinFonts, esCOLayouts }, +#endif +#ifdef LANGUAGE_ES_PE + {L"0000280A", L"1252", L"850", L"10000", L"Spanish (Peru)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPELayouts }, +#endif +#ifdef LANGUAGE_ES_AR + {L"00002C0A", L"1252", L"850", L"10000", L"Spanish (Argentina)", L"54", esESPages, esESErrorEntries, esESStrings, LatinFonts, esARLayouts }, +#endif +#ifdef LANGUAGE_ES_EC + {L"0000300A", L"1252", L"850", L"10000", L"Spanish (Ecuador)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esECLayouts }, +#endif +#ifdef LANGUAGE_ES_CL + {L"0000340A", L"1252", L"850", L"10000", L"Spanish (Chile)", L"56", esESPages, esESErrorEntries, esESStrings, LatinFonts, esCLLayouts }, +#endif +#ifdef LANGUAGE_ES_UY + {L"0000380A", L"1252", L"850", L"10000", L"Spanish (Uruguay)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esUYLayouts }, +#endif +#ifdef LANGUAGE_ES_PY + {L"00003C0A", L"1252", L"850", L"10000", L"Spanish (Paraguay)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPYLayouts }, +#endif +#ifdef LANGUAGE_ES_BO + {L"0000400A", L"1252", L"850", L"10000", L"Spanish (Bolivia)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esBOLayouts }, +#endif +#ifdef LANGUAGE_ES_SV + {L"0000440A", L"1252", L"850", L"10000", L"Spanish (El Salvador)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esSVLayouts }, +#endif +#ifdef LANGUAGE_ES_HN + {L"0000480A", L"1252", L"850", L"10000", L"Spanish (Honduras)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esHNLayouts }, +#endif +#ifdef LANGUAGE_ES_NI + {L"00004C0A", L"1252", L"850", L"10000", L"Spanish (Nicaragua)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esNILayouts }, +#endif +#ifdef LANGUAGE_ES_PR + {L"0000500A", L"1252", L"850", L"10000", L"Spanish (Puerto Rico)", L"1", esESPages, esESErrorEntries, esESStrings, LatinFonts, esPRLayouts }, +#endif +#ifdef LANGUAGE_SW_KE + {L"00000441", L"1252", L"437", L"10000", L"Swahili", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, swKELayouts }, +#endif +#ifdef LANGUAGE_SV_SE + {L"0000041D", L"1252", L"850", L"10000", L"Swedish", L"46", svSEPages, svSEErrorEntries, svSEStrings, LatinFonts, svSELayouts }, +#endif +#ifdef LANGUAGE_SV_FI + {L"0000081D", L"1252", L"850", L"10000", L"Swedish (Finland)", L"358", svSEPages, svSEErrorEntries, svSEStrings, LatinFonts, svFILayouts }, +#endif +#ifdef LANGUAGE_SYR_SY + {L"0000045A", L"0", L"1", L"2", L"Syriac (Syria)", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, syrSYLayouts}, +#endif +#ifdef LANGUAGE_TA_IN + {L"00000449", L"0", L"1", L"2", L"Tamil", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, taINLayouts }, +#endif +#ifdef LANGUAGE_TT_TA + {L"00000444", L"1251", L"866", L"10007", L"Tatar", L"1", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, ttTALayouts }, +#endif +#ifdef LANGUAGE_TE_IN + {L"0000044A", L"0", L"1", L"2", L"Telugu (India)", L"91", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, teINLayouts }, +#endif +#ifdef LANGUAGE_TH_TH + {L"0000041E", L"874", L"874", L"10021", L"Thai", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, thTHLayouts }, +#endif +#ifdef LANGUAGE_TR_TR + {L"0000041F", L"1254", L"857", L"10081", L"Turkish", L"90", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, trTRLayouts }, +#endif +#ifdef LANGUAGE_UK_UA + {L"00000422", L"1251", L"866", L"10017", L"Ukrainian", L"380", ukUAPages, ukUAErrorEntries, ukUAStrings, CyrillicFonts, ukUALayouts }, +#endif +#ifdef LANGUAGE_UR_PK + {L"00000420", L"1256", L"720", L"10004", L"Urdu", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, urPKLayouts }, +#endif +#ifdef LANGUAGE_UZ_UZ + {L"00000443", L"1254", L"857", L"10029", L"Uzbek (Latin)", L"998", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, uzUZLayouts }, +#endif +#ifdef LANGUAGE_UZ_UZ + {L"00000843", L"1251", L"866", L"10007", L"Uzbek (Cyrillic)", L"998", enUSPages, enUSErrorEntries, enUSStrings, CyrillicFonts, uzUZLayouts }, +#endif +#ifdef LANGUAGE_VI_VN + {L"0000042A", L"1258", L"1258",L"10000", L"Vietnamese", L"1", enUSPages, enUSErrorEntries, enUSStrings, UnicodeFonts, viVNLayouts }, +#endif +#ifdef LANGUAGE_WA_BE + {L"00000490", L"1252", L"850", L"10000", L"Walon", L"32", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, waBELayouts }, +#endif +#ifdef LANGUAGE_ZU_ZU + {L"00000435", L"1252", L"850", L"10000", L"Zulu", L"1", enUSPages, enUSErrorEntries, enUSStrings, LatinFonts, zuZULayouts }, +#endif {NULL, NULL, NULL, NULL, NULL, NULL} }; diff --git a/reactos/base/setup/usetup/settings.c b/reactos/base/setup/usetup/settings.c index f4710189f4f..7dcb3291da1 100644 --- a/reactos/base/setup/usetup/settings.c +++ b/reactos/base/setup/usetup/settings.c @@ -912,7 +912,7 @@ CreateLanguageList(HINF InfFile, WCHAR * DefaultLanguage) INFCONTEXT Context; PWCHAR KeyName; PWCHAR KeyValue; - PWCHAR UserData; + PWCHAR UserData = NULL; ULONG uIndex = 0; /* Get default language id */ @@ -945,26 +945,38 @@ CreateLanguageList(HINF InfFile, WCHAR * DefaultLanguage) break; } - UserData = (WCHAR*) RtlAllocateHeap(ProcessHeap, - 0, - (wcslen(KeyName) + 1) * sizeof(WCHAR)); - if (UserData == NULL) + if (IsLanguageAvailable(KeyName)) { - /* FIXME: Handle error! */ + + UserData = (WCHAR*) RtlAllocateHeap(ProcessHeap, + 0, + (wcslen(KeyName) + 1) * sizeof(WCHAR)); + if (UserData == NULL) + { + /* FIXME: Handle error! */ + } + + wcscpy(UserData, KeyName); + + if (!_wcsicmp(KeyName, DefaultLanguage)) + DefaultLanguageIndex = uIndex; + + sprintf(Buffer, "%S", KeyValue); + AppendGenericListEntry(List, + Buffer, + UserData, + FALSE); + uIndex++; } - - wcscpy(UserData, KeyName); - - if (!_wcsicmp(KeyName, DefaultLanguage)) DefaultLanguageIndex = uIndex; - - sprintf(Buffer, "%S", KeyValue); - AppendGenericListEntry(List, - Buffer, - UserData, - FALSE); - uIndex++; } while (SetupFindNextLine(&Context, &Context)); + /* Only one language available, make it the default one */ + if(uIndex == 1 && UserData != NULL) + { + DefaultLanguageIndex = 0; + wcscpy(DefaultLanguage, UserData); + } + return List; } diff --git a/reactos/base/setup/vmwinst/rsrc.rc b/reactos/base/setup/vmwinst/rsrc.rc index cd633c695f0..4125ece3a98 100644 --- a/reactos/base/setup/vmwinst/rsrc.rc +++ b/reactos/base/setup/vmwinst/rsrc.rc @@ -14,24 +14,66 @@ IDB_HEADER BITMAP "resources/header.bmp" */ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_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_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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/setup/welcome/rsrc.rc b/reactos/base/setup/welcome/rsrc.rc index abe034c771d..ffedc74d915 100644 --- a/reactos/base/setup/welcome/rsrc.rc +++ b/reactos/base/setup/welcome/rsrc.rc @@ -41,28 +41,78 @@ END /* Language-specific resources */ // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/et-EE.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_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_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/shell/cmd/rsrc.rc b/reactos/base/shell/cmd/rsrc.rc index 52377ac1ba3..915ba1c1d2c 100644 --- a/reactos/base/shell/cmd/rsrc.rc +++ b/reactos/base/shell/cmd/rsrc.rc @@ -1,19 +1,53 @@ // UTF-8 #pragma code_page(65001) -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/ja-JP.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/shell/explorer-new/explorer.rc b/reactos/base/shell/explorer-new/explorer.rc index be068970ba5..afa9b6c7adb 100644 --- a/reactos/base/shell/explorer-new/explorer.rc +++ b/reactos/base/shell/explorer-new/explorer.rc @@ -23,22 +23,60 @@ IDB_TASKBARPROP_NOLOCK_GROUP_QL BITMAP DISCARDABLE res/nolock_group_ql.bmp // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/pt-BR.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_PT_BR + #include "lang/pt-BR.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/system/diskpart/diskpart.rc b/reactos/base/system/diskpart/diskpart.rc index 14e46a2e804..45171379284 100644 --- a/reactos/base/system/diskpart/diskpart.rc +++ b/reactos/base/system/diskpart/diskpart.rc @@ -6,5 +6,9 @@ // UTF-8 #pragma code_page(65001) -#include "lang/en-US.rc" -#include "lang/ro-RO.rc" +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif diff --git a/reactos/base/system/format/rsrc.rc b/reactos/base/system/format/rsrc.rc index b90ae6d3f36..734c31104e3 100644 --- a/reactos/base/system/format/rsrc.rc +++ b/reactos/base/system/format/rsrc.rc @@ -5,22 +5,60 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/system/regsvr32/rsrc.rc b/reactos/base/system/regsvr32/rsrc.rc index 2d784f6a10f..bd8c21e0938 100644 --- a/reactos/base/system/regsvr32/rsrc.rc +++ b/reactos/base/system/regsvr32/rsrc.rc @@ -5,22 +5,60 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_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_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/system/rundll32/rsrc.rc b/reactos/base/system/rundll32/rsrc.rc index 829696a0c62..cda79842319 100644 --- a/reactos/base/system/rundll32/rsrc.rc +++ b/reactos/base/system/rundll32/rsrc.rc @@ -5,24 +5,66 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/system/runonce/rsrc.rc b/reactos/base/system/runonce/rsrc.rc index 4c4043c6c7f..0120760e882 100644 --- a/reactos/base/system/runonce/rsrc.rc +++ b/reactos/base/system/runonce/rsrc.rc @@ -1,14 +1,38 @@ // UTF-8 #pragma code_page(65001) -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/ja-JP.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.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_JA_JP + #include "lang/ja-JP.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_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/system/subst/rsrc.rc b/reactos/base/system/subst/rsrc.rc index 5e4c4a41991..456197ca11c 100644 --- a/reactos/base/system/subst/rsrc.rc +++ b/reactos/base/system/subst/rsrc.rc @@ -5,12 +5,30 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/system/userinit/rsrc.rc b/reactos/base/system/userinit/rsrc.rc index f6e17bd9bbf..31fb70ceaf9 100644 --- a/reactos/base/system/userinit/rsrc.rc +++ b/reactos/base/system/userinit/rsrc.rc @@ -6,26 +6,72 @@ LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/base/system/winlogon/rsrc.rc b/reactos/base/system/winlogon/rsrc.rc index 168302102e6..e84089a5b65 100644 --- a/reactos/base/system/winlogon/rsrc.rc +++ b/reactos/base/system/winlogon/rsrc.rc @@ -7,24 +7,66 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/el-GR.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sv-SE.rc" -#include "lang/sk-SK.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/cmake/gcc.cmake b/reactos/cmake/gcc.cmake index 0d0fe2c12cf..e2d2b515ec2 100644 --- a/reactos/cmake/gcc.cmake +++ b/reactos/cmake/gcc.cmake @@ -154,7 +154,7 @@ SET(CMAKE_C_COMPILE_OBJECT "${CCACHE} -o -o -c ") set(CMAKE_ASM_COMPILE_OBJECT " -x assembler-with-cpp -o -I${REACTOS_SOURCE_DIR}/include/asm -I${REACTOS_BINARY_DIR}/include/asm -D__ASM__ -c ") -set(CMAKE_RC_COMPILE_OBJECT " -i -DRC_INVOKED -D__WIN32__=1 -D__FLAT__=1 -I${REACTOS_SOURCE_DIR}/include/psdk -I${REACTOS_BINARY_DIR}/include/psdk -I${REACTOS_SOURCE_DIR}/include/ -I${REACTOS_SOURCE_DIR}/include/reactos -I${REACTOS_BINARY_DIR}/include/reactos -I${REACTOS_SOURCE_DIR}/include/reactos/wine -I${REACTOS_SOURCE_DIR}/include/crt -I${REACTOS_SOURCE_DIR}/include/crt/mingw32 -O coff -o ") +set(CMAKE_RC_COMPILE_OBJECT " -i ${I18N_DEFS} -DRC_INVOKED -D__WIN32__=1 -D__FLAT__=1 -I${REACTOS_SOURCE_DIR}/include/psdk -I${REACTOS_BINARY_DIR}/include/psdk -I${REACTOS_SOURCE_DIR}/include/ -I${REACTOS_SOURCE_DIR}/include/reactos -I${REACTOS_BINARY_DIR}/include/reactos -I${REACTOS_SOURCE_DIR}/include/reactos/wine -I${REACTOS_SOURCE_DIR}/include/crt -I${REACTOS_SOURCE_DIR}/include/crt/mingw32 -O coff -o ") # Optional 3rd parameter: stdcall stack bytes function(set_entrypoint MODULE ENTRYPOINT) @@ -201,7 +201,7 @@ function(set_rc_compiler) set(rc_result_incs "-I${arg} ${rc_result_incs}") endforeach() - set(CMAKE_RC_COMPILE_OBJECT " ${rc_result_defs} -DRC_INVOKED -D__WIN32__=1 -D__FLAT__=1 -I${CMAKE_CURRENT_SOURCE_DIR} ${rc_result_incs} -i -O coff -o " PARENT_SCOPE) + set(CMAKE_RC_COMPILE_OBJECT " ${rc_result_defs} ${I18N_DEFS} -DRC_INVOKED -D__WIN32__=1 -D__FLAT__=1 -I${CMAKE_CURRENT_SOURCE_DIR} ${rc_result_incs} -i -O coff -o " PARENT_SCOPE) endfunction() function(add_delay_importlibs MODULE) diff --git a/reactos/cmake/localization.cmake b/reactos/cmake/localization.cmake new file mode 100644 index 00000000000..acefa5e4674 --- /dev/null +++ b/reactos/cmake/localization.cmake @@ -0,0 +1,283 @@ + +if(NOT DEFINED I18N_LANG) + set(I18N_LANG all) +endif() + +function(set_i18n_language I18N_LANG) + if(I18N_LANG STREQUAL "af-ZA") + set(I18N_DEFS -DLANGUAGE_AF_ZA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-AE") + set(I18N_DEFS -DLANGUAGE_AR_AE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-BH") + set(I18N_DEFS -DLANGUAGE_AR_BH PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-DZ") + set(I18N_DEFS -DLANGUAGE_AR_DZ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-EG") + set(I18N_DEFS -DLANGUAGE_AR_EG PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-IQ") + set(I18N_DEFS -DLANGUAGE_AR_IQ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-JO") + set(I18N_DEFS -DLANGUAGE_AR_JO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-KW") + set(I18N_DEFS -DLANGUAGE_AR_KW PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-LB") + set(I18N_DEFS -DLANGUAGE_AR_LB PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-LY") + set(I18N_DEFS -DLANGUAGE_AR_LY PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-MA") + set(I18N_DEFS -DLANGUAGE_AR_MA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-OM") + set(I18N_DEFS -DLANGUAGE_AR_OM PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-QA") + set(I18N_DEFS -DLANGUAGE_AR_QA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-SA") + set(I18N_DEFS -DLANGUAGE_AR_SA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-SY") + set(I18N_DEFS -DLANGUAGE_AR_SY PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-TN") + set(I18N_DEFS -DLANGUAGE_AR_TN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ar-YE") + set(I18N_DEFS -DLANGUAGE_AR_YE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "az-AZ") + set(I18N_DEFS -DLANGUAGE_AZ_AZ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "be-BY") + set(I18N_DEFS -DLANGUAGE_BE_BY PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "bg-BG") + set(I18N_DEFS -DLANGUAGE_BG_BG PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ca-ES") + set(I18N_DEFS -DLANGUAGE_CA_ES PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "cs-CZ") + set(I18N_DEFS -DLANGUAGE_CS_CZ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "da-DK") + set(I18N_DEFS -DLANGUAGE_DA_DK PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "de-AT") + set(I18N_DEFS -DLANGUAGE_DE_AT PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "de-CH") + set(I18N_DEFS -DLANGUAGE_DE_CH PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "de-DE") + set(I18N_DEFS -DLANGUAGE_DE_DE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "de-LI") + set(I18N_DEFS -DLANGUAGE_DE_LI PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "de-LU") + set(I18N_DEFS -DLANGUAGE_DE_LU PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "dv-MV") + set(I18N_DEFS -DLANGUAGE_DV_MV PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "el-GR") + set(I18N_DEFS -DLANGUAGE_EL_GR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-AU") + set(I18N_DEFS -DLANGUAGE_EN_AU PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-BZ") + set(I18N_DEFS -DLANGUAGE_EN_BZ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-CA") + set(I18N_DEFS -DLANGUAGE_EN_CA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-CB") + set(I18N_DEFS -DLANGUAGE_EN_CB PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-GB") + set(I18N_DEFS -DLANGUAGE_EN_GB PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-IE") + set(I18N_DEFS -DLANGUAGE_EN_IE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-JM") + set(I18N_DEFS -DLANGUAGE_EN_JM PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-NZ") + set(I18N_DEFS -DLANGUAGE_EN_NZ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-PH") + set(I18N_DEFS -DLANGUAGE_EN_PH PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-TT") + set(I18N_DEFS -DLANGUAGE_EN_TT PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-US") + set(I18N_DEFS -DLANGUAGE_EN_US PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-ZA") + set(I18N_DEFS -DLANGUAGE_EN_ZA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "en-ZW") + set(I18N_DEFS -DLANGUAGE_EN_ZW PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "eo-AA") + set(I18N_DEFS -DLANGUAGE_EO_AA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-AR") + set(I18N_DEFS -DLANGUAGE_ES_AR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-BO") + set(I18N_DEFS -DLANGUAGE_ES_BO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-CL") + set(I18N_DEFS -DLANGUAGE_ES_CL PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-CO") + set(I18N_DEFS -DLANGUAGE_ES_CO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-CR") + set(I18N_DEFS -DLANGUAGE_ES_CR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-DO") + set(I18N_DEFS -DLANGUAGE_ES_DO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-EC") + set(I18N_DEFS -DLANGUAGE_ES_EC PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-ES") + set(I18N_DEFS -DLANGUAGE_ES_ES PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-GT") + set(I18N_DEFS -DLANGUAGE_ES_GT PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-HN") + set(I18N_DEFS -DLANGUAGE_ES_HN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-MX") + set(I18N_DEFS -DLANGUAGE_ES_MX PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-NI") + set(I18N_DEFS -DLANGUAGE_ES_NI PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-PA") + set(I18N_DEFS -DLANGUAGE_ES_PA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-PE") + set(I18N_DEFS -DLANGUAGE_ES_PE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-PR") + set(I18N_DEFS -DLANGUAGE_ES_PR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-PY") + set(I18N_DEFS -DLANGUAGE_ES_PY PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-SV") + set(I18N_DEFS -DLANGUAGE_ES_SV PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-UY") + set(I18N_DEFS -DLANGUAGE_ES_UY PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "es-VE") + set(I18N_DEFS -DLANGUAGE_ES_VE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "et-EE") + set(I18N_DEFS -DLANGUAGE_ET_EE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "eu-ES") + set(I18N_DEFS -DLANGUAGE_EU_ES PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fa-IR") + set(I18N_DEFS -DLANGUAGE_FA_IR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fi-FI") + set(I18N_DEFS -DLANGUAGE_FI_FI PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fo-FO") + set(I18N_DEFS -DLANGUAGE_FO_FO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fr-BE") + set(I18N_DEFS -DLANGUAGE_FR_BE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fr-CA") + set(I18N_DEFS -DLANGUAGE_FR_CA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fr-CH") + set(I18N_DEFS -DLANGUAGE_FR_CH PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fr-FR") + set(I18N_DEFS -DLANGUAGE_FR_FR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fr-LU") + set(I18N_DEFS -DLANGUAGE_FR_LU PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "fr-MC") + set(I18N_DEFS -DLANGUAGE_FR_MC PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "gl-ES") + set(I18N_DEFS -DLANGUAGE_GL_ES PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "gu-IN") + set(I18N_DEFS -DLANGUAGE_GU_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "he-IL") + set(I18N_DEFS -DLANGUAGE_HE_IL PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "hi-IN") + set(I18N_DEFS -DLANGUAGE_HI_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "hr-HR") + set(I18N_DEFS -DLANGUAGE_HR_HR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "hu-HU") + set(I18N_DEFS -DLANGUAGE_HU_HU PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "hy-AM") + set(I18N_DEFS -DLANGUAGE_HY_AM PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "id-ID") + set(I18N_DEFS -DLANGUAGE_ID_ID PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "is-IS") + set(I18N_DEFS -DLANGUAGE_IS_IS PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "it-CH") + set(I18N_DEFS -DLANGUAGE_IT_CH PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "it-IT") + set(I18N_DEFS -DLANGUAGE_IT_IT PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ja-JP") + set(I18N_DEFS -DLANGUAGE_JA_JP PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ka-GE") + set(I18N_DEFS -DLANGUAGE_KA_GE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "kk-KZ") + set(I18N_DEFS -DLANGUAGE_KK_KZ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "kn-IN") + set(I18N_DEFS -DLANGUAGE_KN_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "kok-IN") + set(I18N_DEFS -DLANGUAGE_KOK_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ko-KR") + set(I18N_DEFS -DLANGUAGE_KO_KR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ky-KG") + set(I18N_DEFS -DLANGUAGE_KY_KG PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "lt-LT") + set(I18N_DEFS -DLANGUAGE_LT_LT PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "lv-LV") + set(I18N_DEFS -DLANGUAGE_LV_LV PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "mk-MK") + set(I18N_DEFS -DLANGUAGE_MK_MK PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "mn-MN") + set(I18N_DEFS -DLANGUAGE_MN_MN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "mr-IN") + set(I18N_DEFS -DLANGUAGE_MR_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ms-BN") + set(I18N_DEFS -DLANGUAGE_MS_BN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ms-MY") + set(I18N_DEFS -DLANGUAGE_MS_MY PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "my-MM") + set(I18N_DEFS -DLANGUAGE_MY_MM PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "nl-BE") + set(I18N_DEFS -DLANGUAGE_NL_BE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "nl-NL") + set(I18N_DEFS -DLANGUAGE_NL_NL PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "nn-NO") + set(I18N_DEFS -DLANGUAGE_NN_NO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "pa-IN") + set(I18N_DEFS -DLANGUAGE_PA_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "pl-PL") + set(I18N_DEFS -DLANGUAGE_PL_PL PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "pt-BR") + set(I18N_DEFS -DLANGUAGE_PT_BR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "pt-PT") + set(I18N_DEFS -DLANGUAGE_PT_PT PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "rm-CH") + set(I18N_DEFS -DLANGUAGE_RM_CH PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ro-RO") + set(I18N_DEFS -DLANGUAGE_RO_RO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ru-RU") + set(I18N_DEFS -DLANGUAGE_RU_RU PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sa-IN") + set(I18N_DEFS -DLANGUAGE_SA_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sk-SK") + set(I18N_DEFS -DLANGUAGE_SK_SK PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sl-SI") + set(I18N_DEFS -DLANGUAGE_SL_SI PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sq-AL") + set(I18N_DEFS -DLANGUAGE_SQ_AL PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sr-SP") + set(I18N_DEFS -DLANGUAGE_SR_SP PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sv-FI") + set(I18N_DEFS -DLANGUAGE_SV_FI PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sv-SE") + set(I18N_DEFS -DLANGUAGE_SV_SE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "sw-KE") + set(I18N_DEFS -DLANGUAGE_SW_KE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "syr-SY") + set(I18N_DEFS -DLANGUAGE_SYR_SY PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ta-IN") + set(I18N_DEFS -DLANGUAGE_TA_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "te-IN") + set(I18N_DEFS -DLANGUAGE_TE_IN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "th-TH") + set(I18N_DEFS -DLANGUAGE_TH_TH PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "tr-TR") + set(I18N_DEFS -DLANGUAGE_TR_TR PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "tt-TA") + set(I18N_DEFS -DLANGUAGE_TT_TA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "uk-UA") + set(I18N_DEFS -DLANGUAGE_UK_UA PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "ur-PK") + set(I18N_DEFS -DLANGUAGE_UR_PK PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "uz-UZ") + set(I18N_DEFS -DLANGUAGE_UZ_UZ PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "vi-VN") + set(I18N_DEFS -DLANGUAGE_VI_VN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "wa-BE") + set(I18N_DEFS -DLANGUAGE_WA_BE PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "zh-CN") + set(I18N_DEFS -DLANGUAGE_ZH_CN PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "zh-HK") + set(I18N_DEFS -DLANGUAGE_ZH_HK PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "zh-MO") + set(I18N_DEFS -DLANGUAGE_ZH_MO PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "zh-SG") + set(I18N_DEFS -DLANGUAGE_ZH_SG PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "zh-TW") + set(I18N_DEFS -DLANGUAGE_ZH_TW PARENT_SCOPE) + elseif(I18N_LANG STREQUAL "all") + set(I18N_DEFS "-DLANGUAGE_AF_ZA -DLANGUAGE_AR_AE -DLANGUAGE_AR_BH -DLANGUAGE_AR_DZ -DLANGUAGE_AR_EG -DLANGUAGE_AR_IQ -DLANGUAGE_AR_JO -DLANGUAGE_AR_KW -DLANGUAGE_AR_LB -DLANGUAGE_AR_LY -DLANGUAGE_AR_MA -DLANGUAGE_AR_OM -DLANGUAGE_AR_QA -DLANGUAGE_AR_SA -DLANGUAGE_AR_SY -DLANGUAGE_AR_TN -DLANGUAGE_AR_YE -DLANGUAGE_AZ_AZ -DLANGUAGE_BE_BY -DLANGUAGE_BG_BG -DLANGUAGE_CA_ES -DLANGUAGE_CS_CZ -DLANGUAGE_DA_DK -DLANGUAGE_DE_AT -DLANGUAGE_DE_CH -DLANGUAGE_DE_DE -DLANGUAGE_DE_LI -DLANGUAGE_DE_LU -DLANGUAGE_DV_MV -DLANGUAGE_EL_GR -DLANGUAGE_EN_AU -DLANGUAGE_EN_BZ -DLANGUAGE_EN_CA -DLANGUAGE_EN_CB -DLANGUAGE_EN_GB -DLANGUAGE_EN_IE -DLANGUAGE_EN_JM -DLANGUAGE_EN_NZ -DLANGUAGE_EN_PH -DLANGUAGE_EN_TT -DLANGUAGE_EN_US -DLANGUAGE_EN_ZA -DLANGUAGE_EN_ZW -DLANGUAGE_EO_AA -DLANGUAGE_ES_AR -DLANGUAGE_ES_BO -DLANGUAGE_ES_CL -DLANGUAGE_ES_CO -DLANGUAGE_ES_CR -DLANGUAGE_ES_DO -DLANGUAGE_ES_EC -DLANGUAGE_ES_ES -DLANGUAGE_ES_GT -DLANGUAGE_ES_HN -DLANGUAGE_ES_MX -DLANGUAGE_ES_NI -DLANGUAGE_ES_PA -DLANGUAGE_ES_PE -DLANGUAGE_ES_PR -DLANGUAGE_ES_PY -DLANGUAGE_ES_SV -DLANGUAGE_ES_UY -DLANGUAGE_ES_VE -DLANGUAGE_ET_EE -DLANGUAGE_EU_ES -DLANGUAGE_FA_IR -DLANGUAGE_FI_FI -DLANGUAGE_FO_FO -DLANGUAGE_FR_BE -DLANGUAGE_FR_CA -DLANGUAGE_FR_CH -DLANGUAGE_FR_FR -DLANGUAGE_FR_LU -DLANGUAGE_FR_MC -DLANGUAGE_GL_ES -DLANGUAGE_GU_IN -DLANGUAGE_HE_IL -DLANGUAGE_HI_IN -DLANGUAGE_HR_HR -DLANGUAGE_HU_HU -DLANGUAGE_HY_AM -DLANGUAGE_ID_ID -DLANGUAGE_IS_IS -DLANGUAGE_IT_CH -DLANGUAGE_IT_IT -DLANGUAGE_JA_JP -DLANGUAGE_KA_GE -DLANGUAGE_KK_KZ -DLANGUAGE_KN_IN -DLANGUAGE_KOK_IN -DLANGUAGE_KO_KR -DLANGUAGE_KY_KG -DLANGUAGE_LT_LT -DLANGUAGE_LV_LV -DLANGUAGE_MK_MK -DLANGUAGE_MN_MN -DLANGUAGE_MR_IN -DLANGUAGE_MS_BN -DLANGUAGE_MS_MY -DLANGUAGE_MY_MM -DLANGUAGE_NL_BE -DLANGUAGE_NL_NL -DLANGUAGE_NN_NO -DLANGUAGE_PA_IN -DLANGUAGE_PL_PL -DLANGUAGE_PT_BR -DLANGUAGE_PT_PT -DLANGUAGE_RM_CH -DLANGUAGE_RO_RO -DLANGUAGE_RU_RU -DLANGUAGE_SA_IN -DLANGUAGE_SK_SK -DLANGUAGE_SL_SI -DLANGUAGE_SQ_AL -DLANGUAGE_SR_SP -DLANGUAGE_SV_FI -DLANGUAGE_SV_SE -DLANGUAGE_SW_KE -DLANGUAGE_SYR_SY -DLANGUAGE_TA_IN -DLANGUAGE_TE_IN -DLANGUAGE_TH_TH -DLANGUAGE_TR_TR -DLANGUAGE_TT_TA -DLANGUAGE_UK_UA -DLANGUAGE_UR_PK -DLANGUAGE_UZ_UZ -DLANGUAGE_VI_VN -DLANGUAGE_WA_BE -DLANGUAGE_ZH_CN -DLANGUAGE_ZH_HK -DLANGUAGE_ZH_MO -DLANGUAGE_ZH_SG -DLANGUAGE_ZH_TW" PARENT_SCOPE) + else() + message(SEND_ERROR "${I18N_LANG} doesn't exist in our list. Please select a correct localization.") + endif() + + message("-- Selected localization: ${I18N_LANG}") + +endfunction() diff --git a/reactos/cmake/msvc.cmake b/reactos/cmake/msvc.cmake index e6a0b0d57ed..56f05e7f225 100644 --- a/reactos/cmake/msvc.cmake +++ b/reactos/cmake/msvc.cmake @@ -47,7 +47,7 @@ else() set(SPEC2DEF_ARCH i386) endif() -set(CMAKE_RC_COMPILE_OBJECT " /I${REACTOS_SOURCE_DIR}/include/psdk /I${REACTOS_BINARY_DIR}/include/psdk /I${REACTOS_SOURCE_DIR}/include /I${REACTOS_SOURCE_DIR}/include/reactos /I${REACTOS_BINARY_DIR}/include/reactos /I${REACTOS_SOURCE_DIR}/include/reactos/wine /I${REACTOS_SOURCE_DIR}/include/crt /I${REACTOS_SOURCE_DIR}/include/crt/mingw32 /fo ") +set(CMAKE_RC_COMPILE_OBJECT " ${I18N_DEFS} /I${REACTOS_SOURCE_DIR}/include/psdk /I${REACTOS_BINARY_DIR}/include/psdk /I${REACTOS_SOURCE_DIR}/include /I${REACTOS_SOURCE_DIR}/include/reactos /I${REACTOS_BINARY_DIR}/include/reactos /I${REACTOS_SOURCE_DIR}/include/reactos/wine /I${REACTOS_SOURCE_DIR}/include/crt /I${REACTOS_SOURCE_DIR}/include/crt/mingw32 /fo ") if(MSVC_IDE) # Asm source files are not supported in VS generators yet. As a result, isn't recognized. @@ -129,7 +129,7 @@ function(set_rc_compiler) set(rc_result_incs "/I${arg} ${rc_result_incs}") endforeach() - set(CMAKE_RC_COMPILE_OBJECT " ${rc_result_defs} /I${CMAKE_CURRENT_SOURCE_DIR} ${rc_result_incs} /fo " PARENT_SCOPE) + set(CMAKE_RC_COMPILE_OBJECT " ${rc_result_defs} ${I18N_DEFS} /I${CMAKE_CURRENT_SOURCE_DIR} ${rc_result_incs} /fo " PARENT_SCOPE) endfunction() #define those for having real libraries diff --git a/reactos/configure.cmd b/reactos/configure.cmd index 514047b805b..74b931a9604 100755 --- a/reactos/configure.cmd +++ b/reactos/configure.cmd @@ -146,7 +146,7 @@ if EXIST CMakeCache.txt ( ) if "%BUILD_ENVIRONMENT%" == "MinGW" ( - cmake -G %CMAKE_GENERATOR% -DENABLE_CCACHE=0 -DPCH=0 -DCMAKE_TOOLCHAIN_FILE=toolchain-gcc.cmake -DARCH=%ARCH% -DREACTOS_BUILD_TOOLS_DIR:DIR="%REACTOS_BUILD_TOOLS_DIR%" %REACTOS_SOURCE_DIR% + cmake -G %CMAKE_GENERATOR% -DENABLE_CCACHE=0 -DPCH=1 -DCMAKE_TOOLCHAIN_FILE=toolchain-gcc.cmake -DARCH=%ARCH% -DREACTOS_BUILD_TOOLS_DIR:DIR="%REACTOS_BUILD_TOOLS_DIR%" %REACTOS_SOURCE_DIR% ) else if "%BUILD_ENVIRONMENT%" == "WDK" ( cmake -G %CMAKE_GENERATOR% -DCMAKE_TOOLCHAIN_FILE=toolchain-msvc.cmake -DUSE_WDK_HEADERS=%USE_WDK_HEADERS% -DARCH=%ARCH% -DREACTOS_BUILD_TOOLS_DIR:DIR="%REACTOS_BUILD_TOOLS_DIR%" %REACTOS_SOURCE_DIR% ) else ( diff --git a/reactos/dll/cpl/access/rsrc.rc b/reactos/dll/cpl/access/rsrc.rc index 8d4e82b45de..2a0a78872fc 100644 --- a/reactos/dll/cpl/access/rsrc.rc +++ b/reactos/dll/cpl/access/rsrc.rc @@ -1,25 +1,63 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/ja-JP.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/appwiz/rsrc.rc b/reactos/dll/cpl/appwiz/rsrc.rc index 84cdb798a67..5fb55b8eaae 100644 --- a/reactos/dll/cpl/appwiz/rsrc.rc +++ b/reactos/dll/cpl/appwiz/rsrc.rc @@ -1,21 +1,51 @@ #include "resource.h" #include -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/console/rsrc.rc b/reactos/dll/cpl/console/rsrc.rc index 0d7e0407690..c8cc349c743 100644 --- a/reactos/dll/cpl/console/rsrc.rc +++ b/reactos/dll/cpl/console/rsrc.rc @@ -3,21 +3,51 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_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_ID_ID + #include "lang/id-ID.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/desk/rsrc.rc b/reactos/dll/cpl/desk/rsrc.rc index 91b57b7cf09..85d05a2cb5c 100644 --- a/reactos/dll/cpl/desk/rsrc.rc +++ b/reactos/dll/cpl/desk/rsrc.rc @@ -1,26 +1,66 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/zh-CN.rc" +#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_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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/hdwwiz/rsrc.rc b/reactos/dll/cpl/hdwwiz/rsrc.rc index 6c45d5f2c0d..adb0554adb3 100644 --- a/reactos/dll/cpl/hdwwiz/rsrc.rc +++ b/reactos/dll/cpl/hdwwiz/rsrc.rc @@ -1,27 +1,69 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pt-BR.rc" -#include "lang/sk-SK.rc" -#include "lang/th-TH.rc" -#include "lang/zh-CN.rc" +#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_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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PT_BR + #include "lang/pt-BR.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/inetcpl/inetcpl.rc b/reactos/dll/cpl/inetcpl/inetcpl.rc index a783001bd1c..e6ec1e29b10 100644 --- a/reactos/dll/cpl/inetcpl/inetcpl.rc +++ b/reactos/dll/cpl/inetcpl/inetcpl.rc @@ -21,22 +21,54 @@ #include "inetcpl.h" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/fr-FR.rc" -#include "lang/He.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/Sr.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_HE_IL + #include "lang/He.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_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.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_SR_SP + #include "lang/Sr.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif #define WINE_FILENAME_STR "inetcpl.cpl" #define WINE_FILEDESCRIPTION_STR "Internet Control Panel" diff --git a/reactos/dll/cpl/input/rsrc.rc b/reactos/dll/cpl/input/rsrc.rc index f6b1cebd3f4..3f532ff1c26 100644 --- a/reactos/dll/cpl/input/rsrc.rc +++ b/reactos/dll/cpl/input/rsrc.rc @@ -1,21 +1,51 @@ #include #include "resource.h" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/intl/rsrc.rc b/reactos/dll/cpl/intl/rsrc.rc index f8a17b20a64..a035c7a5265 100644 --- a/reactos/dll/cpl/intl/rsrc.rc +++ b/reactos/dll/cpl/intl/rsrc.rc @@ -1,20 +1,48 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/joy/rsrc.rc b/reactos/dll/cpl/joy/rsrc.rc index 84cdb798a67..5fb55b8eaae 100644 --- a/reactos/dll/cpl/joy/rsrc.rc +++ b/reactos/dll/cpl/joy/rsrc.rc @@ -1,21 +1,51 @@ #include "resource.h" #include -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/liccpa/rsrc.rc b/reactos/dll/cpl/liccpa/rsrc.rc index 73f12b43e05..efa96e1e4f8 100644 --- a/reactos/dll/cpl/liccpa/rsrc.rc +++ b/reactos/dll/cpl/liccpa/rsrc.rc @@ -1,23 +1,57 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/main/rsrc.rc b/reactos/dll/cpl/main/rsrc.rc index fe768729384..646af47cb72 100644 --- a/reactos/dll/cpl/main/rsrc.rc +++ b/reactos/dll/cpl/main/rsrc.rc @@ -1,25 +1,63 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/mmsys/rsrc.rc b/reactos/dll/cpl/mmsys/rsrc.rc index 28849c5890b..6757039547c 100644 --- a/reactos/dll/cpl/mmsys/rsrc.rc +++ b/reactos/dll/cpl/mmsys/rsrc.rc @@ -1,24 +1,60 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pt-BR.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_ID_ID + #include "lang/id-ID.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PT_BR + #include "lang/pt-BR.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/powercfg/rsrc.rc b/reactos/dll/cpl/powercfg/rsrc.rc index a98245f11e5..6e3300149ba 100644 --- a/reactos/dll/cpl/powercfg/rsrc.rc +++ b/reactos/dll/cpl/powercfg/rsrc.rc @@ -1,25 +1,63 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/th-TH.rc" -#include "lang/zh-CN.rc" +#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_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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/sysdm/rsrc.rc b/reactos/dll/cpl/sysdm/rsrc.rc index 0c1be0655b6..14a20b1239b 100644 --- a/reactos/dll/cpl/sysdm/rsrc.rc +++ b/reactos/dll/cpl/sysdm/rsrc.rc @@ -2,24 +2,66 @@ #include "resource.h" #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_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_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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif diff --git a/reactos/dll/cpl/telephon/rsrc.rc b/reactos/dll/cpl/telephon/rsrc.rc index fdf7c3ffeb3..baa8573cb5a 100644 --- a/reactos/dll/cpl/telephon/rsrc.rc +++ b/reactos/dll/cpl/telephon/rsrc.rc @@ -1,21 +1,51 @@ #include "resource.h" #include -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" +#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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/timedate/rsrc.rc b/reactos/dll/cpl/timedate/rsrc.rc index 3855b76d051..96f893cea7a 100644 --- a/reactos/dll/cpl/timedate/rsrc.rc +++ b/reactos/dll/cpl/timedate/rsrc.rc @@ -1,28 +1,72 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/usrmgr/rsrc.rc b/reactos/dll/cpl/usrmgr/rsrc.rc index d9287f6a689..1700368f6be 100644 --- a/reactos/dll/cpl/usrmgr/rsrc.rc +++ b/reactos/dll/cpl/usrmgr/rsrc.rc @@ -1,13 +1,27 @@ #include #include "resource.h" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.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 // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/cpl/wined3dcfg/rsrc.rc b/reactos/dll/cpl/wined3dcfg/rsrc.rc index f110487549d..a7fff52a557 100644 --- a/reactos/dll/cpl/wined3dcfg/rsrc.rc +++ b/reactos/dll/cpl/wined3dcfg/rsrc.rc @@ -3,4 +3,6 @@ // UTF-8 #pragma code_page(65001) -#include "lang/en-US.rc" +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif diff --git a/reactos/dll/shellext/deskadp/rsrc.rc b/reactos/dll/shellext/deskadp/rsrc.rc index 9c72593ff11..012e9fabd20 100644 --- a/reactos/dll/shellext/deskadp/rsrc.rc +++ b/reactos/dll/shellext/deskadp/rsrc.rc @@ -1,21 +1,51 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" +#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_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/shellext/deskmon/rsrc.rc b/reactos/dll/shellext/deskmon/rsrc.rc index 9c72593ff11..012e9fabd20 100644 --- a/reactos/dll/shellext/deskmon/rsrc.rc +++ b/reactos/dll/shellext/deskmon/rsrc.rc @@ -1,21 +1,51 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" +#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_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/shellext/fontext/rsrc.rc b/reactos/dll/shellext/fontext/rsrc.rc index 2cc4165ff8b..015043ca010 100644 --- a/reactos/dll/shellext/fontext/rsrc.rc +++ b/reactos/dll/shellext/fontext/rsrc.rc @@ -1,4 +1,6 @@ #include #include "resource.h" -#include "lang/en-US.rc" +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif diff --git a/reactos/dll/shellext/slayer/rsrc.rc b/reactos/dll/shellext/slayer/rsrc.rc index b045b8a0e53..f2e59430aab 100644 --- a/reactos/dll/shellext/slayer/rsrc.rc +++ b/reactos/dll/shellext/slayer/rsrc.rc @@ -1,24 +1,60 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/eu-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" +#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_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_EU_ES + #include "lang/eu-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/aclui/rsrc.rc b/reactos/dll/win32/aclui/rsrc.rc index 4fd9dca61ba..71bdda0c961 100644 --- a/reactos/dll/win32/aclui/rsrc.rc +++ b/reactos/dll/win32/aclui/rsrc.rc @@ -1,25 +1,63 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.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_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_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/avifil32/rsrc.rc b/reactos/dll/win32/avifil32/rsrc.rc index 09e3f8afa2f..2a8810b9697 100644 --- a/reactos/dll/win32/avifil32/rsrc.rc +++ b/reactos/dll/win32/avifil32/rsrc.rc @@ -35,28 +35,74 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL * Everything specific to any language goes * in one of the specific files. */ -#include "avifile_Cs.rc" -#include "avifile_En.rc" -#include "avifile_Es.rc" -#include "avifile_Hu.rc" -#include "avifile_It.rc" -#include "avifile_Nl.rc" -#include "avifile_No.rc" -#include "avifile_Pl.rc" -#include "avifile_Sv.rc" -#include "avifile_Tr.rc" +#ifdef LANGUAGE_CS_CZ + #include "avifile_Cs.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "avifile_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "avifile_Es.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "avifile_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "avifile_It.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "avifile_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "avifile_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "avifile_Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "avifile_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "avifile_Tr.rc" +#endif /* UTF-8 */ -#include "avifile_Da.rc" -#include "avifile_De.rc" -#include "avifile_Fr.rc" -#include "avifile_Ja.rc" -#include "avifile_Ko.rc" -#include "avifile_Lt.rc" -#include "avifile_Pt.rc" -#include "avifile_Ro.rc" -#include "avifile_Ru.rc" -#include "avifile_Si.rc" -#include "avifile_Uk.rc" -#include "avifile_Zh.rc" -#include "avifile_Bg.rc" +#ifdef LANGUAGE_DA_DK + #include "avifile_Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "avifile_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "avifile_Fr.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "avifile_Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "avifile_Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "avifile_Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "avifile_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "avifile_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "avifile_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "avifile_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "avifile_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "avifile_Zh.rc" +#endif +#ifdef LANGUAGE_BG_BG + #include "avifile_Bg.rc" +#endif diff --git a/reactos/dll/win32/browseui/browseui.rc b/reactos/dll/win32/browseui/browseui.rc index eaaff374567..6672a328dae 100644 --- a/reactos/dll/win32/browseui/browseui.rc +++ b/reactos/dll/win32/browseui/browseui.rc @@ -53,8 +53,12 @@ IDR_REGTREEOPTIONS REGISTRY "res/regtreeoptions.rgs" //#include "lang/de-DE.rc" //#include "lang/el-GR.rc" //#include "lang/en-GB.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif //#include "lang/fi-FI.rc" //#include "lang/fr-FR.rc" //#include "lang/hu-HU.rc" @@ -74,7 +78,15 @@ IDR_REGTREEOPTIONS REGISTRY "res/regtreeoptions.rgs" //#include "lang/zh-TW.rc" /* UTF-8 */ -#include "lang/bg-BG.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/comctl32/rsrc.rc b/reactos/dll/win32/comctl32/rsrc.rc index c7bacc397de..b279e7ca40f 100644 --- a/reactos/dll/win32/comctl32/rsrc.rc +++ b/reactos/dll/win32/comctl32/rsrc.rc @@ -96,32 +96,90 @@ IDI_TT_ERROR_SM ICON idi_tt_error_sm.ico /* UTF-8 */ #pragma code_page(65001) -#include "comctl_Bg.rc" -#include "comctl_Cs.rc" -#include "comctl_El.rc" -#include "comctl_En.rc" -#include "comctl_Eo.rc" -#include "comctl_Es.rc" -#include "comctl_Hu.rc" -#include "comctl_Nl.rc" -#include "comctl_No.rc" -#include "comctl_Pl.rc" -#include "comctl_Sk.rc" -#include "comctl_Sv.rc" -#include "comctl_Th.rc" -#include "comctl_Tr.rc" -#include "comctl_Da.rc" -#include "comctl_De.rc" -#include "comctl_Fr.rc" -#include "comctl_He.rc" -#include "comctl_It.rc" -#include "comctl_Ja.rc" -#include "comctl_Ko.rc" -#include "comctl_Lt.rc" -#include "comctl_Pt.rc" -#include "comctl_Ro.rc" -#include "comctl_Ru.rc" -#include "comctl_Si.rc" -#include "comctl_Sr.rc" -#include "comctl_Uk.rc" -#include "comctl_Zh.rc" +#ifdef LANGUAGE_BG_BG + #include "comctl_Bg.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "comctl_Cs.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "comctl_El.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "comctl_En.rc" +#endif +#ifdef LANGUAGE_EO_AA + #include "comctl_Eo.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "comctl_Es.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "comctl_Hu.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "comctl_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "comctl_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "comctl_Pl.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "comctl_Sk.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "comctl_Sv.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "comctl_Th.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "comctl_Tr.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "comctl_Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "comctl_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "comctl_Fr.rc" +#endif +#ifdef LANGUAGE_HE_IL + #include "comctl_He.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "comctl_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "comctl_Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "comctl_Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "comctl_Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "comctl_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "comctl_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "comctl_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "comctl_Si.rc" +#endif +#ifdef LANGUAGE_SR_SP + #include "comctl_Sr.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "comctl_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "comctl_Zh.rc" +#endif diff --git a/reactos/dll/win32/comdlg32/rsrc.rc b/reactos/dll/win32/comdlg32/rsrc.rc index bcba090a946..0795c40484b 100644 --- a/reactos/dll/win32/comdlg32/rsrc.rc +++ b/reactos/dll/win32/comdlg32/rsrc.rc @@ -44,35 +44,99 @@ #pragma code_page(65001) // UTF-8 -#include "cdlg_Bg.rc" -#include "cdlg_Ca.rc" -#include "cdlg_Cs.rc" -#include "cdlg_Da.rc" -#include "cdlg_De.rc" -#include "cdlg_El.rc" -#include "cdlg_En.rc" -#include "cdlg_Eo.rc" -#include "cdlg_Es.rc" -#include "cdlg_Fi.rc" -#include "cdlg_Fr.rc" -#include "cdlg_He.rc" -#include "cdlg_Hu.rc" -#include "cdlg_It.rc" -#include "cdlg_Ja.rc" -#include "cdlg_Ko.rc" -#include "cdlg_Lt.rc" -#include "cdlg_Nl.rc" -#include "cdlg_No.rc" -#include "cdlg_Pl.rc" -#include "cdlg_Pt.rc" -#include "cdlg_Ro.rc" -#include "cdlg_Ru.rc" -#include "cdlg_Si.rc" -#include "cdlg_Sk.rc" -#include "cdlg_Sr.rc" -#include "cdlg_Sv.rc" -#include "cdlg_Th.rc" -#include "cdlg_Tr.rc" -#include "cdlg_Tw.rc" -#include "cdlg_Uk.rc" -#include "cdlg_Zh.rc" +#ifdef LANGUAGE_BG_BG + #include "cdlg_Bg.rc" +#endif +#ifdef LANGUAGE_CA_ES + #include "cdlg_Ca.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "cdlg_Cs.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "cdlg_Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "cdlg_De.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "cdlg_El.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "cdlg_En.rc" +#endif +#ifdef LANGUAGE_EO_AA + #include "cdlg_Eo.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "cdlg_Es.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "cdlg_Fi.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "cdlg_Fr.rc" +#endif +#ifdef LANGUAGE_HE_IL + #include "cdlg_He.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "cdlg_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "cdlg_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "cdlg_Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "cdlg_Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "cdlg_Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "cdlg_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "cdlg_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "cdlg_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "cdlg_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "cdlg_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "cdlg_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "cdlg_Si.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "cdlg_Sk.rc" +#endif +#ifdef LANGUAGE_SR_SP + #include "cdlg_Sr.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "cdlg_Sv.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "cdlg_Th.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "cdlg_Tr.rc" +#endif +#ifdef LANGUAGE_ZH_TW + #include "cdlg_Tw.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "cdlg_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "cdlg_Zh.rc" +#endif diff --git a/reactos/dll/win32/credui/credui.rc b/reactos/dll/win32/credui/credui.rc index 880a973f434..407dacde8de 100644 --- a/reactos/dll/win32/credui/credui.rc +++ b/reactos/dll/win32/credui/credui.rc @@ -27,24 +27,62 @@ /* @makedep: banner.bmp */ IDB_BANNER BITMAP banner.bmp -#include "credui_En.rc" -#include "credui_Ko.rc" -#include "credui_Nl.rc" -#include "credui_No.rc" -#include "credui_Pl.rc" -#include "credui_Sv.rc" +#ifdef LANGUAGE_EN_US + #include "credui_En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "credui_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "credui_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "credui_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "credui_Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "credui_Sv.rc" +#endif /* UTF-8 */ -#include "credui_Da.rc" -#include "credui_De.rc" -#include "credui_Es.rc" -#include "credui_Fr.rc" -#include "credui_Hu.rc" -#include "credui_It.rc" -#include "credui_Lt.rc" -#include "credui_Pt.rc" -#include "credui_Ro.rc" -#include "credui_Ru.rc" -#include "credui_Si.rc" -#include "credui_Uk.rc" -#include "credui_Zh.rc" +#ifdef LANGUAGE_DA_DK + #include "credui_Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "credui_De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "credui_Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "credui_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "credui_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "credui_It.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "credui_Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "credui_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "credui_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "credui_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "credui_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "credui_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "credui_Zh.rc" +#endif diff --git a/reactos/dll/win32/crypt32/crypt32.rc b/reactos/dll/win32/crypt32/crypt32.rc index f85c37a2479..5cd7414301e 100644 --- a/reactos/dll/win32/crypt32/crypt32.rc +++ b/reactos/dll/win32/crypt32/crypt32.rc @@ -24,19 +24,47 @@ #include "version.rc" -#include "crypt32_En.rc" -#include "crypt32_Ko.rc" -#include "crypt32_Pl.rc" +#ifdef LANGUAGE_EN_US + #include "crypt32_En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "crypt32_Ko.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "crypt32_Pl.rc" +#endif /* UTF-8 */ -#include "crypt32_De.rc" -#include "crypt32_Fr.rc" -#include "crypt32_Hu.rc" -#include "crypt32_It.rc" -#include "crypt32_Lt.rc" -#include "crypt32_Nl.rc" -#include "crypt32_No.rc" -#include "crypt32_Pt.rc" -#include "crypt32_Ro.rc" -#include "crypt32_Sv.rc" -#include "crypt32_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "crypt32_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "crypt32_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "crypt32_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "crypt32_It.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "crypt32_Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "crypt32_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "crypt32_No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "crypt32_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "crypt32_Ro.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "crypt32_Sv.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "crypt32_Uk.rc" +#endif diff --git a/reactos/dll/win32/cryptdlg/cryptdlg.rc b/reactos/dll/win32/cryptdlg/cryptdlg.rc index 8331f337bc9..783d360b3fb 100644 --- a/reactos/dll/win32/cryptdlg/cryptdlg.rc +++ b/reactos/dll/win32/cryptdlg/cryptdlg.rc @@ -22,19 +22,47 @@ #include "winuser.h" #include "cryptres.h" -#include "cryptdlg_Da.rc" -#include "cryptdlg_En.rc" -#include "cryptdlg_Ko.rc" -#include "cryptdlg_Nl.rc" -#include "cryptdlg_Pl.rc" +#ifdef LANGUAGE_DA_DK + #include "cryptdlg_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "cryptdlg_En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "cryptdlg_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "cryptdlg_Nl.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "cryptdlg_Pl.rc" +#endif /* UTF-8 */ -#include "cryptdlg_De.rc" -#include "cryptdlg_Fr.rc" -#include "cryptdlg_Hu.rc" -#include "cryptdlg_It.rc" -#include "cryptdlg_Lt.rc" -#include "cryptdlg_No.rc" -#include "cryptdlg_Pt.rc" -#include "cryptdlg_Ro.rc" -#include "cryptdlg_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "cryptdlg_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "cryptdlg_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "cryptdlg_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "cryptdlg_It.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "cryptdlg_Lt.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "cryptdlg_No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "cryptdlg_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "cryptdlg_Ro.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "cryptdlg_Uk.rc" +#endif diff --git a/reactos/dll/win32/cryptui/cryptui.rc b/reactos/dll/win32/cryptui/cryptui.rc index eb5593c3ed9..164cb2da050 100644 --- a/reactos/dll/win32/cryptui/cryptui.rc +++ b/reactos/dll/win32/cryptui/cryptui.rc @@ -46,17 +46,41 @@ IDB_CERT_WATERMARK BITMAP certwatermark.bmp /* @makedep: certheader.bmp */ IDB_CERT_HEADER BITMAP certheader.bmp -#include "cryptui_En.rc" -#include "cryptui_Ko.rc" -#include "cryptui_Pl.rc" +#ifdef LANGUAGE_EN_US + #include "cryptui_En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "cryptui_Ko.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "cryptui_Pl.rc" +#endif /* UTF-8 */ -#include "cryptui_De.rc" -#include "cryptui_Fr.rc" -#include "cryptui_It.rc" -#include "cryptui_Lt.rc" -#include "cryptui_Nl.rc" -#include "cryptui_No.rc" -#include "cryptui_Pt.rc" -#include "cryptui_Ro.rc" -#include "cryptui_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "cryptui_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "cryptui_Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "cryptui_It.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "cryptui_Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "cryptui_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "cryptui_No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "cryptui_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "cryptui_Ro.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "cryptui_Uk.rc" +#endif diff --git a/reactos/dll/win32/devmgr/devmgr.rc b/reactos/dll/win32/devmgr/devmgr.rc index b61cef7954f..b78942fa9c5 100644 --- a/reactos/dll/win32/devmgr/devmgr.rc +++ b/reactos/dll/win32/devmgr/devmgr.rc @@ -11,23 +11,57 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDI_DEVMGR ICON "resources/devmgr.ico" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/pt-BR.rc" -#include "lang/sk-SK.rc" +#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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_PT_BR + #include "lang/pt-BR.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/hhctrl.ocx/hhctrl.rc b/reactos/dll/win32/hhctrl.ocx/hhctrl.rc index 865aac0bd6b..40bfe6472e9 100644 --- a/reactos/dll/win32/hhctrl.ocx/hhctrl.rc +++ b/reactos/dll/win32/hhctrl.ocx/hhctrl.rc @@ -29,30 +29,78 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL #include "version.rc" -#include "Cs.rc" -#include "Da.rc" -#include "El.rc" -#include "En.rc" -#include "Fi.rc" -#include "Hu.rc" -#include "Ko.rc" -#include "Nl.rc" -#include "No.rc" -#include "Pl.rc" -#include "Sv.rc" -#include "Tr.rc" +#ifdef LANGUAGE_CS_CZ + #include "Cs.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "El.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "Fi.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "Hu.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "Tr.rc" +#endif /* UTF-8 */ -#include "De.rc" -#include "Es.rc" -#include "Fr.rc" -#include "It.rc" -#include "Ja.rc" -#include "Lt.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Uk.rc" -#include "Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "Zh.rc" +#endif diff --git a/reactos/dll/win32/iccvid/rsrc.rc b/reactos/dll/win32/iccvid/rsrc.rc index 8800248ce29..972fea2f7d6 100644 --- a/reactos/dll/win32/iccvid/rsrc.rc +++ b/reactos/dll/win32/iccvid/rsrc.rc @@ -19,25 +19,65 @@ #include "windef.h" #include "iccvid_private.h" -#include "iccvid_Da.rc" -#include "iccvid_En.rc" -#include "iccvid_Hu.rc" -#include "iccvid_Ko.rc" -#include "iccvid_Nl.rc" -#include "iccvid_No.rc" -#include "iccvid_Pl.rc" -#include "iccvid_Pt.rc" -#include "iccvid_Sv.rc" -#include "iccvid_Tr.rc" +#ifdef LANGUAGE_DA_DK + #include "iccvid_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "iccvid_En.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "iccvid_Hu.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "iccvid_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "iccvid_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "iccvid_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "iccvid_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "iccvid_Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "iccvid_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "iccvid_Tr.rc" +#endif /* UTF-8 */ -#include "iccvid_De.rc" -#include "iccvid_Es.rc" -#include "iccvid_Fr.rc" -#include "iccvid_It.rc" -#include "iccvid_Ja.rc" -#include "iccvid_Lt.rc" -#include "iccvid_Ro.rc" -#include "iccvid_Ru.rc" -#include "iccvid_Si.rc" -#include "iccvid_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "iccvid_De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "iccvid_Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "iccvid_Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "iccvid_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "iccvid_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "iccvid_Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "iccvid_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "iccvid_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "iccvid_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "iccvid_Uk.rc" +#endif diff --git a/reactos/dll/win32/jscript/rsrc.rc b/reactos/dll/win32/jscript/rsrc.rc index 0e3b2e7002a..95499bcd734 100644 --- a/reactos/dll/win32/jscript/rsrc.rc +++ b/reactos/dll/win32/jscript/rsrc.rc @@ -22,24 +22,60 @@ REGINST REGINST jscript.inf /* @makedep: jsglobal.tlb */ 1 TYPELIB jsglobal.tlb -#include "jscript_En.rc" -#include "jscript_Pl.rc" +#ifdef LANGUAGE_EN_US + #include "jscript_En.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "jscript_Pl.rc" +#endif /* UTF-8 */ -#include "jscript_Da.rc" -#include "jscript_De.rc" -#include "jscript_Es.rc" -#include "jscript_Fr.rc" -#include "jscript_Hu.rc" -#include "jscript_It.rc" -#include "jscript_Ja.rc" -#include "jscript_Ko.rc" -#include "jscript_Lt.rc" -#include "jscript_Nl.rc" -#include "jscript_No.rc" -#include "jscript_Pt.rc" -#include "jscript_Ro.rc" -#include "jscript_Ru.rc" -#include "jscript_Si.rc" -#include "jscript_Uk.rc" +#ifdef LANGUAGE_DA_DK + #include "jscript_Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "jscript_De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "jscript_Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "jscript_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "jscript_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "jscript_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "jscript_Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "jscript_Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "jscript_Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "jscript_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "jscript_No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "jscript_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "jscript_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "jscript_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "jscript_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "jscript_Uk.rc" +#endif diff --git a/reactos/dll/win32/kernel32/kernel32.rc b/reactos/dll/win32/kernel32/kernel32.rc index 62dddd7b94b..8f38715c68a 100644 --- a/reactos/dll/win32/kernel32/kernel32.rc +++ b/reactos/dll/win32/kernel32/kernel32.rc @@ -9,12 +9,24 @@ #include "winnls/locale_rc.rc" -#include "winnls/lang/en-US.rc" -#include "winnls/lang/de-DE.rc" -#include "winnls/lang/es-ES.rc" +#ifdef LANGUAGE_EN_US + #include "winnls/lang/en-US.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "winnls/lang/de-DE.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "winnls/lang/es-ES.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "winnls/lang/ro-RO.rc" -#include "winnls/lang/ru-RU.rc" -#include "winnls/lang/uk-UA.rc" +#ifdef LANGUAGE_RO_RO + #include "winnls/lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "winnls/lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "winnls/lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/localspl/localspl.rc b/reactos/dll/win32/localspl/localspl.rc index 3b996f6b9cd..bf9a17dfe89 100644 --- a/reactos/dll/win32/localspl/localspl.rc +++ b/reactos/dll/win32/localspl/localspl.rc @@ -36,25 +36,65 @@ #include "wine/wine_common_ver.rc" -#include "spl_Da.rc" -#include "spl_En.rc" -#include "spl_Fr.rc" -#include "spl_Ko.rc" -#include "spl_Nl.rc" -#include "spl_No.rc" -#include "spl_Pl.rc" -#include "spl_Pt.rc" -#include "spl_Sv.rc" +#ifdef LANGUAGE_DA_DK + #include "spl_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "spl_En.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "spl_Fr.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "spl_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "spl_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "spl_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "spl_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "spl_Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "spl_Sv.rc" +#endif /* UTF-8 */ -#include "spl_De.rc" -#include "spl_Es.rc" -#include "spl_Hu.rc" -#include "spl_It.rc" -#include "spl_Ja.rc" -#include "spl_Lt.rc" -#include "spl_Ro.rc" -#include "spl_Ru.rc" -#include "spl_Si.rc" -#include "spl_Uk.rc" -#include "spl_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "spl_De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "spl_Es.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "spl_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "spl_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "spl_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "spl_Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "spl_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "spl_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "spl_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "spl_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "spl_Zh.rc" +#endif diff --git a/reactos/dll/win32/localui/localui.rc b/reactos/dll/win32/localui/localui.rc index 913423e7982..25b75a977ff 100644 --- a/reactos/dll/win32/localui/localui.rc +++ b/reactos/dll/win32/localui/localui.rc @@ -37,25 +37,65 @@ #include "wine/wine_common_ver.rc" -#include "ui_Da.rc" -#include "ui_En.rc" -#include "ui_Ko.rc" -#include "ui_Nl.rc" -#include "ui_No.rc" -#include "ui_Pl.rc" -#include "ui_Pt.rc" -#include "ui_Sv.rc" +#ifdef LANGUAGE_DA_DK + #include "ui_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "ui_En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "ui_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "ui_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "ui_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "ui_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "ui_Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "ui_Sv.rc" +#endif /* UTF-8 */ -#include "ui_De.rc" -#include "ui_Es.rc" -#include "ui_Fr.rc" -#include "ui_Hu.rc" -#include "ui_It.rc" -#include "ui_Ja.rc" -#include "ui_Lt.rc" -#include "ui_Ro.rc" -#include "ui_Ru.rc" -#include "ui_Si.rc" -#include "ui_Uk.rc" -#include "ui_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "ui_De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "ui_Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "ui_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "ui_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "ui_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "ui_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "ui_Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "ui_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "ui_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "ui_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "ui_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "ui_Zh.rc" +#endif diff --git a/reactos/dll/win32/modemui/modemui.rc b/reactos/dll/win32/modemui/modemui.rc index 7128220084c..e049d0e5d80 100644 --- a/reactos/dll/win32/modemui/modemui.rc +++ b/reactos/dll/win32/modemui/modemui.rc @@ -13,14 +13,30 @@ IDI_701 ICON "res/701.ico" IDI_702 ICON "res/702.ico" IDI_703 ICON "res/703.ico" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/no-NO.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/mpr/mpr.rc b/reactos/dll/win32/mpr/mpr.rc index 321ddbf7fde..9d825457584 100644 --- a/reactos/dll/win32/mpr/mpr.rc +++ b/reactos/dll/win32/mpr/mpr.rc @@ -24,29 +24,75 @@ #include "version.rc" -#include "mpr_Bg.rc" -#include "mpr_Cs.rc" -#include "mpr_Da.rc" -#include "mpr_En.rc" -#include "mpr_Es.rc" -#include "mpr_Hu.rc" -#include "mpr_It.rc" -#include "mpr_Ko.rc" -#include "mpr_Nl.rc" -#include "mpr_No.rc" -#include "mpr_Pl.rc" -#include "mpr_Sv.rc" -#include "mpr_Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "mpr_Bg.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "mpr_Cs.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "mpr_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "mpr_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "mpr_Es.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "mpr_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "mpr_It.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "mpr_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "mpr_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "mpr_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "mpr_Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "mpr_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "mpr_Tr.rc" +#endif /* UTF-8 */ -#include "mpr_De.rc" -#include "mpr_Fr.rc" -#include "mpr_Ja.rc" -#include "mpr_Lt.rc" -#include "mpr_Pt.rc" -#include "mpr_Ro.rc" -#include "mpr_Ru.rc" -#include "mpr_Si.rc" -#include "mpr_Uk.rc" -#include "mpr_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "mpr_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "mpr_Fr.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "mpr_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "mpr_Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "mpr_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "mpr_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "mpr_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "mpr_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "mpr_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "mpr_Zh.rc" +#endif diff --git a/reactos/dll/win32/msacm32/msacm.rc b/reactos/dll/win32/msacm32/msacm.rc index 6f91f9e34cd..94cb0e3de53 100644 --- a/reactos/dll/win32/msacm32/msacm.rc +++ b/reactos/dll/win32/msacm32/msacm.rc @@ -23,29 +23,77 @@ #include "winuser.h" #include "wineacm.h" -#include "msacm_Bg.rc" -#include "msacm_Cs.rc" -#include "msacm_Da.rc" -#include "msacm_El.rc" -#include "msacm_En.rc" -#include "msacm_Es.rc" -#include "msacm_Hu.rc" -#include "msacm_It.rc" -#include "msacm_Ko.rc" -#include "msacm_Nl.rc" -#include "msacm_No.rc" -#include "msacm_Pl.rc" -#include "msacm_Sv.rc" -#include "msacm_Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "msacm_Bg.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "msacm_Cs.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "msacm_Da.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "msacm_El.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "msacm_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "msacm_Es.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "msacm_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "msacm_It.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "msacm_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "msacm_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "msacm_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "msacm_Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "msacm_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "msacm_Tr.rc" +#endif /* UTF-8 */ -#include "msacm_De.rc" -#include "msacm_Fr.rc" -#include "msacm_Ja.rc" -#include "msacm_Lt.rc" -#include "msacm_Pt.rc" -#include "msacm_Ro.rc" -#include "msacm_Ru.rc" -#include "msacm_Si.rc" -#include "msacm_Uk.rc" -#include "msacm_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "msacm_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "msacm_Fr.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "msacm_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "msacm_Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "msacm_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "msacm_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "msacm_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "msacm_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "msacm_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "msacm_Zh.rc" +#endif diff --git a/reactos/dll/win32/mshtml/rsrc.rc b/reactos/dll/win32/mshtml/rsrc.rc index 8a635ebbd23..fb687e057da 100644 --- a/reactos/dll/win32/mshtml/rsrc.rc +++ b/reactos/dll/win32/mshtml/rsrc.rc @@ -33,31 +33,77 @@ #include "wine/wine_common_ver.rc" -#include "Bg.rc" -#include "En.rc" -#include "Es.rc" -#include "Fi.rc" -#include "Ko.rc" -#include "Nl.rc" -#include "Pl.rc" -#include "Sv.rc" -#include "Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "Bg.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "Fi.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "Tr.rc" +#endif /* UTF-8 */ -#include "Da.rc" -#include "De.rc" -#include "Fr.rc" -#include "Hu.rc" -#include "It.rc" -#include "Ja.rc" -#include "Lt.rc" -#include "No.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Uk.rc" -#include "Zh.rc" +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "Zh.rc" +#endif LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL diff --git a/reactos/dll/win32/msports/msports.rc b/reactos/dll/win32/msports/msports.rc index bd87866b2ce..f89d39f5c75 100644 --- a/reactos/dll/win32/msports/msports.rc +++ b/reactos/dll/win32/msports/msports.rc @@ -7,12 +7,24 @@ #define REACTOS_STR_ORIGINAL_FILENAME "msports.dll\0" #include -#include "lang/de-DE.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/en-US.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/msrle32/rsrc.rc b/reactos/dll/win32/msrle32/rsrc.rc index fc404a110c0..366efafae0d 100644 --- a/reactos/dll/win32/msrle32/rsrc.rc +++ b/reactos/dll/win32/msrle32/rsrc.rc @@ -31,27 +31,71 @@ * get localized bitmaps for example. */ -#include "msrle_Bg.rc" -#include "msrle_Cs.rc" -#include "msrle_Da.rc" -#include "msrle_Es.rc" -#include "msrle_Hu.rc" -#include "msrle_It.rc" -#include "msrle_Ko.rc" -#include "msrle_Nl.rc" -#include "msrle_No.rc" -#include "msrle_Pl.rc" -#include "msrle_Pt.rc" -#include "msrle_Sv.rc" -#include "msrle_Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "msrle_Bg.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "msrle_Cs.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "msrle_Da.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "msrle_Es.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "msrle_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "msrle_It.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "msrle_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "msrle_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "msrle_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "msrle_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "msrle_Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "msrle_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "msrle_Tr.rc" +#endif /* UTF-8 */ -#include "msrle_De.rc" -#include "msrle_En.rc" -#include "msrle_Fr.rc" -#include "msrle_Ja.rc" -#include "msrle_Lt.rc" -#include "msrle_Ro.rc" -#include "msrle_Ru.rc" -#include "msrle_Si.rc" -#include "msrle_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "msrle_De.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "msrle_En.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "msrle_Fr.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "msrle_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "msrle_Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "msrle_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "msrle_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "msrle_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "msrle_Uk.rc" +#endif diff --git a/reactos/dll/win32/msvfw32/rsrc.rc b/reactos/dll/win32/msvfw32/rsrc.rc index 0b7b26777ae..8840e2fec30 100644 --- a/reactos/dll/win32/msvfw32/rsrc.rc +++ b/reactos/dll/win32/msvfw32/rsrc.rc @@ -20,25 +20,65 @@ #include "winuser.h" #include "msvideo_private.h" -#include "msvfw32_Da.rc" -#include "msvfw32_En.rc" -#include "msvfw32_Hu.rc" -#include "msvfw32_Ko.rc" -#include "msvfw32_Nl.rc" -#include "msvfw32_No.rc" -#include "msvfw32_Pl.rc" -#include "msvfw32_Pt.rc" -#include "msvfw32_Sv.rc" -#include "msvfw32_Tr.rc" +#ifdef LANGUAGE_DA_DK + #include "msvfw32_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "msvfw32_En.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "msvfw32_Hu.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "msvfw32_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "msvfw32_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "msvfw32_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "msvfw32_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "msvfw32_Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "msvfw32_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "msvfw32_Tr.rc" +#endif /* UTF-8 */ -#include "msvfw32_De.rc" -#include "msvfw32_Es.rc" -#include "msvfw32_Fr.rc" -#include "msvfw32_It.rc" -#include "msvfw32_Lt.rc" -#include "msvfw32_Ro.rc" -#include "msvfw32_Ru.rc" -#include "msvfw32_Si.rc" -#include "msvfw32_Uk.rc" -#include "msvfw32_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "msvfw32_De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "msvfw32_Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "msvfw32_Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "msvfw32_It.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "msvfw32_Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "msvfw32_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "msvfw32_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "msvfw32_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "msvfw32_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "msvfw32_Zh.rc" +#endif diff --git a/reactos/dll/win32/msvidc32/rsrc.rc b/reactos/dll/win32/msvidc32/rsrc.rc index 462479530b0..4a417e9e13a 100644 --- a/reactos/dll/win32/msvidc32/rsrc.rc +++ b/reactos/dll/win32/msvidc32/rsrc.rc @@ -19,25 +19,65 @@ #include "windef.h" #include "msvidc32_private.h" -#include "msvidc32_Da.rc" -#include "msvidc32_En.rc" -#include "msvidc32_Hu.rc" -#include "msvidc32_Ko.rc" -#include "msvidc32_Nl.rc" -#include "msvidc32_No.rc" -#include "msvidc32_Pl.rc" -#include "msvidc32_Pt.rc" -#include "msvidc32_Sv.rc" -#include "msvidc32_Tr.rc" +#ifdef LANGUAGE_DA_DK + #include "msvidc32_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "msvidc32_En.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "msvidc32_Hu.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "msvidc32_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "msvidc32_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "msvidc32_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "msvidc32_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "msvidc32_Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "msvidc32_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "msvidc32_Tr.rc" +#endif /* UTF-8 */ -#include "msvidc32_De.rc" -#include "msvidc32_Es.rc" -#include "msvidc32_Fr.rc" -#include "msvidc32_It.rc" -#include "msvidc32_Ja.rc" -#include "msvidc32_Lt.rc" -#include "msvidc32_Ro.rc" -#include "msvidc32_Ru.rc" -#include "msvidc32_Si.rc" -#include "msvidc32_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "msvidc32_De.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "msvidc32_Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "msvidc32_Fr.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "msvidc32_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "msvidc32_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "msvidc32_Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "msvidc32_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "msvidc32_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "msvidc32_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "msvidc32_Uk.rc" +#endif diff --git a/reactos/dll/win32/netcfgx/netcfgx.rc b/reactos/dll/win32/netcfgx/netcfgx.rc index c340d90f0c3..aea0770ce2f 100644 --- a/reactos/dll/win32/netcfgx/netcfgx.rc +++ b/reactos/dll/win32/netcfgx/netcfgx.rc @@ -14,27 +14,69 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL #include -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/netid/rsrc.rc b/reactos/dll/win32/netid/rsrc.rc index 182c9eaa506..d7b941f2295 100644 --- a/reactos/dll/win32/netid/rsrc.rc +++ b/reactos/dll/win32/netid/rsrc.rc @@ -1,23 +1,57 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/ja-JP.rc" -#include "lang/it-IT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" +#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_ID_ID + #include "lang/id-ID.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/netshell/netshell.rc b/reactos/dll/win32/netshell/netshell.rc index e795d364d54..954506d724d 100644 --- a/reactos/dll/win32/netshell/netshell.rc +++ b/reactos/dll/win32/netshell/netshell.rc @@ -22,27 +22,69 @@ IDI_NET_REC ICON "res/netrec.ico" IDI_NET_TRANS ICON "res/nettrans.ico" IDI_NET_TRANSREC ICON "res/nettrrec.ico" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/zh-CN.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_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_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/newdev/rsrc.rc b/reactos/dll/win32/newdev/rsrc.rc index 1e2449c77c4..d0c9e7cbbb0 100644 --- a/reactos/dll/win32/newdev/rsrc.rc +++ b/reactos/dll/win32/newdev/rsrc.rc @@ -6,25 +6,63 @@ IDB_HEADER BITMAP "resources/header.bmp" LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/sk-SK.rc" -#include "lang/th-TH.rc" +#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_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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/oleacc/oleacc.rc b/reactos/dll/win32/oleacc/oleacc.rc index cdbf562db03..a14a4a20d12 100644 --- a/reactos/dll/win32/oleacc/oleacc.rc +++ b/reactos/dll/win32/oleacc/oleacc.rc @@ -21,19 +21,47 @@ #include "windef.h" #include "oleacc.h" -#include "oleacc_En.rc" -#include "oleacc_Ko.rc" -#include "oleacc_Nl.rc" -#include "oleacc_Pl.rc" +#ifdef LANGUAGE_EN_US + #include "oleacc_En.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "oleacc_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "oleacc_Nl.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "oleacc_Pl.rc" +#endif /* UTF-8 */ -#include "oleacc_De.rc" -#include "oleacc_Fr.rc" -#include "oleacc_Hu.rc" -#include "oleacc_It.rc" -#include "oleacc_Lt.rc" -#include "oleacc_No.rc" -#include "oleacc_Pt.rc" -#include "oleacc_Ro.rc" -#include "oleacc_Si.rc" -#include "oleacc_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "oleacc_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "oleacc_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "oleacc_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "oleacc_It.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "oleacc_Lt.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "oleacc_No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "oleacc_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "oleacc_Ro.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "oleacc_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "oleacc_Uk.rc" +#endif diff --git a/reactos/dll/win32/oleaut32/oleaut32.rc b/reactos/dll/win32/oleaut32/oleaut32.rc index 43286154beb..3b523758990 100644 --- a/reactos/dll/win32/oleaut32/oleaut32.rc +++ b/reactos/dll/win32/oleaut32/oleaut32.rc @@ -24,33 +24,83 @@ #include "version.rc" -#include "oleaut32_Bg.rc" -#include "oleaut32_Da.rc" -#include "oleaut32_El.rc" -#include "oleaut32_En.rc" -#include "oleaut32_Es.rc" -#include "oleaut32_Cz.rc" -#include "oleaut32_Fr.rc" -#include "oleaut32_Hu.rc" -#include "oleaut32_It.rc" -#include "oleaut32_Ja.rc" -#include "oleaut32_Ko.rc" -#include "oleaut32_Nl.rc" -#include "oleaut32_No.rc" -#include "oleaut32_Pl.rc" -#include "oleaut32_Pt.rc" -#include "oleaut32_Sv.rc" -#include "oleaut32_Th.rc" -#include "oleaut32_Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "oleaut32_Bg.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "oleaut32_Da.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "oleaut32_El.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "oleaut32_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "oleaut32_Es.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "oleaut32_Cz.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "oleaut32_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "oleaut32_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "oleaut32_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "oleaut32_Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "oleaut32_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "oleaut32_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "oleaut32_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "oleaut32_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "oleaut32_Pt.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "oleaut32_Sv.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "oleaut32_Th.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "oleaut32_Tr.rc" +#endif /* UTF-8 */ -#include "oleaut32_De.rc" -#include "oleaut32_Lt.rc" -#include "oleaut32_Ro.rc" -#include "oleaut32_Ru.rc" -#include "oleaut32_Si.rc" -#include "oleaut32_Uk.rc" -#include "oleaut32_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "oleaut32_De.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "oleaut32_Lt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "oleaut32_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "oleaut32_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "oleaut32_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "oleaut32_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "oleaut32_Zh.rc" +#endif /* * FIXME: diff --git a/reactos/dll/win32/oledlg/rsrc.rc b/reactos/dll/win32/oledlg/rsrc.rc index 2f916539a22..6fec5b7878d 100644 --- a/reactos/dll/win32/oledlg/rsrc.rc +++ b/reactos/dll/win32/oledlg/rsrc.rc @@ -33,28 +33,72 @@ * which also have a neutral version. This is to * get localized bitmaps for example. */ -#include "oledlg_Cs.rc" -#include "oledlg_Da.rc" -#include "oledlg_En.rc" -#include "oledlg_Es.rc" -#include "oledlg_Ko.rc" -#include "oledlg_No.rc" -#include "oledlg_Pl.rc" -#include "oledlg_Sv.rc" -#include "oledlg_Tr.rc" +#ifdef LANGUAGE_CS_CZ + #include "oledlg_Cs.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "oledlg_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "oledlg_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "oledlg_Es.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "oledlg_Ko.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "oledlg_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "oledlg_Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "oledlg_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "oledlg_Tr.rc" +#endif /* UTF-8 */ -#include "oledlg_De.rc" -#include "oledlg_Fr.rc" -#include "oledlg_Hu.rc" -#include "oledlg_It.rc" -#include "oledlg_Ja.rc" -#include "oledlg_Lt.rc" -#include "oledlg_Nl.rc" -#include "oledlg_Pt.rc" -#include "oledlg_Ro.rc" -#include "oledlg_Ru.rc" -#include "oledlg_Si.rc" -#include "oledlg_Uk.rc" -#include "oledlg_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "oledlg_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "oledlg_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "oledlg_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "oledlg_It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "oledlg_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "oledlg_Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "oledlg_Nl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "oledlg_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "oledlg_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "oledlg_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "oledlg_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "oledlg_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "oledlg_Zh.rc" +#endif diff --git a/reactos/dll/win32/rasdlg/rasdlg.rc b/reactos/dll/win32/rasdlg/rasdlg.rc index d633a6e1537..e1a0beff191 100644 --- a/reactos/dll/win32/rasdlg/rasdlg.rc +++ b/reactos/dll/win32/rasdlg/rasdlg.rc @@ -34,13 +34,27 @@ 101 BITMAP "res/bitmaps/101.bmp" 102 BITMAP "res/bitmaps/102.bmp" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/no-NO.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/serialui/serialui.rc b/reactos/dll/win32/serialui/serialui.rc index fa495ec4e57..a017479568d 100644 --- a/reactos/dll/win32/serialui/serialui.rc +++ b/reactos/dll/win32/serialui/serialui.rc @@ -9,19 +9,45 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/en-US.rc" -#include "lang/de-DE.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_ID_ID + #include "lang/id-ID.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/setupapi/setupapi.rc b/reactos/dll/win32/setupapi/setupapi.rc index a9a9c5c20ce..33e87dc6308 100644 --- a/reactos/dll/win32/setupapi/setupapi.rc +++ b/reactos/dll/win32/setupapi/setupapi.rc @@ -23,30 +23,78 @@ #include "res/icons_res.rc" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fi-FI.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pt-BR.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" -#include "lang/tr-TR.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "lang/fi-FI.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_PT_BR + #include "lang/pt-BR.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#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 // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/shdoclc/rsrc.rc b/reactos/dll/win32/shdoclc/rsrc.rc index 6c771b591da..f6ed60949a4 100644 --- a/reactos/dll/win32/shdoclc/rsrc.rc +++ b/reactos/dll/win32/shdoclc/rsrc.rc @@ -22,29 +22,75 @@ #include "shdoclc.h" -#include "Bg.rc" -#include "Da.rc" -#include "En.rc" -#include "Es.rc" -#include "Fi.rc" -#include "Nl.rc" -#include "No.rc" -#include "Pl.rc" -#include "Sv.rc" -#include "Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "Bg.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "Fi.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "Tr.rc" +#endif /* UTF-8 */ -#include "De.rc" -#include "Fr.rc" -#include "Hu.rc" -#include "It.rc" -#include "Ja.rc" -#include "Ko.rc" -#include "Lt.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Ru.rc" -#include "Si.rc" -#include "Uk.rc" -#include "Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "Ja.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "Zh.rc" +#endif diff --git a/reactos/dll/win32/shdocvw/shdocvw.rc b/reactos/dll/win32/shdocvw/shdocvw.rc index 84549f24ac6..49954f73ad9 100644 --- a/reactos/dll/win32/shdocvw/shdocvw.rc +++ b/reactos/dll/win32/shdocvw/shdocvw.rc @@ -37,19 +37,49 @@ REGINST REGINST shdocvw.inf /* @makedep: ietoolbar.bmp */ IDB_IETOOLBAR BITMAP ietoolbar.bmp -#include "De.rc" -#include "En.rc" -#include "Es.rc" -#include "Fr.rc" -#include "He.rc" -#include "It.rc" -#include "Ko.rc" -#include "Lt.rc" -#include "Nl.rc" +#ifdef LANGUAGE_DE_DE + #include "De.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "Fr.rc" +#endif +#ifdef LANGUAGE_HE_IL + #include "He.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "It.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "Ko.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "Lt.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "Nl.rc" +#endif //#include "Pl.rc" -#include "Pt.rc" -#include "Ro.rc" -#include "Si.rc" -#include "Sr.rc" -#include "Sv.rc" -#include "Uk.rc" +#ifdef LANGUAGE_PT_PT + #include "Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "Ro.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "Si.rc" +#endif +#ifdef LANGUAGE_SR_SP + #include "Sr.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "Sv.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "Uk.rc" +#endif diff --git a/reactos/dll/win32/shell32/shell32.rc b/reactos/dll/win32/shell32/shell32.rc index f850bd5fab3..9515c813293 100644 --- a/reactos/dll/win32/shell32/shell32.rc +++ b/reactos/dll/win32/shell32/shell32.rc @@ -48,35 +48,93 @@ END * which also have a neutral version. This is to * get localized bitmaps for example. */ -#include "lang/en-GB.rc" -#include "lang/en-US.rc" +#ifdef LANGUAGE_EN_GB + #include "lang/en-GB.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/bg-BG.rc" -#include "lang/ca-ES.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/es-ES.rc" -#include "lang/fi-FI.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/ko-KR.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/pt-BR.rc" -#include "lang/pt-PT.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sl-SI.rc" -#include "lang/sv-SE.rc" -#include "lang/tr-TR.rc" -#include "lang/uk-UA.rc" -#include "lang/zh-CN.rc" -#include "lang/zh-TW.rc" +#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_DA_DK + #include "lang/da-DK.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EL_GR + #include "lang/el-GR.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "lang/es-ES.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "lang/fi-FI.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "lang/hu-HU.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_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "lang/sl-SI.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.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 diff --git a/reactos/dll/win32/shimgvw/rsrc.rc b/reactos/dll/win32/shimgvw/rsrc.rc index baaf70e1ed6..b91a6d802f6 100644 --- a/reactos/dll/win32/shimgvw/rsrc.rc +++ b/reactos/dll/win32/shimgvw/rsrc.rc @@ -1,20 +1,48 @@ #include #include "resource.h" -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/lt-LT.rc" -#include "lang/sk-SK.rc" +#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_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_IT_IT + #include "lang/it-IT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/shlwapi/shlwapi.rc b/reactos/dll/win32/shlwapi/shlwapi.rc index 869e4296aae..50d3cd7f1ad 100644 --- a/reactos/dll/win32/shlwapi/shlwapi.rc +++ b/reactos/dll/win32/shlwapi/shlwapi.rc @@ -25,29 +25,75 @@ #include "version.rc" -#include "shlwapi_Da.rc" -#include "shlwapi_En.rc" -#include "shlwapi_Es.rc" -#include "shlwapi_Fi.rc" -#include "shlwapi_It.rc" -#include "shlwapi_Ko.rc" -#include "shlwapi_Nl.rc" -#include "shlwapi_No.rc" -#include "shlwapi_Pl.rc" -#include "shlwapi_Sk.rc" -#include "shlwapi_Sv.rc" -#include "shlwapi_Tr.rc" +#ifdef LANGUAGE_DA_DK + #include "shlwapi_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "shlwapi_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "shlwapi_Es.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "shlwapi_Fi.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "shlwapi_It.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "shlwapi_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "shlwapi_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "shlwapi_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "shlwapi_Pl.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "shlwapi_Sk.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "shlwapi_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "shlwapi_Tr.rc" +#endif /* UTF-8 */ -#include "shlwapi_De.rc" -#include "shlwapi_Fr.rc" -#include "shlwapi_Hu.rc" -#include "shlwapi_Ja.rc" -#include "shlwapi_Lt.rc" -#include "shlwapi_Pt.rc" -#include "shlwapi_Ro.rc" -#include "shlwapi_Ru.rc" -#include "shlwapi_Si.rc" -#include "shlwapi_Uk.rc" -#include "shlwapi_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "shlwapi_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "shlwapi_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "shlwapi_Hu.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "shlwapi_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "shlwapi_Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "shlwapi_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "shlwapi_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "shlwapi_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "shlwapi_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "shlwapi_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "shlwapi_Zh.rc" +#endif diff --git a/reactos/dll/win32/syssetup/syssetup.rc b/reactos/dll/win32/syssetup/syssetup.rc index 800739b0261..10dd65128fb 100644 --- a/reactos/dll/win32/syssetup/syssetup.rc +++ b/reactos/dll/win32/syssetup/syssetup.rc @@ -34,27 +34,69 @@ IDR_GPL RT_TEXT "COPYING" * a neutral version. This is to get localized bitmaps for example. */ -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/et-EE.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/pt-BR.rc" -#include "lang/sk-SK.rc" -#include "lang/zh-CN.rc" +#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_ET_EE + #include "lang/et-EE.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_PT_BR + #include "lang/pt-BR.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "lang/zh-CN.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/ja-JP.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_JA_JP + #include "lang/ja-JP.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/tapiui/tapiui.rc b/reactos/dll/win32/tapiui/tapiui.rc index 1e4ac1f2c51..a320fd5e0d8 100644 --- a/reactos/dll/win32/tapiui/tapiui.rc +++ b/reactos/dll/win32/tapiui/tapiui.rc @@ -15,13 +15,27 @@ IDI_SEC ICON "res/504.ico" IDB_RADIO BITMAP "res/301.bmp" IDB_WIZARD BITMAP "res/302.bmp" -#include "lang/de-DE.rc" -#include "lang/en-US.rc" -#include "lang/no-NO.rc" +#ifdef LANGUAGE_DE_DE + #include "lang/de-DE.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "lang/en-US.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/user32/user32.rc b/reactos/dll/win32/user32/user32.rc index 70388745b7e..46820c6d2c7 100644 --- a/reactos/dll/win32/user32/user32.rc +++ b/reactos/dll/win32/user32/user32.rc @@ -112,24 +112,66 @@ OBM_OLD_CLOSE BITMAP "resources/obm_old_close.bmp" // #pragma code_page(65001) // UTF-8 -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/nl-NL.rc" -#include "lang/no-NO.rc" -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_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_LT_LT + #include "lang/lt-LT.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_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/userenv/userenv.rc b/reactos/dll/win32/userenv/userenv.rc index 3369960c260..4221628dc01 100644 --- a/reactos/dll/win32/userenv/userenv.rc +++ b/reactos/dll/win32/userenv/userenv.rc @@ -34,30 +34,78 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL * a neutral version. This is to get localized bitmaps for example. */ -#include "lang/bg-BG.rc" -#include "lang/cs-CZ.rc" -#include "lang/da-DK.rc" -#include "lang/de-DE.rc" -#include "lang/el-GR.rc" -#include "lang/en-US.rc" -#include "lang/es-ES.rc" -#include "lang/fi-FI.rc" -#include "lang/fr-FR.rc" -#include "lang/hu-HU.rc" -#include "lang/id-ID.rc" -#include "lang/it-IT.rc" -#include "lang/ja-JP.rc" -#include "lang/lt-LT.rc" -#include "lang/no-NO.rc" -#include "lang/nl-NL.rc" -#include "lang/pt-BR.rc" -#include "lang/sk-SK.rc" -#include "lang/sv-SE.rc" -#include "lang/th-TH.rc" +#ifdef LANGUAGE_BG_BG + #include "lang/bg-BG.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "lang/cs-CZ.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "lang/da-DK.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_FI_FI + #include "lang/fi-FI.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "lang/fr-FR.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_LT_LT + #include "lang/lt-LT.rc" +#endif +#ifdef LANGUAGE_NB_NO + #include "lang/no-NO.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "lang/nl-NL.rc" +#endif +#ifdef LANGUAGE_PT_BR + #include "lang/pt-BR.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "lang/sk-SK.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "lang/sv-SE.rc" +#endif +#ifdef LANGUAGE_TH_TH + #include "lang/th-TH.rc" +#endif // UTF-8 #pragma code_page(65001) -#include "lang/pl-PL.rc" -#include "lang/ro-RO.rc" -#include "lang/ru-RU.rc" -#include "lang/uk-UA.rc" +#ifdef LANGUAGE_PL_PL + #include "lang/pl-PL.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "lang/ro-RO.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "lang/ru-RU.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "lang/uk-UA.rc" +#endif diff --git a/reactos/dll/win32/wininet/rsrc.rc b/reactos/dll/win32/wininet/rsrc.rc index 24b8f3bb0b2..0f9b61dac89 100644 --- a/reactos/dll/win32/wininet/rsrc.rc +++ b/reactos/dll/win32/wininet/rsrc.rc @@ -40,33 +40,87 @@ * which also have a neutral version. This is to * get localized bitmaps for example. */ -#include "wininet_Bg.rc" -#include "wininet_Cs.rc" -#include "wininet_Da.rc" -#include "wininet_En.rc" -#include "wininet_Es.rc" -#include "wininet_Eo.rc" -#include "wininet_Fi.rc" -#include "wininet_He.rc" -#include "wininet_Hu.rc" -#include "wininet_It.rc" -#include "wininet_Ko.rc" -#include "wininet_Nl.rc" -#include "wininet_Pl.rc" -#include "wininet_Sr.rc" -#include "wininet_Sv.rc" -#include "wininet_Tr.rc" +#ifdef LANGUAGE_BG_BG + #include "wininet_Bg.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "wininet_Cs.rc" +#endif +#ifdef LANGUAGE_DA_DK + #include "wininet_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "wininet_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "wininet_Es.rc" +#endif +#ifdef LANGUAGE_EO_AA + #include "wininet_Eo.rc" +#endif +#ifdef LANGUAGE_FI_FI + #include "wininet_Fi.rc" +#endif +#ifdef LANGUAGE_HE_IL + #include "wininet_He.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "wininet_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "wininet_It.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "wininet_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "wininet_Nl.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "wininet_Pl.rc" +#endif +#ifdef LANGUAGE_SR_SP + #include "wininet_Sr.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "wininet_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "wininet_Tr.rc" +#endif /* UTF-8 */ -#include "wininet_De.rc" -#include "wininet_Fr.rc" -#include "wininet_Ja.rc" -#include "wininet_Lt.rc" -#include "wininet_No.rc" -#include "wininet_Pt.rc" -#include "wininet_Ro.rc" -#include "wininet_Ru.rc" -#include "wininet_Si.rc" -#include "wininet_Uk.rc" -#include "wininet_Zh.rc" +#ifdef LANGUAGE_DE_DE + #include "wininet_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "wininet_Fr.rc" +#endif +#ifdef LANGUAGE_JA_JP + #include "wininet_Ja.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "wininet_Lt.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "wininet_No.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "wininet_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "wininet_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "wininet_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "wininet_Si.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "wininet_Uk.rc" +#endif +#ifdef LANGUAGE_ZH_CN + #include "wininet_Zh.rc" +#endif diff --git a/reactos/dll/win32/winmm/winmm_res.rc b/reactos/dll/win32/winmm/winmm_res.rc index a28d22a0bc7..0101f162638 100644 --- a/reactos/dll/win32/winmm/winmm_res.rc +++ b/reactos/dll/win32/winmm/winmm_res.rc @@ -28,25 +28,59 @@ #include "winnls.h" /* Add your language specific defines here */ -#include "winmm_Br.rc" -#include "winmm_Cs.rc" -#include "winmm_De.rc" -#include "winmm_En.rc" -#include "winmm_Es.rc" -#include "winmm_Fr.rc" -#include "winmm_Id.rc" -#include "winmm_It.rc" +#ifdef LANGUAGE_PT_BR + #include "winmm_Br.rc" +#endif +#ifdef LANGUAGE_CS_CZ + #include "winmm_Cs.rc" +#endif +#ifdef LANGUAGE_DE_DE + #include "winmm_De.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "winmm_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "winmm_Es.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "winmm_Fr.rc" +#endif +#ifdef LANGUAGE_ID_ID + #include "winmm_Id.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "winmm_It.rc" +#endif /* #include "winmm_Ja.rc" */ /* Gives error during ReactOS build */ -#include "winmm_Nl.rc" -#include "winmm_No.rc" -#include "winmm_Pl.rc" -#include "winmm_Pt.rc" -#include "winmm_Ro.rc" -#include "winmm_Ru.rc" -#include "winmm_Si.rc" -#include "winmm_Sk.rc" +#ifdef LANGUAGE_NL_NL + #include "winmm_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "winmm_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "winmm_Pl.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "winmm_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "winmm_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "winmm_Ru.rc" +#endif +#ifdef LANGUAGE_SL_SI + #include "winmm_Si.rc" +#endif +#ifdef LANGUAGE_SK_SK + #include "winmm_Sk.rc" +#endif //#include "winmm_Hu.rc" -#include "winmm_Uk.rc" +#ifdef LANGUAGE_UK_UA + #include "winmm_Uk.rc" +#endif /* do not add NLS specific stuff below that line */ diff --git a/reactos/dll/win32/wldap32/wldap32.rc b/reactos/dll/win32/wldap32/wldap32.rc index 374ad895391..cd0200b8b83 100644 --- a/reactos/dll/win32/wldap32/wldap32.rc +++ b/reactos/dll/win32/wldap32/wldap32.rc @@ -22,23 +22,59 @@ #include "winbase.h" #include "winuser.h" -#include "wldap32_Da.rc" -#include "wldap32_En.rc" -#include "wldap32_Es.rc" -#include "wldap32_Ko.rc" -#include "wldap32_Nl.rc" -#include "wldap32_No.rc" -#include "wldap32_Pl.rc" -#include "wldap32_Sv.rc" -#include "wldap32_Tr.rc" +#ifdef LANGUAGE_DA_DK + #include "wldap32_Da.rc" +#endif +#ifdef LANGUAGE_EN_US + #include "wldap32_En.rc" +#endif +#ifdef LANGUAGE_ES_ES + #include "wldap32_Es.rc" +#endif +#ifdef LANGUAGE_KO_KR + #include "wldap32_Ko.rc" +#endif +#ifdef LANGUAGE_NL_NL + #include "wldap32_Nl.rc" +#endif +#ifdef LANGUAGE_NO_NO + #include "wldap32_No.rc" +#endif +#ifdef LANGUAGE_PL_PL + #include "wldap32_Pl.rc" +#endif +#ifdef LANGUAGE_SV_SE + #include "wldap32_Sv.rc" +#endif +#ifdef LANGUAGE_TR_TR + #include "wldap32_Tr.rc" +#endif /* UTF-8 */ -#include "wldap32_De.rc" -#include "wldap32_Fr.rc" -#include "wldap32_Hu.rc" -#include "wldap32_It.rc" -#include "wldap32_Lt.rc" -#include "wldap32_Pt.rc" -#include "wldap32_Ro.rc" -#include "wldap32_Ru.rc" -#include "wldap32_Uk.rc" +#ifdef LANGUAGE_DE_DE + #include "wldap32_De.rc" +#endif +#ifdef LANGUAGE_FR_FR + #include "wldap32_Fr.rc" +#endif +#ifdef LANGUAGE_HU_HU + #include "wldap32_Hu.rc" +#endif +#ifdef LANGUAGE_IT_IT + #include "wldap32_It.rc" +#endif +#ifdef LANGUAGE_LT_LT + #include "wldap32_Lt.rc" +#endif +#ifdef LANGUAGE_PT_PT + #include "wldap32_Pt.rc" +#endif +#ifdef LANGUAGE_RO_RO + #include "wldap32_Ro.rc" +#endif +#ifdef LANGUAGE_RU_RU + #include "wldap32_Ru.rc" +#endif +#ifdef LANGUAGE_UK_UA + #include "wldap32_Uk.rc" +#endif