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

This commit is contained in:
Lipis 2020-07-01 12:05:21 +03:00 committed by GitHub
parent 2a25480272
commit 89cf826555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 5 deletions

View File

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

View File

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

View File

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

View File

@ -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",
);

View File

@ -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}
{
"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
}