mirror of
https://github.com/Luzifer/ots.git
synced 2025-04-19 06:55:51 -04:00
Add explanation to issue, move file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
8f39698462
commit
f2cec60927
@ -1,20 +0,0 @@
|
||||
---
|
||||
title: Missing Translations
|
||||
---
|
||||
> As a developer I want my application to have correct translations in all available languages and not to have them to experience mixed translations in their native language and English.
|
||||
|
||||
In order to achieve this we need to fix the following missing translations:
|
||||
|
||||
{{ range $lang, $translation := .Translations -}}
|
||||
{{ if MissingTranslations $lang -}}
|
||||
### Language: `{{ $lang }}`
|
||||
|
||||
Please add the following translations:
|
||||
{{ range MissingTranslations $lang }}
|
||||
- `{{ . }}`
|
||||
> {{ English . }}
|
||||
{{ end }}
|
||||
_{{ Ping $lang }}_
|
||||
|
||||
{{ end -}}
|
||||
{{ end -}}
|
22
ci/translate/issue.tpl.md
Normal file
22
ci/translate/issue.tpl.md
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Missing Translations
|
||||
---
|
||||
> As a developer I want my application to have correct translations in all available languages and not to have them to experience mixed translations in their native language and English.
|
||||
|
||||
**In order to achieve this we need to fix the following missing translations.**
|
||||
|
||||
To do so please either **create a pull-request** updating the `i18n.yaml` in the root of the repository and add the missing translations to the corresponding language or **just leave a comment** below and ping @Luzifer in your comment. He then will integrate the new translation strings and mark your comment hidden after this issue has been automatically updated (kind of a to-do list for translations until we have something better in place).
|
||||
|
||||
{{ range $lang, $translation := .Translations -}}
|
||||
{{ if MissingTranslations $lang -}}
|
||||
### Language: `{{ $lang }}`
|
||||
|
||||
Please add the following translations:
|
||||
{{ range MissingTranslations $lang }}
|
||||
- `{{ . }}`
|
||||
> {{ English . }}
|
||||
{{ end }}
|
||||
_{{ Ping $lang }}_
|
||||
|
||||
{{ end -}}
|
||||
{{ end -}}
|
@ -10,7 +10,7 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
//go:embed issue.tpl
|
||||
//go:embed issue.tpl.md
|
||||
var issueTemplate string
|
||||
|
||||
func generateIssue(tf translationFile) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user