make readmes translateable

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-03-26 13:35:07 +01:00
parent 1bc59de021
commit db346dff10
7 changed files with 141 additions and 111 deletions
+3
View File
@@ -8,6 +8,9 @@ import (
"github.com/leonelquinteros/gotext"
)
// Template marks a string as translatable
func Template(s string) string { return s }
// Translator is able to translate strings
type Translator struct {
fs fs.FS