Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit c9bb763

Browse files
feat: add translations for scorecard command (#44)
* feat: add translations for scorecard command Downgrade cacache from ^17.0.4 to 16.1.3 due to sync removals (see https://github.com/npm/cacache/releases/tag/v17.0.0). * i18n: improve translation
1 parent f1b7612 commit c9bb763

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

index.html

+10
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ <h1>NodeSecure - i18n</h1>
196196
<td>'{0}' has been selected as the new CLI language!</td>
197197
</tr>
198198

199+
<tr>
200+
<td>commands.scorecard.desc</td>
201+
<td>Display the OSSF Scorecard for a given repository or the current working directory (Github only, e.g. fastify/fastify)</td>
202+
</tr>
203+
199204
</tbody>
200205
<tbody class="fr">
201206

@@ -339,6 +344,11 @@ <h1>NodeSecure - i18n</h1>
339344
<td>'{0}' a été selectionné comme étant le nouveau langage du CLI !</td>
340345
</tr>
341346

347+
<tr>
348+
<td>commands.scorecard.desc</td>
349+
<td>Afficher la fiche de score OSSF du repo donné ou du repertoire actuel (Github uniquement ex. fastify/fastify)</td>
350+
</tr>
351+
342352
</tbody>
343353
</table>
344354
<table id="table-depwalker" class="table" role="tabpanel" aria-labelledby="table-depwalker-tab">

languages/english.js

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ export const cli = {
5050
desc: "Configure the CLI default language",
5151
question_text: "What language do you want to use?",
5252
new_selection: tS`'${0}' has been selected as the new CLI language!`
53+
},
54+
scorecard: {
55+
desc: "Display the OSSF Scorecard for a given repository or the current working directory (Github only, e.g. fastify/fastify)"
5356
}
5457
}
5558
};

languages/french.js

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ export const cli = {
5050
desc: "Configure le langage par défaut du CLI",
5151
question_text: "Quel langage souhaitez-vous utiliser ?",
5252
new_selection: tS`'${0}' a été selectionné comme étant le nouveau langage du CLI !`
53+
},
54+
scorecard: {
55+
desc: "Afficher la fiche de score OSSF du repo donné ou du repertoire actuel (Github uniquement ex. fastify/fastify)"
5356
}
5457
}
5558
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"type": "module",
4343
"dependencies": {
44-
"cacache": "^17.0.4",
44+
"cacache": "16.1.3",
4545
"lodash.get": "^4.4.2"
4646
}
4747
}

0 commit comments

Comments
 (0)