HelloWorld017 / atom-discord

Integrate with Discord and show Rich Presence information.
https://atom.io/packages/atom-discord
MIT License
105 stars 30 forks source link

Showing UNDEFINED-TRANSLATION in large image section and rest image #83

Closed GamesProSeif closed 5 years ago

GamesProSeif commented 5 years ago

Comparing src/config.js and i18n/enUS.json files, translation of large image description and translation of rest description fails due to a type error. I would have pull requested this, but I don't have access to do so.

For fixing the problem, simply change the following lines in i18en/enUS.json

line 69

"config-smallImage-desc": "Change content of large image on Rich Presence",

line 95

"config-rest-description": "Change behaviour while you're resting",

to

line 69

"config-largeImage-desc": "Change content of large image on Rich Presence",

line 95

"config-rest-desc": "Change behaviour while you're resting",

And that's all, I checked the other files and I don't see them have these lines in theme anyways.

Edit: I have managed to create a pull request by forking the repository.

HelloWorld017 commented 5 years ago

Fixed by #84