Browse Source

Change target branch of coverage and pretty print (#1850)

vanilla_orig
Lipis 4 years ago
parent
commit
89cf826555
No account linked to committer's email address

+ 0
- 1
.eslintignore View File

@@ -3,4 +3,3 @@ build/
3 3
 package-lock.json
4 4
 .vscode/
5 5
 firebase/
6
-src/locales/percentages.json

+ 1
- 1
.github/workflows/locales-coverage.yml View File

@@ -3,7 +3,7 @@ name: Build locales percentages
3 3
 on:
4 4
   push:
5 5
     branches:
6
-      - "master"
6
+      - "l10n_master"
7 7
     paths:
8 8
       - "src/locales/**.json"
9 9
       - "!src/locales/percentages.json"

+ 0
- 1
.prettierignore View File

@@ -1 +0,0 @@
1
-src/locales/percentages.json

+ 1
- 1
scripts/build-locales-coverage.js View File

@@ -27,6 +27,6 @@ for (let index = 0; index < locales.length; index++) {
27 27
 
28 28
 writeFileSync(
29 29
   `${__dirname}/../src/locales/percentages.json`,
30
-  JSON.stringify(percentages),
30
+  JSON.stringify(percentages, null, 2),
31 31
   "utf8",
32 32
 );

+ 30
- 1
src/locales/percentages.json View File

@@ -1 +1,30 @@
1
-{"ar-SA":57,"bg-BG":81,"ca-ES":92,"de-DE":100,"el-GR":98,"en":100,"es-ES":97,"fa-IR":100,"fi-FI":100,"fr-FR":100,"he-IL":94,"hi-IN":100,"hu-HU":58,"id-ID":59,"it-IT":97,"ja-JP":77,"ko-KR":72,"nb-NO":100,"nl-NL":85,"nn-NO":100,"pl-PL":99,"pt-PT":100,"ru-RU":81,"sq-AL":42,"tr-TR":98,"uk-UA":100,"zh-CN":100,"zh-TW":100}
1
+{
2
+  "ar-SA": 57,
3
+  "bg-BG": 81,
4
+  "ca-ES": 92,
5
+  "de-DE": 100,
6
+  "el-GR": 98,
7
+  "en": 100,
8
+  "es-ES": 97,
9
+  "fa-IR": 100,
10
+  "fi-FI": 100,
11
+  "fr-FR": 100,
12
+  "he-IL": 94,
13
+  "hi-IN": 100,
14
+  "hu-HU": 58,
15
+  "id-ID": 59,
16
+  "it-IT": 97,
17
+  "ja-JP": 77,
18
+  "ko-KR": 72,
19
+  "nb-NO": 100,
20
+  "nl-NL": 85,
21
+  "nn-NO": 100,
22
+  "pl-PL": 99,
23
+  "pt-PT": 100,
24
+  "ru-RU": 81,
25
+  "sq-AL": 42,
26
+  "tr-TR": 98,
27
+  "uk-UA": 100,
28
+  "zh-CN": 100,
29
+  "zh-TW": 100
30
+}

Loading…
Cancel
Save