You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
Contributing
- Read the CODE_OF_CONDUCT
- Speak in English, if possible
Bug Reports, Feature Requests, & Questions
- Fill out the template as best you can
Code
- Lint your code with eslint
- You agree that your code will be distributed under the GPL-2.0-or-later
Building
The extension uses the meson build system.
- You can set up a development environment by running
meson setup --prefix=$HOME/.local builddir
- You can optionally configure the locale path by running
meson setup --prefix=$HOME/.local -Dlocaledir=$HOME/.local/share/gnome-shell/extensions/hibernate@dafne.rocks/locale builddir
- You can optionally configure the locale path by running
- You can compile and install a build by running
meson install -C builddir
- Changes to the
meson.build
will require reconfiguring it withmeson --reconfigure builddir
- You can create a packed extension by running
meson compile extension.zip -C builddir
Translations
- Additional files to translate can be added by updating the
po/POTFILES
file - The translations
.pot
file can be regenerated by runningmeson compile hibernate@dafne.rocks-pot -C builddir
- To add translations for a new language, add the language code to
po/LINGUAS
- Make sure the language code is unique and sorted by running
cat po/LINGUAS | uniq -u | sort > po/LINGUAS
- Update the list of
.po
files by runningmeson compile hibernate@dafne.rocks-update-po -C builddir
- Make sure the language code is unique and sorted by running
- For additional help, refer to the meson localisation guide