Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions i18n/arabic.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const cli = {
http_server_started: "تم تشغيل خادم HTTP على:",
missingEnv: tS`متغير البيئة ${0} مفقود!`,
stat: tS`${0}${1} في ${2}`,
tarballStats: {
path: tS`المسار: ${0}`,
filesCount: tS`عدد الملفات: ${0}`
},
error: {
name: tS`اسم ${0}: ${1}`,
message: tS`الرسالة: ${0}`,
Expand Down
6 changes: 5 additions & 1 deletion i18n/english.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ const cli = {
successfully_written_json: tS`Successfully written results file at: ${0}`,
http_server_started: "HTTP Server started on:",
missingEnv: tS`Environment variable ${0} is missing!`,
stat: tS`${0}${1} in ${2}`,
stat: tS`${0}${1} in ${2}${3}${4}`,
tarballStats: {
path: tS`Path: ${0}`,
filesCount: tS`Files count: ${0}`
},
error: {
name: tS`${0} name: ${1}`,
message: tS`Message: ${0}`,
Expand Down
4 changes: 4 additions & 0 deletions i18n/french.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const cli = {
http_server_started: "Serveur HTTP démarré sur :",
missingEnv: tS`La variable d'environnement ${0} est manquante!`,
stat: tS`${0}${1} en ${2}`,
tarballStats: {
path: tS`Chemin: ${0}`,
filesCount: tS`Nombre de fichiers: ${0}`
},
error: {
name: tS`Nom ${0}: ${1}`,
message: tS`Message: ${0}`,
Expand Down
4 changes: 4 additions & 0 deletions i18n/turkish.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const cli = {
http_server_started: "HTTP Sunucusu başlatıldı:",
missingEnv: tS`${0} ortam değişkeni eksik!`,
stat: tS`${0}${1} içinde ${2}`,
tarballStats: {
path: tS`Yol: ${0}`,
filesCount: tS`Dosya sayısı: ${0}`
},
error: {
name: tS`${0} adı: ${1}`,
message: tS`Mesaj: ${0}`,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"@nodesecure/ossf-scorecard-sdk": "4.0.1",
"@nodesecure/rc": "5.5.0",
"@nodesecure/report": "4.2.2",
"@nodesecure/scanner": "10.10.0",
"@nodesecure/scanner": "10.11.0",
"@nodesecure/server": "1.0.0",
"@nodesecure/utils": "^2.2.0",
"@nodesecure/vulnera": "3.1.0",
Expand Down
4 changes: 3 additions & 1 deletion src/commands/loggers/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export function logScannerStat(stat, isVerbose = true) {
i18n.getTokenSync("cli.stat",
isVerbose ? kleur.blue().bold("verbose ") : "",
stat.name,
colorExecutionTime(stat.executionTime)
colorExecutionTime(stat.executionTime),
stat.tarball?.path ? ` ${i18n.getTokenSync("cli.tarballStats.path", stat.tarball.path)}` : "",
stat.tarball?.filesCount ? ` ${i18n.getTokenSync("cli.tarballStats.filesCount", stat.tarball.filesCount)}` : ""
)));
}

Expand Down
Loading