diff --git a/README.md b/README.md index 7a78b30e..c8f6237e 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,11 @@ Contributions are what make the open source community such an amazing place to l If you are not a coder, you can still contribute financially. Financial contributions help me prioritize working on this project over others and helps me know that there is a real demand for project development. +## Help us Translate +We want to make sure that Homebox is available in as many languages as possible. If you are interested in helping us translate Homebox, please help us via our [Weblate instance](https://translate.sysadminsmedia.com/projects/homebox/). + +[![Translation status](http://translate.sysadminsmedia.com/widget/homebox/multi-auto.svg)](http://translate.sysadminsmedia.com/engage/homebox/) + ## Credits - Original project by [@hay-kot](https://github.com/hay-kot) diff --git a/backend/app/api/routes.go b/backend/app/api/routes.go index faca9906..03288df5 100644 --- a/backend/app/api/routes.go +++ b/backend/app/api/routes.go @@ -4,12 +4,6 @@ import ( "embed" "errors" "fmt" - "io" - "mime" - "net/http" - "path" - "path/filepath" - "github.com/go-chi/chi/v5" "github.com/hay-kot/httpkit/errchain" httpSwagger "github.com/swaggo/http-swagger/v2" // http-swagger middleware @@ -19,6 +13,11 @@ import ( _ "github.com/sysadminsmedia/homebox/backend/app/api/static/docs" "github.com/sysadminsmedia/homebox/backend/internal/data/ent/authroles" "github.com/sysadminsmedia/homebox/backend/internal/data/repo" + "io" + "mime" + "net/http" + "path" + "path/filepath" ) const prefix = "/api" diff --git a/backend/pkgs/mailer/templates.go b/backend/pkgs/mailer/templates.go index cc5049f7..03302385 100644 --- a/backend/pkgs/mailer/templates.go +++ b/backend/pkgs/mailer/templates.go @@ -29,9 +29,9 @@ func (tp *TemplateProps) Set(key, value string) { func DefaultTemplateData() TemplateProps { return TemplateProps{ Defaults: TemplateDefaults{ - CompanyName: "Haybytes.com", + CompanyName: "sysadminsmedia.com", CompanyAddress: "123 Main St, Anytown, CA 12345", - CompanyURL: "https://haybytes.com", + CompanyURL: "https://sysadminsmedia.com", ActivateAccountURL: "https://google.com", UnsubscribeURL: "https://google.com", }, diff --git a/docs/en/contribute/get-started.md b/docs/en/contribute/get-started.md index 195882f8..9c790166 100644 --- a/docs/en/contribute/get-started.md +++ b/docs/en/contribute/get-started.md @@ -57,6 +57,11 @@ For documentation contributions, you only need Node.js and PNPM. - Redirects can also be configured per language by adding `Language=` after the redirect code ::: +## Translations +We use our own [Weblate instance](https://translate.sysadminsmedia.com/projects/homebox/) for translations. If you would like to help translate Homebox, please visit the Weblate instance and help us translate the project. + +[![Translation status](http://translate.sysadminsmedia.com/widget/homebox/multi-auto.svg)](http://translate.sysadminsmedia.com/engage/homebox/) + ## Branch Flow We use the `main` branch as the development branch. All PRs should be made to the `main` branch from a feature branch. To create a pull request you can use the following steps: diff --git a/frontend/components/App/ImportDialog.vue b/frontend/components/App/ImportDialog.vue index 3e4002c3..7ebece1c 100644 --- a/frontend/components/App/ImportDialog.vue +++ b/frontend/components/App/ImportDialog.vue @@ -1,9 +1,8 @@