diff --git a/Lang/pt-br.json b/Lang/pt-br.json index 6735e8f..0a5286a 100644 --- a/Lang/pt-br.json +++ b/Lang/pt-br.json @@ -155,7 +155,7 @@ "batch_overallProgress": "Progresso geral: %VAR_0%% [%VAR_1% de %VAR_2%]", "batch_updateCounter": "Atualizações: %VAR_0%", "batch_errorCounter": "Erros: %VAR_0%", - "batch_elapsedTime": "Tempo decorrido: %VAR_0%%VAR_1%%VAR_2%", + "batch_elapsedTime": "Tempo decorrido: %VAR_0%", "batchProcessList": "==> Processos ativos:", "batchProcess": "%VAR_0% %VAR_1% Processo %VAR_2% - Progresso: %VAR_3%% [%VAR_4% de %VAR_5%] - Atualizações: %VAR_6%, Erros: %VAR_7%%VAR_8%", diff --git a/src/lang.ts b/src/lang.ts index 709a1f0..37126ad 100644 --- a/src/lang.ts +++ b/src/lang.ts @@ -181,7 +181,7 @@ export var langDatabase:any = { "batch_overallProgress": "Overall Progress: %VAR_0%% [%VAR_1% of %VAR_2%]", "batch_updateCounter": "Update counter: %VAR_0%", "batch_errorCounter": "Error counter: %VAR_0%", - "batch_elapsedTime": "Elapsed time: %VAR_0%%VAR_1%%VAR_2%", + "batch_elapsedTime": "Elapsed time: %VAR_0%", "batchProcessList": "==> Process list:", "batchProcess": "%VAR_0% %VAR_1% Process %VAR_2% - Progress: %VAR_3%% [%VAR_4% of %VAR_5%] - Repos updated: %VAR_6%, Errors: %VAR_7%%VAR_8%", diff --git a/src/update.ts b/src/update.ts index 5b79ea8..c8332f4 100644 --- a/src/update.ts +++ b/src/update.ts @@ -348,7 +348,7 @@ function processBatchResFiles(){ // Update entryChar if there is only one process and update elapsed time line if (totalResFiles === 1) entryChar = '-->'; - updateConsoleLine(0, 12, ` ├ ${grpp_convertLangVar(langDatabase.update.batch_elapsedTime, [consoleTextStyle.fgGreen, converMsToHHMMSS(parsePositive(performance.now() - startUpdateTime)), consoleTextStyle.reset])}`); + updateConsoleLine(0, 12, ` ├ ${grpp_convertLangVar(langDatabase.update.batch_elapsedTime, [converMsToHHMMSS(parsePositive(performance.now() - startUpdateTime))])}`); // Check if process finished - if so, update checkbox char and update each process line if (batchResData.currentRepo > (batchResData.totalRepos - 1)) checkboxChar = `[${consoleTextStyle.fgGreen}✓${consoleTextStyle.reset}]`; diff --git a/src/utils.ts b/src/utils.ts index 73102f1..3a133d0 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -12,7 +12,7 @@ import { grppSettings } from './main'; import { grppRepoEntry } from './import'; import { grpp_convertLangVar, langDatabase } from './lang'; -import { consoleClear, converMsToHHMMSS, convertArrayToString, createLogEntry, execReasonListCheck, trimString } from './tools'; +import { consoleClear, consoleTextStyle, converMsToHHMMSS, createLogEntry, execReasonListCheck, trimString } from './tools'; /* Require node modules @@ -57,7 +57,7 @@ export function grpp_printStatus(){ */ export function grpp_getLogoString(removeColors:boolean = !1):string { - var logo = ` + var logo = `${consoleTextStyle.reset} <=====================================================> <=| Git Repo Preservation Project (GRPP) |=> <=| Created by TheMitoSan (@themitosan.bsky.social) |=>