mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 13:47:05 +02:00
Documented general configuration and usage
This commit is contained in:
parent
d6ca8d33f7
commit
0b1806367f
3 changed files with 87 additions and 14 deletions
|
@ -18,15 +18,11 @@ After strings have been added or modified in the code or after changes have been
|
|||
|
||||
This requires the gotext tool to be installed:
|
||||
|
||||
```
|
||||
go install golang.org/x/text/cmd/gotext@latest
|
||||
```
|
||||
go install golang.org/x/text/cmd/gotext@latest
|
||||
|
||||
The following command will extract all strings and merge the translations:
|
||||
|
||||
```
|
||||
go generate ./internal/translations/translations.go
|
||||
```
|
||||
go generate ./internal/translations/translations.go
|
||||
|
||||
|
||||
## License
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue