Commit Graph

606 Commits

Author SHA1 Message Date
frankwalter1301 8e680ff576 Added translation using Weblate (Italian) 2021-02-16 15:16:58 +01:00
frankwalter1301 29d26aeb15 add translation from Weblate (Italian) 2021-02-16 15:16:58 +01:00
Harvey Tindall 33b7876826 build from tag on stable 2021-02-13 22:03:35 +00:00
Harvey Tindall 0fc4b5eb22 switch to buildx with qemu for builds 2021-02-13 21:59:33 +00:00
Harvey Tindall e672f9f14c lowercase lang names 2021-02-13 20:51:35 +00:00
Harvey Tindall 4d2e509950 merge language changes 2021-02-13 20:50:27 +00:00
Harvey Tindall a80e5c2aa9 purge manifest and recreate per build 2021-02-13 20:49:56 +00:00
Marketos Damigos cd375208ba Translated using Weblate (Greek)
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/setup/el/
2021-02-13 17:57:39 +01:00
Marketos Damigos 316f482bf5 Translated using Weblate (Greek)
Currently translated at 100.0% (32 of 32 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/emails/el/
2021-02-13 17:57:39 +01:00
Marketos Damigos 0f78390282 translation from Weblate (Greek)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/el/
2021-02-13 17:57:39 +01:00
Marketos Damigos 0b909fc02d Translated using Weblate (Greek)
Currently translated at 100.0% (9 of 9 strings)

Translation: jfa-go/Common Strings
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/common-strings/el/
2021-02-13 17:57:39 +01:00
mezzovide d4c6561abd Translated using Weblate (Indonesian)
Currently translated at 100.0% (32 of 32 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/emails/id/
2021-02-13 17:57:39 +01:00
Marketos Damigos 1f5e6537a5 translation from Weblate (Greek)
Currently translated at 100.0% (27 of 27 strings)

Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/form/el/
2021-02-13 17:57:39 +01:00
mezzovide 97f2ae34ca Translated using Weblate (Indonesian)
Currently translated at 1.0% (1 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/setup/id/
2021-02-13 17:57:39 +01:00
mezzovide d193afbeca translation from Weblate (Indonesian)
Currently translated at 100.0% (27 of 27 strings)

Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/form/id/
2021-02-13 17:57:39 +01:00
mezzovide abea430b6b Translated using Weblate (Indonesian)
Currently translated at 100.0% (9 of 9 strings)

Translation: jfa-go/Common Strings
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/common-strings/id/
2021-02-13 17:57:39 +01:00
mezzovide 00cec2b157 translation from Weblate (Indonesian)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/id/
2021-02-13 17:57:39 +01:00
Marketos Damigos 41ff0be839 Translated using Weblate (Greek)
Currently translated at 1.0% (1 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/setup/el/
2021-02-13 17:57:39 +01:00
mezzovide 25330533bd add translation from Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide 4afd1bd4b5 Added translation using Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide cf185efdfc add translation from Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide 4ec9756f58 Added translation using Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide cda7db5718 Added translation using Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
Marketos Damigos 3b37fb5692 Added translation using Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos 40c83803de Added translation using Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos a9811c164e Added translation using Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos 8f000876b3 add translation from Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos 0af393236f add translation from Weblate (Greek) 2021-02-13 17:57:39 +01:00
hrfee 3153c65f5a Translated using Weblate (English)
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/setup/en/
2021-02-13 17:57:39 +01:00
virusperfect 6ce825bd41 translation from Weblate (German)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/de/
2021-02-13 17:57:38 +01:00
Harvey Tindall 060f0efc16 pull containers before manifest, run on different host 2021-02-13 14:05:04 +00:00
Harvey Tindall c3fb00a307 wrong go version container 2021-02-12 15:37:19 +00:00
Harvey Tindall 988829a6db dont build docker on go1.16 branch 2021-02-12 15:22:21 +00:00
Harvey Tindall 76935a300a dont build docker on go1.16 branch 2021-02-12 15:21:58 +00:00
Harvey Tindall a6a7710a79 use filepath.Join wrapper for different embed and os path styles
If using internal, "/" is used as a separator always, and with external,
filepath.Join is used.
2021-02-12 14:59:35 +00:00
Harvey Tindall 873afb47cd strip debug symbols in makefile 2021-02-12 14:59:35 +00:00
Harvey Tindall ea99966057 refactor, move route loading to router.go 2021-02-12 14:59:16 +00:00
Harvey Tindall aaed272bf2 use embed.fs wrapper on data 2021-02-12 14:35:16 +00:00
Harvey Tindall e6775cd2d1 use embed.fs wrapper for langFS so lang/ is not needed in paths
[files]lang_files is now the path to the lang directory, not path to a
directory containing it.
2021-02-12 14:35:16 +00:00
Harvey Tindall 98a9e20cc0 Fix docker build, add GOBINARY flag for make
GOBINARY defaults to "go", but if you want to build on a normal system,
you'll likely set it to go1.16rc1 with "make all GOBINARY=go1.16rc1".
2021-02-12 14:35:13 +00:00
Harvey Tindall ee37588959 drone image 2021-02-12 14:32:57 +00:00
Harvey Tindall cb12c6f441 update goreleaser 2021-02-12 14:32:57 +00:00
Harvey Tindall 72cf3e2240 add external/internal data options
"make all" will build with internal data, whereas "make debug"/"make
all-external" will make an external "data/" directory.
2021-02-12 14:32:48 +00:00
Harvey Tindall 815bdc35ac fully self-contained
paths are pretty janky, but it works. Also, [files]/lang_files now must
be the path to a directory CONTAINING a "lang/" directory. I'll work
around this at a later date.
2021-02-12 14:28:09 +00:00
Harvey Tindall 0330540f87 Use fs for language, add lang_files option
The local app translations are loaded, and then if [files]/lang_files
is provided (a directory containing custom translations), any found
inside it are loaded over top. This makes customizing much easier.
2021-02-12 14:28:09 +00:00
Harvey Tindall fefe2d82a4 rebase 12/02, use go1.16rc1 in make, remove ioutil, start switching to io/fs for file i/o
ioutil's contents are now in io and os.
Eventually jfa-go's files will be embedded in the binary with go1.16's
new embed feature. Using io/fs will provide abstraction for accessing
these files, and allow for both embedded and non-embedded versions.
Also, internal paths to things like email templates, etc. will be
prefixed with "jfa-go:" to indicate to use the app's own Filesystem
instead of reading the file normally. This also allows for custom files
to continue to be used as they are currently.
2021-02-12 14:27:01 +00:00
Harvey Tindall 1af8d1f77d fix url in account creation success page 2021-02-12 13:38:34 +00:00
Harvey Tindall 4c653fea36 fix url base on invite and broken getLanguages 2021-02-12 12:52:08 +00:00
Harvey Tindall 2ee0ed55f6 forgot key agh 2021-02-12 00:35:20 +00:00
Harvey Tindall 94981f4891 dont use drone manifest plugin 2021-02-11 23:52:05 +00:00