diff --git a/ci/translate/issue.tpl b/ci/translate/issue.tpl deleted file mode 100644 index a5814b1..0000000 --- a/ci/translate/issue.tpl +++ /dev/null @@ -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 -}} diff --git a/ci/translate/issue.tpl.md b/ci/translate/issue.tpl.md new file mode 100644 index 0000000..72bfeea --- /dev/null +++ b/ci/translate/issue.tpl.md @@ -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 -}} diff --git a/ci/translate/issuegen.go b/ci/translate/issuegen.go index 51b4931..9ac77d6 100644 --- a/ci/translate/issuegen.go +++ b/ci/translate/issuegen.go @@ -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 {