Giter Club home page Giter Club logo

translate-readme's People

Contributors

andrii-bodnar avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

translate-readme's Issues

Error: Invalid name given. Name must be unique

Problem Description

Recently, I tested this GitHub Action, but it failed with the following error:

Error: Invalid name given. Name must be unique

The following is my test action:

Click to expand action
      - name: Translate Readme
        uses: crowdin/[email protected]
        with:
          upload_sources: true
          download_translations: false
          language_switcher: true
        env:
          CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
          CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}

The following is my test README.md:

Click to expand README.md
<!-- TRANSLATE-README-LANGUAGES-START -->
<h2 id="table-of-contents">
Table of Contents
</h2>

* <a href="#introduction">Introduction</a>
* <a href="#documentation">Documentation</a>
* <a href="#progress-of-translations">Progress of Translations</a>
* <a href="#preview-translations">Preview Translations</a>
  * <a href="#preview-in-local-build">Preview in Local Build</a>
  * <a href="#preview-in-gh-pages">Preview in GitHub Pages</a>
* <a href="#contributors-list">Contributors</a>
  * <a href="#github-contributors">GitHub Contributors</a>
  * <a href="#crowdin-contributors">Crowdin Contributors</a>
<!-- TRANSLATE-README-LANGUAGES-END -->

And the following is my full log of this step:

Click to expand logs
Run crowdin/[email protected]
  with:
    upload_sources: true
    download_translations: false
    language_switcher: true
    file: README.md
    destination: ./
  env:
    CROWDIN_PROJECT_ID: ***
    CROWDIN_PERSONAL_TOKEN: ***
Start...
Adding language switcher to README.md...
Uploading sources...
Error: Invalid name given. Name must be unique

Versions

crowdin/[email protected]

Language support

I'm Just wondering what languages this action supports. As its not clear in the readme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.