aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-18 19:56:30 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-02-18 19:56:30 +0100
commit457c5475aaa68cb073976281da57365154da1e5a (patch)
tree68e3fa4a972210126917859a77c89d675feb98ab
parent2140af23537174b48573dea604c6fa5b237d3e47 (diff)
downloadhonk_custom-457c5475aaa68cb073976281da57365154da1e5a.tar.gz
honk_custom-457c5475aaa68cb073976281da57365154da1e5a.zip
updated readme
-rw-r--r--README.md31
1 files changed, 22 insertions, 9 deletions
diff --git a/README.md b/README.md
index 5563d21..3be3aa3 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,34 @@
# honk_custom
-Custom html page and templates or patches for the
+[download here](https://git.les-miquelots.net/honk_custom/snapshot/honk_custom-master.zip)
+
+Custom html templates and patches for the
[honk](https://humungus.tedunangst.com/r/honk) federated
ActivityPub server.
These are mainly related to the UX, but patching of the Go files
might happen if I feel the need.
-# How to use
+# i18n
+
+The patch `03_bloated_i18n_implementation.patch` works on
+`web.go` in the latest changeset
+of honk, [dca9f49c629f](https://humungus.tedunangst.com/r/honk/v/dca9f49c629f).
-Clone or [download](https://git.les-miquelots.net/honk_custom/snapshot/honk_custom-master.zip)
-this repository and then copy the contents of the `views` directory on
-your honk `views` directory. For patches, I advice you to execute the
-following : `man patch`.
+The translations of honks are contained in the `i18n.go` and
+`views/i18n/honkpage.js` files. Contact me if you need
+help to add translations or notify me for problems, suggestions or
+improvements.
-The translations are contained in the `i18n.go` file at the root
-of this repo. The structure is fairly simple, contact me if you need
-help to add translations or notify me for problems with it.
+Command line to do after adding translations to compile
+and run the i18n'd honk should ressemble this:
+```
+cp patches/03_bloated_i18n_implementation.patch ../honk/
+cp views/i18n/* ../honk/views/
+cd ../honk
+patch -b < 03_bloated_i18n_implementation.patch
+make all
+./honk
+```
# Screenshots