diff --git a/admin/WebConsole/asistentes/jscripts/asistentes.js b/admin/WebConsole/asistentes/jscripts/asistentes.js index f1a296ec..0f5a4fde 100644 --- a/admin/WebConsole/asistentes/jscripts/asistentes.js +++ b/admin/WebConsole/asistentes/jscripts/asistentes.js @@ -21,7 +21,7 @@ switch (form.idmetodo.value) //form.codigo.value="cloneRemoteFromMaster " + form.ipMaster.value + " 1 " + form.PartOrigen.value + " " + form.mcastpuerto.value + ":" + form.mcastmodo.value + ":" + form.mcastdireccion.value + ":" + form.mcastvelocidad.value + "M:" + form.mcastnclien.value + ":" + form.mcastseg.value + " 1 " + form.PartOrigen.value + " " + form.tool.value + " " + form.compresor.value; command="cloneRemoteFromMaster " + form.ipMaster.value + " " + form.source.value + " " + protocol + " " + form.targetpart.value + " " + form.tool.value + " " + form.compresor.value; form.codigo.value="\ -echo \"[0] iniciando " + command + " \" | tee -a $OGLOGFILE $OGLOGSESSION \n " + +echo \"[0] $MSG_SCRIPTS_TASK_START " + command + " \" | tee -a $OGLOGFILE $OGLOGSESSION \n " + command + " | tee -a $OGLOGCOMMAND \n "; //cloneRemoteFromMaster " + form.ipMaster.value + " " + form.source.value + " " + protocol + " " + form.targetpart.value + " " + form.tool.value + " " + form.compresor.value + " | tee -a $OGLOGCOMMAND \n"; //form.codigo.value="cloneRemoteFromMaster " + form.ipMaster.value + " " + form.source.value + " " + protocol + " " + form.targetpart.value + " " + form.tool.value + " " + form.compresor.value; @@ -53,7 +53,7 @@ else { command="updateCache REPO /" + form.idimagen.value + ".img" + " " + protocol ; form.codigo.value="\ -echo [0] iniciando " + command +" | tee -a $OGLOGSESSION \n \ " + +echo [0] $MSG_SCRIPTS_TASK_START " + command +" | tee -a $OGLOGSESSION \n \ " + command + " | tee -a $OGLOGCOMMAND"; //form.codigo.value="updateCache REPO /" + form.idimagen.value + ".img" + " " + protocol ; } @@ -98,12 +98,12 @@ function codeParticionado (form) { if (form.size4.value == "0") { //cacheCode = " ogUnmountCache \n ogUnmountAll 1 \n sizecache=`ogGetPartitionSize 1 4` \n ogDeletePartitionTable 1 \n ogUpdatePartitionTable 1 \n initCache $sizecache "; cacheCode="\ - echo \"[20] detectando tamaño de la cache\" | tee -a $OGLOGSESSION \n \ + echo \"[20] $MSG_HELP_ogGetPartitionSize CACHE\" | tee -a $OGLOGSESSION \n \ sizecache=`ogGetPartitionSize 1 4` \n \ - echo \"[30] borrando y actualizando tabla particiones disco 1\" | tee -a $OGLOGSESSION \n \ + echo \"[30] $MSG_HELP_ogDeletePartitionTable - $MSG_HELP_ogUpdatePartitionTable 1\" | tee -a $OGLOGSESSION \n \ ogDeletePartitionTable 1 \n \ ogUpdatePartitionTable 1 | tee -a $OGLOGCOMMAND \n \ - echo \"[50] Activando cache\" | tee -a $OGLOGSESSION \n \ + echo \"[50] $MSG_HELP_ogCreateCache \" | tee -a $OGLOGSESSION \n \ initCache $sizecache &>/dev/null | tee -a $OGLOGCOMMAND \n "; } else { if (form.size4.value == "CUSTOM") { @@ -113,16 +113,16 @@ function codeParticionado (form) { } //cacheCode = " ogUnmountCache \n ogUnmountAll 1 \n ogDeletePartitionTable 1 \n ogUpdatePartitionTable 1 \n initCache " + cacheSize; cacheCode="\ - echo \"[30] borrando y actualizando tabla particiones disco 1\" | tee -a $OGLOGSESSION \n \ + echo \"[30] $MSG_HELP_ogDeletePartitionTable - $MSG_HELP_ogUpdatePartitionTable 1\" | tee -a $OGLOGSESSION \n \ ogDeletePartitionTable 1 \n \ ogUpdatePartitionTable 1 \n \ - echo \"[50] Activando cache\" | tee -a $OGLOGSESSION \n \ + echo \"[50] $MSG_HELP_ogCreateCache \" | tee -a $OGLOGSESSION \n \ initCache " + cacheSize + " &>/dev/null | tee -a $OGLOGCOMMAND"; } } else { //cacheCode = " ogUnmountCache \n ogUnmountAll 1 \n ogDeletePartitionTable 1 \n ogUpdatePartitionTable 1 "; cacheCode="\ - echo \"[30] borrando y actualizando tabla particiones disco 1\" | tee -a $OGLOGSESSION \n \ + echo \"[30] $MSG_HELP_ogDeletePartitionTable - $MSG_HELP_ogUpdatePartitionTable 1\" | tee -a $OGLOGSESSION \n \ ogDeletePartitionTable 1 \n \ ogUpdatePartitionTable 1 \n"; partCode += " EMPTY:0"; @@ -167,18 +167,18 @@ function codeParticionado (form) { //ogUpdatePartitionTable 1 \n \ //ogListPartitions 1 \n"; form.codigo.value="\ -echo \"[0] iniciando particionado\" | tee -a $OGLOGSESSION $OGLOGFILE \n \ -echo \"[10] desmontando cache y particiones del disco 1\" | tee -a $OGLOGSESSION \n \ +echo \"[0] $MSG_HELP_ogCreatePartitions \" | tee -a $OGLOGSESSION $OGLOGFILE \n \ +echo \"[10] $MSG_HELP_ogUnmountAll 1\" | tee -a $OGLOGSESSION \n \ ogUnmountCache \n \ ogUnmountAll 1 \n \ " + cacheCode + " \n \ -echo \"[60] Listando tabla particiones 1\" | tee -a $OGLOGSESSION \n \ +echo \"[60] $MSG_HELP_ogListPartitions 1\" | tee -a $OGLOGSESSION \n \ ogListPartitions 1 | tee -a $OGLOGCOMMAND $OGLOGSESSION \n \ -echo \"[70] Creando tabla particiones " + partCode + " \" | tee -a $OGLOGSESSION \n \ +echo \"[70] $MSG_HELP_ogCreatePartitions " + partCode + " \" | tee -a $OGLOGSESSION \n \ ogCreatePartitions 1 " + partCode + " | tee -a $OGLOGCOMMAND \n \ -echo \"[80] Activando primera particion del disco 1\" | tee -a $OGLOGSESSION \n \ +echo \"[80] $MSG_HELP_ogSetPartitionActive 1 1\" | tee -a $OGLOGSESSION \n \ ogSetPartitionActive 1 1 \n \ -echo \"[100] Listando la nueva tabla particiones 1\" | tee -a $OGLOGSESSION $OGLOGFILE \n \ +echo \"[100] $MSG_HELP_ogListPartitions 1\" | tee -a $OGLOGSESSION $OGLOGFILE \n \ ogUpdatePartitionTable 1 \n \ ms-sys /dev/sda | grep unknow && ms-sys /dev/sda \n \ ogListPartitions 1 | tee -a $OGLOGCOMMAND $OGLOGSESSION $OGLOGFILE \n"; diff --git a/client/shared/etc/lang.ca_ES.conf b/client/shared/etc/lang.ca_ES.conf index 1861ca76..bcea34b4 100644 --- a/client/shared/etc/lang.ca_ES.conf +++ b/client/shared/etc/lang.ca_ES.conf @@ -80,6 +80,7 @@ MSG_HELP_ogCreateImage="Genera una imagen exacta de un sistema operativo instala MSG_HELP_ogCreateMbrImage="Genera una imagen del sector de arranque (MBR)." MSG_HELP_ogCreatePartitions="Define la estructura de particiones de un disco." MSG_HELP_ogDeleteFile="Borra un fichero de un espacio de almacenamiento." +MSG_HELP_ogDeletePartitionTable="Elimina la tabla de particiones del disco" MSG_HELP_ogDeleteRegistryKey="Borra una clave vacía del registro de Windows." MSG_HELP_ogDeleteRegistryValue="Borra un valor del registro de Windows." MSG_HELP_ogDeleteTree="Borra un árbol de directorios de un espacio de almacenamiento." @@ -158,7 +159,7 @@ MSG_HELP_ogUnmount="Desmonta un sistema de archivos." MSG_HELP_ogUnmountCache="Desmonta el sistema de archivos de caché local." MSG_HELP_ogUnmountFs=$MSG_HELP_ogUnmount MSG_HELP_ogUnmountAll="Desmonta todos los sistemas de archivos." - +MSG_HELP_ogUpdatePartitionTable="Actualiza informacion tabla particiones del disco" # Mensajes de descripción breve de la interfaz. MSG_INTERFACE_START="[START Interface ] Ejecutar comando: " diff --git a/client/shared/etc/lang.en_GB.conf b/client/shared/etc/lang.en_GB.conf index 6ca08879..e21e71ab 100644 --- a/client/shared/etc/lang.en_GB.conf +++ b/client/shared/etc/lang.en_GB.conf @@ -80,6 +80,7 @@ MSG_HELP_ogCreateImage="Create an exact image from a local filesystem." MSG_HELP_ogCreateMbrImage="Create an MBR image." MSG_HELP_ogCreatePartitions="Create the disc partition table." MSG_HELP_ogDeleteFile="Delete a file." +MSG_HELP_ogDeletePartitionTable="Delete disk table partition" MSG_HELP_ogDeleteRegistryKey="Delete an empty Windows registry key." MSG_HELP_ogDeleteRegistryValue="Delete a Windows registry value." MSG_HELP_ogDeleteTree="Delete a directory tree." @@ -158,6 +159,7 @@ MSG_HELP_ogUnmount="Unmount a filesystem." MSG_HELP_ogUnmountCache="Unmount the cache filesystem." MSG_HELP_ogUnmountFs=$MSG_HELP_ogUnmount MSG_HELP_ogUnmountAll="Unmount all filesystems." +MSG_HELP_ogUpdatePartitionTable="Update info about disk partition table " # INTERFACE functions menssages. MSG_INTERFACE_START="[START Interface] Run this command: " diff --git a/client/shared/etc/lang.es_ES.conf b/client/shared/etc/lang.es_ES.conf index 1861ca76..93e2503c 100644 --- a/client/shared/etc/lang.es_ES.conf +++ b/client/shared/etc/lang.es_ES.conf @@ -80,6 +80,7 @@ MSG_HELP_ogCreateImage="Genera una imagen exacta de un sistema operativo instala MSG_HELP_ogCreateMbrImage="Genera una imagen del sector de arranque (MBR)." MSG_HELP_ogCreatePartitions="Define la estructura de particiones de un disco." MSG_HELP_ogDeleteFile="Borra un fichero de un espacio de almacenamiento." +MSG_HELP_ogDeletePartitionTable="Elimina la tabla de particiones del disco" MSG_HELP_ogDeleteRegistryKey="Borra una clave vacía del registro de Windows." MSG_HELP_ogDeleteRegistryValue="Borra un valor del registro de Windows." MSG_HELP_ogDeleteTree="Borra un árbol de directorios de un espacio de almacenamiento." @@ -158,6 +159,7 @@ MSG_HELP_ogUnmount="Desmonta un sistema de archivos." MSG_HELP_ogUnmountCache="Desmonta el sistema de archivos de caché local." MSG_HELP_ogUnmountFs=$MSG_HELP_ogUnmount MSG_HELP_ogUnmountAll="Desmonta todos los sistemas de archivos." +MSG_HELP_ogUpdatePartitionTable="Actualiza informacion tabla particiones del disco" # Mensajes de descripción breve de la interfaz.