1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
Timur Ismagilov
e1f4b7465e History: Translate /history/ 2022-05-18 20:32:53 +03:00
Timur Ismagilov
a0cd3bd621 Recent changes: Translate to Russian
Now it's свежие правки, like in MediaWiki
2022-05-18 20:11:12 +03:00
Timur Ismagilov
1a98beccb4 History: Isolate recent changes 2022-05-18 19:12:00 +03:00
Timur Ismagilov
fdba598c57 History: Isolate primitive diff 2022-05-18 12:26:33 +03:00
Timur Ismagilov
57efc3e848 Editor: Make the textarea bigger 2022-04-24 15:19:52 +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
Timur Ismagilov
4ab9a88437 Remove some unused stuff 2022-02-20 13:11:29 +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
bouncepaw
c69d4946ec Add log out link to current user's profile
For the first time, you can log out from Mycorrhiza!
2022-01-02 23:21:08 +05:00
Timur Ismagilov
0326816086 Backlinks: Improve /backlinks/
* There is a link to the hypha in question in the heading, similar to other pages related to a selected hypha.
* The locale keys (?) are reworded to get rid of the word ‘query’.
* The phrasing is more precise. Kinda verbose doe.
2021-12-31 01:16:09 +05:00
Timur Ismagilov
bc77619105 Help: Write the config file doc in English 2021-11-30 21:20:09 +03:00
Timur Ismagilov
94d33ce862 Translate the Feeds help article 2021-11-01 23:59:14 +05:00
Elias Bomberger
bd1b5c50a0 Add English help page for feeds.
(is it detailed enough?)
2021-10-26 23:28:56 -04:00
Mikhail Chekan
0354945502 Translate more error messages
Featuring own fork of go-localize! It's not in dependencies though.
2021-10-10 11:27:35 +07:00
Elias Bomberger
4eaec355ca Make /user-list return sorted results 2021-10-01 16:42:25 -04:00
Mikhail Chekan
85c936d94a Housekeeping with linter
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
Timur Ismagilov
7ecc7b526e Dump Mycomarkup 2021-10-01 12:35:30 +03:00
Timur Ismagilov
e9e4bb63b6 Migrate to Mycomarkup v2.1.1 2021-09-27 15:46:55 +03:00
Mikhail Chekan
968f5e2215 Fix missing l18n-ru line 2021-09-27 19:54:37 +08:00
Mikhail Chekan
bca1c23d36 Merge l18n with master updates 2021-09-27 17:24:02 +08:00
Mikhail Chekan
0780131c00 Initial l18n support 2021-09-27 16:45:23 +08:00