We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410a842 commit 45e084fCopy full SHA for 45e084f
scripts/generate-translation-doc.ts
@@ -5,11 +5,11 @@ import languageNames from "../i18n/languageNames";
5
const TARGET_FILE = "./i18n/README.md";
6
7
function getProgressColor(progress: number): string {
8
- if (progress <= 20) return "#FF0000";
9
- if (progress <= 40) return "#FF7F00";
10
- if (progress <= 60) return "#FFFF00";
11
- if (progress <= 80) return "#7FFF00";
12
- return "#00FF00";
+ if (progress <= 20) return "FF0000";
+ if (progress <= 40) return "FF7F00";
+ if (progress <= 60) return "FFFF00";
+ if (progress <= 80) return "7FFF00";
+ return "00FF00";
13
}
14
15
function generateTranslationsMarkdown(locale: string): string {
0 commit comments