refs #2338. Kill job constants
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
parent
ce00b92751
commit
f528404725
|
@ -30,6 +30,18 @@ export class TranslationService {
|
|||
return COMMAND_TYPES['partition-and-format'][this.currentLang];
|
||||
case 'run-script':
|
||||
return COMMAND_TYPES['run-script'][this.currentLang];
|
||||
case 'login':
|
||||
return COMMAND_TYPES.login[this.currentLang];
|
||||
case 'software-inventory':
|
||||
return COMMAND_TYPES['software-inventory'][this.currentLang];
|
||||
case 'hardware-inventory':
|
||||
return COMMAND_TYPES['hardware-inventory'][this.currentLang];
|
||||
case 'rename-image':
|
||||
return COMMAND_TYPES['rename-image'][this.currentLang];
|
||||
case 'transfer-image':
|
||||
return COMMAND_TYPES['transfer-image'][this.currentLang];
|
||||
case 'kill-job':
|
||||
return COMMAND_TYPES['kill-job'][this.currentLang];
|
||||
default:
|
||||
return command;
|
||||
}
|
||||
|
|
|
@ -42,5 +42,35 @@ export const COMMAND_TYPES: any = {
|
|||
'run-script': {
|
||||
en: 'Run Script',
|
||||
es: 'Ejecutar Script'
|
||||
},
|
||||
|
||||
login: {
|
||||
en: 'Login',
|
||||
es: 'Iniciar sesión'
|
||||
},
|
||||
|
||||
'software-inventory': {
|
||||
en: 'Software Inventory',
|
||||
es: 'Inventario de Software'
|
||||
},
|
||||
|
||||
'hardware-inventory': {
|
||||
en: 'Hardware Inventory',
|
||||
es: 'Inventario de Hardware'
|
||||
},
|
||||
|
||||
'rename-image': {
|
||||
en: 'Rename Image',
|
||||
es: 'Renombrar Imagen'
|
||||
},
|
||||
|
||||
'transfer-image': {
|
||||
en: 'Transfer Image',
|
||||
es: 'Transferir Imagen'
|
||||
},
|
||||
|
||||
'kill-job': {
|
||||
en: 'Cancel Task',
|
||||
es: 'Cancelar Tarea'
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue