2023-12-22 20:18:32 +01:00
|
|
|
# Official Outbag App
|
|
|
|
Source code of the official outbag app,
|
|
|
|
written in flutter.
|
|
|
|
|
|
|
|
## Building
|
|
|
|
To build the Outbag App you can use the flutter-cli.
|
|
|
|
Make sure to replace `web` with the platform of your choice.
|
|
|
|
``` sh
|
|
|
|
flutter build web
|
|
|
|
```
|
|
|
|
|
|
|
|
## Translating
|
|
|
|
This app uses /l10n/ according to the official flutter
|
|
|
|
[internationalization guide](https://docs.flutter.dev/development/accessibility-and-localization/internationalization)
|
|
|
|
|
|
|
|
We use [weblate](https://translate.codeberg.org/engage/outbag/) to manage translations.
|
|
|
|
|
|
|
|
[![Translation status](https://translate.codeberg.org/widget/outbag/outbag-app/multi-auto.svg)](https://translate.codeberg.org/engage/outbag/)
|
2023-12-22 20:27:26 +01:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
To keep the code formatted properly,
|
|
|
|
we use git hooks to format files before committing.
|
|
|
|
|
|
|
|
You can easily add git-hooks using the following command:
|
|
|
|
``` sh
|
|
|
|
git config core.hooksPath ./hooks
|
|
|
|
```
|
|
|
|
|
|
|
|
Afterwards the `pre-commit` hook will automatically be run,
|
|
|
|
when you commit your changes:
|
|
|
|
``` sh
|
|
|
|
git add # some files
|
|
|
|
git commit
|
|
|
|
```
|