Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

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

Lipis89cf826555e6
diff --git a/.eslintignore b/.eslintignore
index 4769ecb5eb..fd61fca296 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -3,4 +3,3 @@ build/
package-lock.json
.vscode/
firebase/
-src/locales/percentages.json
diff --git a/.github/workflows/locales-coverage.yml b/.github/workflows/locales-coverage.yml
index ccc76e1d49..fcb50ce0ab 100644
--- a/.github/workflows/locales-coverage.yml
+++ b/.github/workflows/locales-coverage.yml
@@ -3,7 +3,7 @@ name: Build locales percentages
on:
push:
branches:
- - "master"
+ - "l10n_master"
paths:
- "src/locales/**.json"
- "!src/locales/percentages.json"
diff --git a/.prettierignore b/.prettierignore
index 933921afba..e69de29bb2 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1 +0,0 @@
-src/locales/percentages.json
diff --git a/scripts/build-locales-coverage.js b/scripts/build-locales-coverage.js
index 289279986d..d939f5a027 100644
--- a/scripts/build-locales-coverage.js
+++ b/scripts/build-locales-coverage.js
@@ -27,6 +27,6 @@ for (let index = 0; index < locales.length; index++) {
writeFileSync(
`${__dirname}/../src/locales/percentages.json`,
- JSON.stringify(percentages),
+ JSON.stringify(percentages, null, 2),
"utf8",
);
diff --git a/src/locales/percentages.json b/src/locales/percentages.json
index 82f0cbb7d8..96b6c5f03c 100644
--- a/src/locales/percentages.json
+++ b/src/locales/percentages.json
@@ -1 +1,30 @@
-{"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}
\ No newline at end of file
+{
+ "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
+}