Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Crowdin integration #320

Merged
merged 1 commit into from
Nov 21, 2022
Merged

Conversation

andrii-bodnar
Copy link
Contributor

@andrii-bodnar andrii-bodnar commented Nov 21, 2022

In this PR:

  • improve localization workflow trigger to trigger only on the l10n/bundle.l10n.json update
  • bump the crowdin/github-action version
  • remove upload_translations since this option was needed only for initial translations uploading to Crowdin

@codecov-commenter
Copy link

Codecov Report

Merging #320 (7e0717b) into master (fe1b63f) will decrease coverage by 2.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
- Coverage   16.22%   14.07%   -2.16%     
==========================================
  Files          19       17       -2     
  Lines        1103      746     -357     
  Branches      159      102      -57     
==========================================
- Hits          179      105      -74     
+ Misses        916      641     -275     
+ Partials        8        0       -8     
Impacted Files Coverage Δ
src/common/names.ts 80.00% <0.00%> (-6.67%) ⬇️
src/extension/extension.ts
src/common/localize.ts

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@andrii-bodnar
Copy link
Contributor Author

The CI failed with the error message:

SVGs are restricted in README.md; please use other file image formats, such as PNG: https://badges.crowdin.net/vscode-pets/localized.svg

Should I remove this badge?

README.md Outdated
@@ -17,6 +17,7 @@
[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/tonybaloney.vscode-pets?color=blue&logo=visual-studio)](https://marketplace.visualstudio.com/items?itemName=tonybaloney.vscode-pets&WT.mc_id=python-17801-anthonyshaw)
[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/tonybaloney.vscode-pets?logo=visualstudio)](https://marketplace.visualstudio.com/items?itemName=tonybaloney.vscode-pets&WT.mc_id=python-17801-anthonyshaw)
[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/tonybaloney.vscode-pets?logo=visualstudio)](https://marketplace.visualstudio.com/items?itemName=tonybaloney.vscode-pets&WT.mc_id=python-17801-anthonyshaw)
[![Crowdin](https://badges.crowdin.net/vscode-pets/localized.svg)](https://crowdin.com/project/vscode-pets)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vs code won't allow this to be bundled in the package (see the build error)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, so I will remove this badge, thank you!

There is another way to add a localized badge - Badges & Status Images

You can install this app and then add the shields-based badge if you don't mind

Or, at least, add the Crowdin project link to the Readme

@tonybaloney tonybaloney merged commit 7c2bce4 into tonybaloney:master Nov 21, 2022
tonybaloney added a commit that referenced this pull request Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants