A human-readable clock for the gnome-shell panel.
Translated to English, Italian, German, French and Esperanto (read below if you want to contribute a translation).
This extension can be installed from the official Gnome Extensions website.
Some npm commands are available to make development on this extension easier.
npm run testto run the test suite;npm run lintandnpm run lint:fixto run the linter (with optional auto-fixing of errors);npm run buildto build the extension bundle;npm run installto install the extension locally (nb: requires a restart of the shell, which can be done viaAlt+F2, commandr);npm run logsto tail the logs of the Gnome shell, useful in case of errors.
New translations are very welcome!
If you want to contribute a translation, generate a .po file with the translated strings.
You can start from an existing one (e.g., po/it.po) as a blueprint.
There are great GUI tools for translations, like Poedit or the GNOME Translation Editor.
%0 refers to the current hour (should therefore be used in strings like Five past %0).
%1 refers to the next hour (use it in Quarter to %1, for example.)
To generate the machine-readable .mo translation files, place the <lang>.po file in the po/ directory and build the extension with:
$ npm run build
Note that gettext is required for this command to work.
Once the translations are ready, create a PR with your proposed changes.
