Rename the GCC Folders to be more logical.

Add Spanish Translation for options.exe by Javier Remacha

svn path=/trunk/tools/RosBE/; revision=875
This commit is contained in:
Daniel Reimer 2008-11-05 16:04:17 +00:00
parent d176c367e1
commit 42ad81346d
8 changed files with 94 additions and 16 deletions

View File

@ -25,8 +25,8 @@ set _ROSBE_BASEDIR=%~dp0
set _ROSBE_BASEDIR=%_ROSBE_BASEDIR:~0,-1%
set _ROSBE_MODE=MinGW
set _ROSBE_ORIGINALPATH=%PATH%
set _ROSBE_HOST_MINGWPATH=%_ROSBE_BASEDIR%\4.1.3
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\4.1.3
set _ROSBE_HOST_MINGWPATH=%_ROSBE_BASEDIR%\i386
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\i386
echo.
echo.

View File

@ -32,8 +32,8 @@ set _ROSBE_WRITELOG=1
set _ROSBE_USECCACHE=0
set _ROSBE_STRIP=0
set _ROSBE_NOSTRIP=0
set _ROSBE_HOST_MINGWPATH=%_ROSBE_BASEDIR%\4.1.3
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\4.1.3
set _ROSBE_HOST_MINGWPATH=%_ROSBE_BASEDIR%\i386
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\i386
set _ROSBE_LOGDIR=%CD%\RosBE-Logs
set _ROSBE_OBJPATH=
set _ROSBE_OUTPATH=

View File

@ -37,17 +37,17 @@ if "%1" == "chdefgcc" (
if .%_ROSBE_ARCH%. == .1. (
set ROS_ARCH=arm
set ROS_PREFIX=arm-pc-mingw32
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\4.4.0
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\arm
)
if .%_ROSBE_ARCH%. == .2. (
set ROS_ARCH=ppc
set ROS_PREFIX=ppc-pc-mingw32
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\4.4.0
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\ppc
)
if .%_ROSBE_ARCH%. == .3. (
set ROS_ARCH=amd64
set ROS_PREFIX=x86_64-pc-mingw32
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\4.4.0
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\x86_64
)
:main

View File

@ -221,7 +221,7 @@ if %_ROSBE_GCC% == yes (
:: Extract GCC.
::
if !_ROSBE_GCCDATE! NEQ !_ROSBE_GCCDATE2! (
"Tools\7z.exe" x GCC.7z "%_ROSBE_BASEDIR%\4.1.3"
"Tools\7z.exe" x GCC.7z "%_ROSBE_BASEDIR%\i386"
)
)
if %_ROSBE_TOOLS% == yes (

View File

@ -136,9 +136,9 @@ Section -BaseFiles SEC01
SectionEnd
Section -MinGWGCCNASM SEC02
SetOutPath "$INSTDIR\4.1.3"
SetOutPath "$INSTDIR\i386"
SetOverwrite try
File /r Components\4.1.3\*.*
File /r Components\i386\*.*
SectionEnd
Section "RosBE Configurator (options)" SEC03
@ -198,7 +198,7 @@ SectionEnd
Section "ccache - Compiler Cache" SEC06
SetShellVarContext current
SetOutPath "$INSTDIR\4.1.3\bin"
SetOutPath "$INSTDIR\i386\bin"
SetOverwrite try
File /r Components\Tools\ccache.exe
File /r Components\Tools\cygwin1.dll
@ -206,7 +206,7 @@ SectionEnd
Section "GDB - The GNU Project Debugger" SEC07
SetShellVarContext current
SetOutPath "$INSTDIR\4.1.3\bin"
SetOutPath "$INSTDIR\i386\bin"
SetOverwrite try
File /r Components\Tools\gdb.exe
File /r Components\Tools\gdbserver.exe
@ -331,7 +331,7 @@ Section Uninstall
;;
;; Clean up installed files.
;;
RMDir /r /REBOOTOK "$INSTDIR\4.1.3"
RMDir /r /REBOOTOK "$INSTDIR\i386"
RMDir /r /REBOOTOK "$INSTDIR\Tools"
RMDir /r /REBOOTOK "$SMPROGRAMS\$ICONS_GROUP"
IfFileExists "$PROFILE\RosBE\." 0 +2

View File

@ -111,9 +111,9 @@ Section -BaseFiles SEC01
SectionEnd
Section -MinGWGCCNASM SEC02
SetOutPath "$INSTDIR\4.4.0"
SetOutPath "$INSTDIR\x86_64"
SetOverwrite try
File /r Components\4.4.0\*.*
File /r Components\x86_64\*.*
SectionEnd
Section -StartMenuShortcuts SEC03
@ -180,7 +180,7 @@ Section Uninstall
;;
;; Clean up installed files.
;;
RMDir /r /REBOOTOK "$INSTDIR\4.4.0"
RMDir /r /REBOOTOK "$INSTDIR\x86_64"
Delete /REBOOTOK "$INSTDIR\charch.cmd"
Delete /REBOOTOK "$INSTDIR\Uninstall-${PRODUCT_VERSION}.exe"
;; Whoever dares to change this back into: RMDir /r /REBOOTOK "$INSTDIR" will be KILLED!!!

View File

@ -0,0 +1,77 @@
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configuraci鏮 de ReactOS Build Environment"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Color de fondo", -1, 10, 10, 75, 12
LTEXT "Color de fuente", 0x0, 10, 27, 75, 12
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
CONTROL "\n\nTexto ejemplo", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
CONTROL "Mostrar tiempo de creaci鏮", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Usar CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Limpiar salida", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
CONTROL "Cree archivos no limpios para depuraci鏮", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
LTEXT "Ruta de MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
CONTROL "Guardar Logs (Registros)", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
CONTROL "Cambiar carpeta parar OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
CONTROL "Cambiar carpeta para OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
PUSHBUTTON "Guardar", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
PUSHBUTTON "Cancelar", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
CONTROL "、ienvenido!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
END
STRINGTABLE
BEGIN
CLR0, "Negro"
CLR1, "Azul"
CLR2, "Verde"
CLR3, "Turquesa"
CLR4, "Rojo"
CLR5, "Morado"
CLR6, "Amarillo"
CLR7, "Blanco"
CLR8, "Gris"
CLR9, "Azul claro"
CLR10, "Verde claro"
CLR11, "Turquesa claro"
CLR12, "Rojo claro"
CLR13, "MOrado claro"
CLR14, "Amarillo claro"
CLR15, "Blanco brillante"
MSG_NOGCCFOUND, "﹑o se ha encontrado MinGW/GCC! Por favor, comprueba tu directorio."
MSG_FILEFAILED, "allo al crear rosbe-options.cmd!"
MSG_DIREFAILED, "allo al crear directorio!"
MSG_SETLOADSUC, "Opciones cargadas satisfactoriamente."
MSG_FINDLOGDIR, "Por favor, seleccione un directorio donde los logs (registros) ser嫕 almacenados:"
MSG_FINDMGWDIR, "Por favor, seleccione el directorio donde esta ubicado MinGW/GCC:"
MSG_FINDOBJDIR, "Por favor, seleccione un directorio donde quiere guardar los archivos OBJ:"
MSG_FINDOUTDIR, "Por favor, seleccione un directorio donde quiere guardar los archivos OUT:"
MSG_WARNINGBOX, "Advertencia"
MSG_EXITCHANGE, "激sta seguro de salir sin guardar los cambios?"
MSG_INVALIDDIR, "El directorio que ha introducido no existe. 熹uiere crearlo?"
/* Help Strings */
HLP_BACKCOLORC, "Seleccione el color de fondo para la ventana Dos de RosBE."
HLP_FONTCOLORC, "Seleccione el color para el texto en la ventana Dos de RosBE."
HLP_SBUILDTIME, "Le muestra el tiempo total de compilaci鏮 al final de la misma."
HLP_CCACHEUSED, "Seleccione si quiere usar (compilador cache)."
HLP_STRIPEDEXE, "Seleccione si quiere producir ejecutables comprimidos stripped executables."
HLP_FINDMGWDIR, "Esta opci鏮 le permite seleccionar donde est<73> ubicado MinGW/GCC."
HLP_FINDLOGDIR, "Esta opci鏮 le permite seleccionar donde se guardar嫕 los archivos logs (Registros) creados."
HLP_FINDOBJDIR, "Esta opci鏮 le permite seleccionar donde se guardar嫕 los archivos OBJ."
HLP_FINDOUTDIR, "Esta opci鏮 le permite seleccionar donde se guardar嫕 los archivos OUT."
HLP_SAVEBUTTON, "Se activa cuando la configuraci鏮 ha sido cambiada, cerra guardando los cambios."
HLP_QUITBUTTON, "Este bot鏮 le permite salir de la configuraci鏮 sin guardar los cambios."
HLP_DEFAULTMSG, "Situese sobre un control para obtener ayuda."
HLP_NOSTRIP, "Crea informaci鏮 de depuraci鏮 para el ReactOS Debugger."
END

View File

@ -3,6 +3,7 @@
#include "lang/de-DE.rc"
#include "lang/en-US.rc"
#include "lang/es-ES.rc"
#include "lang/fr-FR.rc"
#include "lang/ru-RU.rc"
#include "lang/uk-UA.rc"