Skip to content

Commit

Permalink
docs: basic i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Apr 23, 2024
1 parent e3a9e2e commit 4314797
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/intention-tower-knowledge-graph/language/en-GB/Readme.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: $:/plugins/linonetwo/intention-tower-knowledge-graph/language/en-GB/Readme

\procedure lingo-base() $:/plugins/linonetwo/intention-tower-knowledge-graph/language/

! <<lingo Name>>

<<lingo Description>>

This Health Status Recording App aims to provide a simple and convenient tool for users to document various health issues, medication usage, and the process of recovery, addressing the growing demand for personal health monitoring.

User data will be saved in the local-first way for privacy, the interface will be user-friendly, and potential future additions include data analysis features to further enhance users' understanding of their health conditions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
title: $:/plugins/linonetwo/intention-tower-knowledge-graph/language/en-GB/

Name: Health Buff Debuff Tracker
ShortName: Health Tracker
Description: Record health issues, medication usage, and process of recovery. Your personal health archive.
Configs/Description: These settings let you customise the behaviour of "Health Buff Debuff Tracker" plugin.
SetEnded: Set Ended
Medicine: Medicine
Medicine/Description: Medicines you are taking, related to one of your buff/debuff/condition. Can be associated by adding a wiki link in the body of the buff tiddler etc.
BodyCondition: Body Condition
BodyCondition/Description: Normal medical examination data such as "blood pressure" or "weight"
AddNewItem: Add New Item
Buff: Buff
Buff/Description: Good things that added to your body or health, like "Regular exercise", "Cyborg legs", "laser myopia surgery" or "encouraged by friends"
DeBuff: DeBuff
DeBuff/Description: Bad things like "flu", "hair loss", "broken leg", etc.
HealthRecordSummary: Health Record Summary
BackToDefaultLayout: Back To Default Layout
Navigation: Navigation
26 changes: 26 additions & 0 deletions src/intention-tower-knowledge-graph/language/en-GB/Usage.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
title: $:/plugins/linonetwo/intention-tower-knowledge-graph/language/en-GB/Usage
type: text/vnd.tiddlywiki

\procedure lingo-base() $:/plugins/linonetwo/intention-tower-knowledge-graph/language/

!! Basic Usage

# Provide a <<lingo ShortName>> layout, use `ctrl+shift+L` to switch to this view
## or open it using a layout launcher like <<lingo ShortName $:/plugins/linonetwo/simple-layout-launcher/language/>> on the sidebar
# When the layout opens, there are a few buttons at the top
## On the left is a series of add buttons that, when clicked, jump back to the default layout and add new tiddlers
## On the right are buttons that jump directly back to the default layout
# Once you've added a few tiddlers, a table of data is displayed at the bottom of the layout, listing the tiddlers you've added.
## Clicking on the title of a tiddler in the table will jump back to the default layout and open that entry

!! Tags

The following tags are used in this entry to indicate that the entry records a symptom or health condition, the add button actually creates the entry with these tags:

<$list filter="[[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/debuff]] [[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/buff]] [[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/medicine]] [[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/condition]]">

<$macrocall $name="tag" tag={{!!text}} /> {{!!caption}} - {{!!description}}

</$list>

You can make your own [ext[SuperTag|https://github.com/tiddly-gittly/super-tag/]] by adding [[$:/TraitTag/OPMI/Status]] tags to any tiddler.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: $:/plugins/linonetwo/intention-tower-knowledge-graph/language/zh-Hans/Readme

\procedure lingo-base() $:/plugins/linonetwo/intention-tower-knowledge-graph/language/

! <<lingo Name>>

<<lingo Description>>

用户数据将以本地优先的方式保存,以保护隐私,界面也将非常友好,未来还可能增加数据分析功能,以进一步提高用户对自身健康状况的了解。
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
title: $:/plugins/linonetwo/intention-tower-knowledge-graph/language/zh-Hans/

Name: 健康增益和减益追踪器
ShortName: 健康记录
Description: 记录各种健康问题、药物使用情况和恢复过程。你的个人健康存档。
Configs/Description: 通过这些设置,您可以自定义「健康增益和减益追踪器」插件的行为。
SetEnded: 设为结束
Medicine: 药物
Medicine/Description: 您正在服用的,与某个增益、减益、身体状态相关的药物。可以通过在增益条目等的正文添加链接的形式关联起来。
BodyCondition: 身体状态
BodyCondition/Description: 「血压」或「体重」等正常情况
AddNewItem: 添加新项目
Buff: 增益
Buff/Description: 对你的身体或健康有益的事情,如「经常锻炼」、「机械腿」、「激光近视手术」或「朋友的鼓励」。
DeBuff: 减益
DeBuff/Description: 诸如「感冒」、「脱发」、「断腿」等不好的事情。
HealthRecordSummary: 健康记录摘要
BackToDefaultLayout: 返回默认布局
Navigation: 导航
26 changes: 26 additions & 0 deletions src/intention-tower-knowledge-graph/language/zh-Hans/Usage.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
title: $:/plugins/linonetwo/intention-tower-knowledge-graph/language/zh-Hans/Usage
type: text/vnd.tiddlywiki

\procedure lingo-base() $:/plugins/linonetwo/intention-tower-knowledge-graph/language/

!!基本用法

# 提供<<lingo ShortName>>布局,使用 `ctrl+shift+L` 切换到该视图
## 或使用侧边栏上的<<lingo ShortName $:/plugins/linonetwo/simple-layout-launcher/language/>>等布局启动器打开它
# 打开布局后,顶部有一些按钮
## 左边是一系列添加按钮,点击后会跳转回默认布局,并添加新的条目
## 右边是直接跳转回默认布局的按钮
# 等你添加了一些条目后,布局底部会显示一个数据表格,列出你添加的条目
## 点击表格里的条目标题,会跳转回默认布局,并打开该条目

!! 标签

以下是本条目里用到的,用于表明条目记录了症状或健康情况的标签,添加按钮其实就是创建了带有这些标签的条目:

<$list filter="[[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/debuff]] [[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/buff]] [[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/medicine]] [[$:/plugins/linonetwo/intention-tower-knowledge-graph/tags/condition]]">

<$macrocall $name="tag" tag={{!!text}} /> {{!!caption}} - {{!!description}}

</$list>

你可以通过给任意条目添加 [[$:/TraitTag/OPMI/Status]] 标签来制作你自己的[ext[超级标签|https://github.com/tiddly-gittly/super-tag/]]。
2 changes: 1 addition & 1 deletion wiki/tiddlers/$__SiteSubtitle.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: $:/SiteSubtitle
type: text/vnd.tiddlywiki

Tiddlywiki Demo for intention tower & knowledge graph Plugin
<<lingo Description $:/plugins/linonetwo/intention-tower-knowledge-graph/language/>>
2 changes: 1 addition & 1 deletion wiki/tiddlers/$__SiteTitle.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: $:/SiteTitle
type: text/vnd.tiddlywiki

ITKG of Tiddlywiki
<<lingo Name $:/plugins/linonetwo/intention-tower-knowledge-graph/language/>>

0 comments on commit 4314797

Please sign in to comment.