Freecodecamp: Remove all empty translations

Created on 27 Jan 2017  路  6Comments  路  Source: freeCodeCamp/freeCodeCamp

Some of the challenges in the seed files have translations with no text. These will cause errors when campers have selected these languages. These look like:

      "translations": {
        "de": {
          "description": [],
          "title": ""
        }
      }

In this case, we would need to delete

        "de": {
          "description": [],
          "title": ""
        }

We need to go through and delete all of these empty translations from seed files, and leave the empty "translation": {}

help wanted

All 6 comments

@QuincyLarson I would like to take on this task.

Can I help this seems easy, I'm a beginner.

@envy7 Sure, be sure to follow the CONTRIBUTING.md. Happy coding.

@tmashuang thanks a lot, I'll get to work on it right away.

@QuincyLarson there are a lot of seed files should I do all the changes in a single commit, or in multiple commits and then squash them? Does it make a difference?

@envy7 you can do it in anyway as it suits you, but make sure when you have opened the pull request it has one commit.

Also, refer the contributing guide, most things have been answered there to guide you!

Thanks and happy fixing!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ROWn1ne picture ROWn1ne  路  3Comments

robwelan picture robwelan  路  3Comments

jurijuri picture jurijuri  路  3Comments

trashtalka3000 picture trashtalka3000  路  3Comments

MichaelLeeHobbs picture MichaelLeeHobbs  路  3Comments