1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-11 21:10:26 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
012569b942 miscellaneous 2024-06-17 08:40:10 +01:00
Timur Ismagilov
b18abeba92 Show a different label for the /media/ link for textual hyphae 2022-09-03 17:05:55 +03:00
Timur Ismagilov
16c43371d9 Delete an unused l10n entry
There are more!
2022-08-21 18:02:45 +03:00
Timur Ismagilov
0e5fd60b9d Admin: Get rid of QTPL templates 2022-08-06 22:33:37 +05:00
Timur Ismagilov
0c3e46e51b Remove mentions of the sibling hyphae sidebar
Good night sweet prince
2022-08-06 13:49:01 +05:00
Timur Ismagilov
684c53aa8c Isolate hypha deletion view 2022-06-16 14:05:30 +03:00
Timur Ismagilov
e1f4b7465e History: Translate /history/ 2022-05-18 20:32:53 +03:00
Timur Ismagilov
1a98beccb4 History: Isolate recent changes 2022-05-18 19:12:00 +03:00
Timur Ismagilov
49b94074d1 Reimplement empty hypha notice with go templates 2022-04-24 14:11:53 +03:00
Timur Ismagilov
2dcb1a5fe7 Backlinks: Isolate 2022-04-02 19:58:57 +03:00
Timur Ismagilov
75ded17a03 Please staticcheck
I ignored ST1005: error strings should not be capitalized and some others
2022-04-02 11:09:37 +03:00
Timur Ismagilov
0a273f55f4 Admin: Port /admin/ to the new template approach 2022-03-26 18:26:14 +03:00
Timur Ismagilov
bd6b46f346 Experiment № 3. QTPL+l10nEntry
Encapsulate translations, but still use QTPL. Hmm
2022-02-27 13:44:47 +03:00
Timur Ismagilov
4494f2677e Return ui.about_title
It is used in <title> in /about
2022-02-27 12:53:43 +03:00
Timur Ismagilov
fc4fe4ea94 Experiment № 2. Reimplement AboutHTML
Used a somewhat different approach this time. I'm feeling inexplicable anger. More experiments to come!
2022-02-26 20:46:21 +03:00
Timur Ismagilov
1c955fd081 Views: Reimplement the topics sidebar
Instead of qtpl and l18n, I used html/template
and some functions. This is experimental, but
overall looks much more maintainable in the
future. Thinking...
2022-02-26 12:16:20 +03:00
Timur Ismagilov
72e0f445fd Rename attachment to media 2022-02-26 10:33:09 +03:00
Umar Getagazov
3f7de07da9
Replace go-localize with go embed-based system
This has several advantages over using an external CLI tool to generate
the files, such as having fewer dependencies, less generated files bloat
and more flexibility over the localization code. "Sadly", this solution
doesn't check for validity of JSON files at compile-time (the only
advantage of using an external tool such as go-localize). However, I
easily fixed this huge "issue" by making the program crash at startup if
any locale files are invalid.

Also, no more "go-localize removed from go.mod" "go-localize added to
go.mod" "go-localize removed from go.mod" spam. A utility for making
sure all translation stay in sync soon! (not sure where to put it)
2022-01-08 22:44:37 +07:00