1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 13:30:26 +00:00
mycorrhiza/l18n/en/edit.json
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

39 lines
903 B
JSON

{
"title": "Edit %s",
"new_hypha": "You are creating a new hypha.",
"tag": "Describe your changes:",
"save": "Save",
"preview": "Preview",
"preview_title": "Preview of %s",
"preview_tip": "Note that the hypha hasn't been saved yet. Here's the preview:",
"markup": "Markup",
"actions": "Actions",
"link": "Link",
"link_title": "Title",
"heading": "Heading",
"bold": "Bold",
"italic": "Italic",
"highlight": "Highlight",
"underline": "Underline",
"mono": "Monospace",
"super": "Supertext",
"sub": "Subtext",
"strike": "Strikethrough",
"rocket": "Rocketlink",
"transclude": "Transclusion",
"hr": "Horizontal bar",
"code": "Code block",
"bullets": "Bullet list",
"numbers": "Number list",
"help": "{{.link}} about mycomarkup",
"help_link": "Learn more",
"selflink": "Link yourself",
"date": "Insert current date",
"time": "Insert current time"
}