https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cfff74daed2aab0705f1d…
commit cfff74daed2aab0705f1d5c8fb7d3c40c9f8f38e
Author: Bișoc George <fraizeraust99(a)gmail.com>
AuthorDate: Sat Nov 17 15:16:36 2018 +0100
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Nov 17 15:16:36 2018 +0100
[CHKDSK] Implement translation files for Romanian & Italian (#961)
---
base/system/chkdsk/chkdsk.rc | 6 ++++++
base/system/chkdsk/lang/it-IT.rc | 38 ++++++++++++++++++++++++++++++++++++++
base/system/chkdsk/lang/ro-RO.rc | 38 ++++++++++++++++++++++++++++++++++++++
3 files changed, 82 insertions(+)
diff --git a/base/system/chkdsk/chkdsk.rc b/base/system/chkdsk/chkdsk.rc
index c3154e36d4..00a5373b53 100644
--- a/base/system/chkdsk/chkdsk.rc
+++ b/base/system/chkdsk/chkdsk.rc
@@ -16,9 +16,15 @@
#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_RU_RU
#include "lang/ru-RU.rc"
#endif
diff --git a/base/system/chkdsk/lang/it-IT.rc b/base/system/chkdsk/lang/it-IT.rc
new file mode 100644
index 0000000000..e49a092592
--- /dev/null
+++ b/base/system/chkdsk/lang/it-IT.rc
@@ -0,0 +1,38 @@
+/*
+ * PROJECT: Check Disk utility
+ * LICENSE: See COPYING in the top level directory
+ * PURPOSE: Italian resource file
+ * COPYRIGHT: Copyright 2018 Bișoc George (fraizeraust99 at gmail dot com)
+ */
+
+LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
+
+STRINGTABLE
+BEGIN
+ IDS_USAGE "\n\
+Uso: %s [drive:] [-F] [-V] [-R] [-C] \n\n\
+[drive:] Specifica un disco per il controllo.\n\
+-F Risolvi gli errori del disco.\n\
+-V Visualizza il percorso del file di ogni file del disco.\n\
+-R Trova i settori danneggiati e recupera le informazioni leggibili.\n\
+-C Controlla il drive solamente se è sporco.\n\
+\n"
+
+ IDS_PERCENT_COMPL "%d percentuale completato.\r"
+ IDS_FILE_SYSTEM "Il tipo del file di sistema è %s.\n"
+ IDS_ABOUT "\n\
+Chkdskx v1.0.1 di Mark Russinovich\n\
+Systems Internals - http://www.sysinternals.com\n\
+Adattazione ReactOS nel 1999 di Emanuele Aliberti\n\n"
+END
+
+STRINGTABLE
+BEGIN
+ IDS_VOLUME_IN_USE "Il volume è in uso e non può essere bloccato\n"
+ IDS_CHKDSK_FAIL "Chkdsk non era in grado di finire con successo.\n\n"
+ IDS_NO_ENTRY_POINT "Impossibile trovare i punti d'ingresso FMIFS.\n\n"
+ IDS_BAD_ARGUMENT "Argomento sconosciuto: %s\n"
+ IDS_NO_CURRENT_DIR "Impossibile ottenre la cartella corrente. Codice errore: "
+ IDS_NO_QUERY_VOL "Impossibile interrogare il volume. Codice errore: "
+ IDS_VOLUME_IN_USE_PROC "Impossibile l'esecuzione del Chkdsk perché il volume è in uso da un altro processo.\n\n"
+END
diff --git a/base/system/chkdsk/lang/ro-RO.rc b/base/system/chkdsk/lang/ro-RO.rc
new file mode 100644
index 0000000000..6f3cb9cfba
--- /dev/null
+++ b/base/system/chkdsk/lang/ro-RO.rc
@@ -0,0 +1,38 @@
+/*
+ * PROJECT: Check Disk utility
+ * LICENSE: See COPYING in the top level directory
+ * PURPOSE: Romanian resource file
+ * COPYRIGHT: Copyright 2018 Bișoc George (fraizeraust99 at gmail dot com)
+ */
+
+LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
+
+STRINGTABLE
+BEGIN
+ IDS_USAGE "\n\
+Uz: %s [drive:] [-F] [-V] [-R] [-C] \n\n\
+[drive:] Specifică unitatea de stocare pentru control.\n\
+-F Rezolvă erorile discului.\n\
+-V Vizualizează calea tuturor fișierelor de pe disc.\n\
+-R Găsește sectoarele defecte și recuperează informațiile care pot fi citite.\n\
+-C Controlează unitatea de stocare doar dacă este necesar.\n\
+\n"
+
+ IDS_PERCENT_COMPL "%d completat.\r"
+ IDS_FILE_SYSTEM "Tipul sistemului de fișier este %s.\n"
+ IDS_ABOUT "\n\
+Chkdskx v1.0.1 de către Mark Russinovich\n\
+Systems Internals - http://www.sysinternals.com\n\
+Adaptarea pentru ReactOS din 1999 de către Emanuele Aliberti\n\n"
+END
+
+STRINGTABLE
+BEGIN
+ IDS_VOLUME_IN_USE "Volumul este în uz și nu poate fi blocat\n"
+ IDS_CHKDSK_FAIL "Operația programului Chkdsk a eșuat.\n\n"
+ IDS_NO_ENTRY_POINT "Nu s-au putut găsi punctele de intrare FMIFS.\n\n"
+ IDS_BAD_ARGUMENT "Argument necunoscut: %s\n"
+ IDS_NO_CURRENT_DIR "Nu s-a putut găsi directorul respectiv. Cod de eroare: "
+ IDS_NO_QUERY_VOL "Nu s-a putut interoga volumul. Cod de eroare: "
+ IDS_VOLUME_IN_USE_PROC "Execuția Chkdsk a eșuat pentru că volumul este folosit de către un alt proces.\n\n"
+END
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=76daaf9fafadec0fbf98c…
commit 76daaf9fafadec0fbf98c068080cdd15320f4ffb
Author: Bernhard Feichtinger <43303168+BieHDC(a)users.noreply.github.com>
AuthorDate: Fri Nov 16 23:26:58 2018 +0100
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Fri Nov 16 23:26:58 2018 +0100
[MODULES] Add a convenient option to transfer files into a new installation (#877)
Purpose:
When doing a PXE BootCD installation, you may be left without networking, usb and a cd drive.
This adds an easy way to include a few or more files to the installation which are then present on the disk after the installation and which does not require any change to ReactOS source code/build script files (and no manual editing of boot/bootdata/packages/reactos.dff.in).
Proposed changes:
Adds a new modules/3rdparty folder which lets the files end up in C:\ReactOS\3rdParty ready for use.
---
.gitignore | 1 +
boot/bootdata/packages/reactos.dff.in | 1 +
modules/CMakeLists.txt | 10 ++++++++++
sdk/cmake/CMakeMacros.cmake | 2 ++
4 files changed, 14 insertions(+)
diff --git a/.gitignore b/.gitignore
index 9bed1e86be..717e06c033 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@ modules/optional
modules/bootcd_extras
modules/livecd_extras
modules/hybridcd_extras
+modules/3rdparty
.cproject
.project
.settings
diff --git a/boot/bootdata/packages/reactos.dff.in b/boot/bootdata/packages/reactos.dff.in
index 9424840238..0b550795d5 100644
--- a/boot/bootdata/packages/reactos.dff.in
+++ b/boot/bootdata/packages/reactos.dff.in
@@ -81,6 +81,7 @@ Signature = "$Windows NT$"
60 = winsxs\x86_reactos.newapi_6595b64144ccf1df_1.0.0.0_none_deadbeef
61 = winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef
62 = Resources\Themes\Modern
+63 = 3rdParty
.InfEnd
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 78123b6aed..4c68bfb1e5 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -17,6 +17,8 @@ endif()
## Extra files for Boot/Live/Hybrid CD. You need to put them under [boot|live|hybrid]cd_extras
## in the same layout as you want them to be in the CD.
+## If you change the content of any of the following folders later on,
+## run "cmake ." before compiling.
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/)
file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/*)
foreach(item ${EXTRA_FILES})
@@ -35,3 +37,11 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/)
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/${item} DESTINATION extras NO_CAB NAME_ON_CD ${item} FOR hybridcd)
endforeach(item)
endif()
+
+## Extra files which you need existing on the hard drive after the installation.
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/)
+ file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/ ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/*)
+ foreach(item ${EXTRA_FILES})
+ add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/${item} DESTINATION reactos/3rdParty NAME_ON_CD ${item} FOR bootcd)
+ endforeach(item)
+endif()
diff --git a/sdk/cmake/CMakeMacros.cmake b/sdk/cmake/CMakeMacros.cmake
index f7eba51794..f5d2a0befa 100644
--- a/sdk/cmake/CMakeMacros.cmake
+++ b/sdk/cmake/CMakeMacros.cmake
@@ -294,6 +294,8 @@ macro(dir_to_num dir var)
set(${var} 61)
elseif(${dir} STREQUAL reactos/Resources/Themes/Modern)
set(${var} 62)
+ elseif(${dir} STREQUAL reactos/3rdParty)
+ set(${var} 63)
else()
message(FATAL_ERROR "Wrong destination: ${dir}")
endif()