diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ca09bc5..1ca9825 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,3 @@ -#### Translation -Currently the admin page, account creation form and emails can be translated. Strings are defined in `lang//.json` (country code as in `en-us`, `fr-fr`, e.g). You can see the existing ones [here](https://github.com/hrfee/jfa-go/tree/main/lang). -Make sure to define `name` in the `meta` section, and you can optionally add an `author` value there as well. If you can, make a pull request with your new file. If not, email me or create an issue. - #### Code I use 4 spaces for indentation. Go should ideally be formatted with `goimports` and/or `gofmt`. I don't use a formatter on typescript, so don't worry about that. diff --git a/README.md b/README.md index d2b3ade..3658e49 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ![jfa-go](images/banner.svg) [![Build Status](https://drone.hrfee.pw/api/badges/hrfee/jfa-go/status.svg?ref=refs/heads/main)](https://drone.hrfee.pw/hrfee/jfa-go) [![Docker Hub](https://img.shields.io/docker/pulls/hrfee/jfa-go?label=docker)](https://hub.docker.com/r/hrfee/jfa-go) +[![Translation status](https://weblate.hrfee.pw/widgets/jfa-go/-/svg-badge.svg)](https://weblate.hrfee.pw/engage/jfa-go/) --- jfa-go is a user management app for [Jellyfin](https://github.com/jellyfin/jellyfin) (and now [Emby](https://emby.media/)) that provides invite-based account creation as well as other features that make one's instance much easier to manage. @@ -92,3 +93,7 @@ If you're switching from jellyfin-accounts, copy your existing `~/.jf-accounts` #### Contributing See [CONTRIBUTING.md](https://github.com/hrfee/jfa-go/blob/main/CONTRIBUTING.md). +##### Translation +[![Translation status](https://weblate.hrfee.pw/widgets/jfa-go/-/multi-auto.svg)](https://weblate.hrfee.pw/engage/jfa-go/) + +For translations, use the weblate instance [here](https://weblate.hrfee.pw/engage/jfa-go/). You can login with github.