csoc-de / Shifts

MIT License
30 stars 7 forks source link

Nextcloud Shifts

A shiftsplaner app for Nextcloud.

Why is this so awesome?

More to come:

If you experience any issues or have any suggestions for improvement, use the issue tracker.

Get on board

For new contributors, please check out ContributingToNextcloudIntroductoryWorkshop

Development

Setup

Just clone this repo into your apps directory (Nextcloud server installation needed). Additionally, npm to fetch Node.js is needed for installing JavaScript dependencies.

Once npm and Node.js are installed, PHP and JavaScript dependencies can be installed by running:

make dev-setup

Translation

Documentation for Nextcloud translation: https://docs.nextcloud.com/server/22/developer_manual/basics/front-end/l10n.html

Nextcloud translation tool: https://github.com/nextcloud/docker-ci/tree/master/translations/translationtool

  1. Generate .pot file: translationtool.phar create-pot-files
  2. Copy the template file into the language directory: cp shifts/translationfiles/templates/shifts.pot shifts/translationfiles/de/shifts.po
  3. Edit po file
  4. Convert po file: translationtool.phar convert-po-files

Documentation