; ---------------------------------------------------------------------------
;            Pequeño guión para generar/actualizar automáticamente
;            todos los ficheros implicados en el soporte local

;              Little script for to generate/update automatically
;                  all files implied in the locale support :)
; ---------------------------------------------------------------------------

;        Por favor, consulte el ejemplo NLMenu de Hisoft (cajón 2.0)
;                 incluido con HBasic 2 para más información.
;            Please, see the Hisoft's NLMenu example (2.0 drawer)
;               for more info include in the HBasic 2 package.

; xxxx_locale.bc - IDs defining strings in a catalog
; --------------------------------------------------
echo "*NIDs / Identificadores..."
CatComp IBcc_english.cd ASMFILE PIPE:0
RX HBasic2:Rexx/EQUToBC.rexx <PIPE:0 > IBcc_locale.bc

; xxxx_locale.bas - Code & Default strings when catalog not present
; -----------------------------------------------------------------
echo "Code & default strings / Cdigo y cadenas por defecto en inglés..."
CatComp IBcc_english.cd OBJFILE IBcc_locale.o
SYS:Desarrollo/Tools/OToTaglist IBcc_locale.o IBcc_locale*.bas
;Delete RAM:IBcachecleaner_locale.o

; xxxx_empty.ct - Creating a a empty #?.ct file
; ---------------------------------------------
;echo "Empty CT file/ Creando un fichero CT vacío..."
;CatComp DESCRIPTOR IBcc_english.cd CTFILE IBcc_empty.ct

; Español/xxxx.catalog - Creating spanish catalog
; -----------------------------------------------
echo "Creating the spanish catalog/Creando el catálogo español..."
CatComp IBcc_english.cd IBcc_español.ct CATALOG LOCALE:Catalogs/español/IBcc.catalog

; The End
; -------
echo "¡¡ Tarea terminada !! / Finnished !!*N"
