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

Feature: translate descriptions #710

Open
wants to merge 30 commits into
base: dev
Choose a base branch
from
Open

Feature: translate descriptions #710

wants to merge 30 commits into from

Conversation

elevatebart
Copy link
Member

@elevatebart elevatebart commented Jan 14, 2020

  • create a docgen-cli command to create translation files for components
  • create a docgen-cli command to check/update translation files for components
  • when creating files using docgen-cli, if there is translations found, and there is a language specified use the files to translate the descriptions

closes #553

@codecov
Copy link

codecov bot commented Jan 14, 2020

Codecov Report

Merging #710 (f337511) into dev (ad5248d) will decrease coverage by 23.79%.
The diff coverage is 84.12%.

❗ Current head f337511 differs from pull request most recent head 8f34739. Consider uploading reports for the commit 8f34739 to get more accurate results

@@             Coverage Diff             @@
##              dev     #710       +/-   ##
===========================================
- Coverage   88.38%   64.59%   -23.80%     
===========================================
  Files         113      180       +67     
  Lines        8466     4940     -3526     
  Branches     1174     1462      +288     
===========================================
- Hits         7483     3191     -4292     
- Misses        949     1677      +728     
- Partials       34       72       +38     
Impacted Files Coverage Δ
packages/vue-docgen-i18n/src/bin.ts 0.00% <0.00%> (ø)
packages/vue-docgen-i18n/src/generateTrans.ts 92.85% <92.85%> (ø)
packages/vue-docgen-api/src/mergeTranslations.ts 94.28% <94.28%> (ø)
packages/vue-docgen-api/src/main.ts 91.66% <100.00%> (+0.23%) ⬆️
...docgen-api/src/utils/documentRequiredComponents.ts 100.00% <100.00%> (+4.03%) ⬆️
...es/vue-docgen-api/src/utils/recursiveResolveIEV.ts 100.00% <100.00%> (+0.89%) ⬆️
packages/vue-docgen-i18n/src/setAtPath.ts 100.00% <100.00%> (ø)
packages/vue-docgen-i18n/src/translate.ts 100.00% <100.00%> (ø)
...s/vue-styleguidist/src/loaders/utils/absolutize.ts 0.00% <0.00%> (-100.00%) ⬇️
packages/vue-docgen-cli/src/compileTemplates.ts 33.33% <0.00%> (-60.17%) ⬇️
... and 194 more

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

@elevatebart elevatebart changed the title Feat: translate descriptions Feature: translate descriptions Jan 24, 2020
@elevatebart elevatebart added this to To Do in vue-docgen-cli Jan 28, 2020
@stale stale bot added the stale more than 60 days without activity label May 18, 2020
@elevatebart elevatebart removed the stale more than 60 days without activity label May 19, 2020
@stale stale bot added the stale more than 60 days without activity label Jul 18, 2020
@elevatebart elevatebart added intend to implement Sometime in the next 2 major release this will be implemented and removed stale more than 60 days without activity labels Jul 19, 2020
@vue-styleguidist vue-styleguidist deleted a comment from stale bot Oct 12, 2020
@vue-styleguidist vue-styleguidist deleted a comment from stale bot Oct 12, 2020
@changeset-bot
Copy link

changeset-bot bot commented Oct 16, 2022

⚠️ No Changeset found

Latest commit: 8f34739

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cypress
Copy link

cypress bot commented Oct 16, 2022



Test summary

49 0 0 0


Run details

Project vue-styleguidist
Status Passed
Commit 8f34739
Started Oct 24, 2022 1:59 PM
Ended Oct 24, 2022 2:02 PM
Duration 03:06 💡
OS Linux Debian - 11.3
Browser Electron 102

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intend to implement Sometime in the next 2 major release this will be implemented
Projects
vue-docgen-cli
  
To Do
Development

Successfully merging this pull request may close these issues.

internationalization needed on description
1 participant