Skip to content

Commit

Permalink
Change target branch of coverage and pretty print (excalidraw#1850)
Browse files Browse the repository at this point in the history
  • Loading branch information
lipis authored Jul 1, 2020
1 parent 2a25480 commit 89cf826
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 5 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ build/
package-lock.json
.vscode/
firebase/
src/locales/percentages.json
2 changes: 1 addition & 1 deletion .github/workflows/locales-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build locales percentages
on:
push:
branches:
- "master"
- "l10n_master"
paths:
- "src/locales/**.json"
- "!src/locales/percentages.json"
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
src/locales/percentages.json
2 changes: 1 addition & 1 deletion scripts/build-locales-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
31 changes: 30 additions & 1 deletion src/locales/percentages.json
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 89cf826

Please sign in to comment.