2.2 KiB
Contributing
You're welcome to contribute to the code or to the translations!
Table of contents
Contributing to the code
You'll need NPM to install the development dependencies:
npm install --save-dev
When you're done, commit all your changes. Make one commit per change. The commit message must include which part of the code you worked on. Example:
Commands Switcher: Change spawned command
You can then push to a branch and create a new merge request.
Coding style
We follow the GNOME Shell coding style and we use ESLint to enforce it.
To make sure your code follows it:
npm run test-lint
Copyright notice
If you make changes to a file, please put your copyright notice to the top of the file, or in a separate file (named original-file.ext.license), following the SPDX specification.
Run reuse to check that all the needed information is present:
reuse lint
Localized strings
If you modify localized strings, make your changes available for translation:
make pot
Contributing to the translations
The project uses Weblate to manage translations. Head over Night Theme Switcher's project page to start translating the extension. If you need help, check out Weblate's user documentation.
Current translation status: