Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions App/Resources/Retired/abacus/skin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "name": "Abacus", "names": { "zh-Hans": "算盘" }, "strike": [0.5, 0.325], "voice": "bead", "glow": "#F0BA44" }
1 change: 1 addition & 0 deletions App/Resources/Retired/crt-terminal/skin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "name": "CRT Terminal", "names": { "zh-Hans": "CRT 终端" }, "strike": [0.52, 0.395], "voice": "crt" }
File renamed without changes
1 change: 1 addition & 0 deletions App/Resources/Retired/mug/skin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "name": "Mug", "names": { "zh-Hans": "马克杯" }, "strike": [0.56, 0.36], "voice": "ceramic", "glow": "#F6BE3D" }
1 change: 1 addition & 0 deletions App/Resources/Retired/piston/skin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "name": "Piston", "names": { "zh-Hans": "活塞" }, "strike": [0.52, 0.39], "voice": "piston" }
1 change: 1 addition & 0 deletions App/Resources/Retired/seal/skin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "name": "Seal", "names": { "zh-Hans": "印章" }, "strike": [0.55, 0.39], "voice": "stamp", "glow": "#F95240" }
1 change: 1 addition & 0 deletions App/Resources/Retired/space-key/skin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "name": "Space Key", "names": { "zh-Hans": "空格键" }, "strike": [0.52, 0.515], "voice": "key" }
1 change: 0 additions & 1 deletion App/Resources/Skins/abacus/skin.json

This file was deleted.

1 change: 0 additions & 1 deletion App/Resources/Skins/crt-terminal/skin.json

This file was deleted.

1 change: 0 additions & 1 deletion App/Resources/Skins/mug/skin.json

This file was deleted.

1 change: 0 additions & 1 deletion App/Resources/Skins/piston/skin.json

This file was deleted.

1 change: 0 additions & 1 deletion App/Resources/Skins/seal/skin.json

This file was deleted.

1 change: 0 additions & 1 deletion App/Resources/Skins/space-key/skin.json

This file was deleted.

40 changes: 16 additions & 24 deletions App/Resources/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@
/* Menu bar and right-click menu */
"Knock" = "敲一下";
"Auto-Knock" = "自动敲击";
"Pace" = "节奏";
"With the breath · every 6 s" = "随息 · 每 6 秒";
"Slow · every 2 s" = "慢 · 每 2 秒";
"Moderate · every 1 s" = "中 · 每 1 秒";
"Every %.1f s" = "每 %.1f 秒";
"Fast · every 0.5 s" = "快 · 每 0.5 秒";
"Knock as You Type" = "打字时跟着敲";
"Placement" = "位置";
"Above windows" = "浮在窗口上方";
"On the desktop" = "放在桌面上";
"Heard, not seen" = "只闻其声";
"Skin" = "皮肤";
"Add Skins…" = "添加皮肤…";
"Open Skins Folder" = "打开皮肤文件夹";
"Settings…" = "设置…";
"Quit Plinth" = "退出 Plinth";
"Plinth" = "Plinth";
Expand All @@ -31,8 +17,7 @@
"Sound" = "声音";
"The longer the quiet before a knock, the longer it rings." = "敲之前静得越久,余音越长。";
"While You Work" = "做事时";
"Each key you press, in any app, knocks once. Plinth never learns which key, and needs no permission." = "在任何 App 里每按一个键,就敲一下。Plinth 从不知道按的是哪个键,也不需要任何权限。";
"While another app listens to a microphone, as in a call, only a knock by hand sounds. Plinth never listens itself." = "别的 App 在用麦克风时(比如开会),只有亲手敲才会响。Plinth 自己从不收音。";
"Plinth never learns which key you press, never listens to a microphone itself, and needs no permission." = "Plinth 从不知道你按的是哪个键,自己从不收音,也不需要任何权限。";
"The Fish" = "木鱼";
"Volume" = "音量";
"Knock as you type" = "打字时跟着敲";
Expand All @@ -41,26 +26,33 @@
"Record Key" = "录制按键";
"Press a key…" = "请按一个键…";
"Clear" = "清除";
"Space" = "空格";
"A key, a foot pedal or a Stream Deck button can be the mallet: press it in any app and the fish is knocked by hand. An F-key can stand alone; any other key needs two modifiers, one of them ⌘ or ⌃, so ⌘C, ⌃C and the like keep working." = "一个键、一只脚踏板或一颗 Stream Deck 按键,都可以当作木槌:在任何 App 里按下它,就如亲手敲一下。F 键可以单独用;其他键要配两个修饰键,其中一个是 ⌘ 或 ⌃,这样 ⌘C、⌃C 这类快捷键照常可用。";
"After half an hour of typing with no three-minute rest, the fish falls quiet for three seconds, then knocks once with a held mallet. Typed knocks and auto-knock stay quiet for three breaths, about 15 seconds. Nothing is counted or kept." = "连着打字半小时,中间没歇过三分钟,木鱼先静三秒,再独敲一下,压槌稍驻。打字敲击和自动敲击再静三息,约 15 秒。不计数,也不记录。";
/* The space bar, as a mallet key. Not "Space", which is the room the knock rings in. */
"Space (key)" = "空格";
"An F-key can stand alone. Any other key needs two modifiers, one of them ⌘ or ⌃." = "F 键可以单独用。其他键要配两个修饰键,其中一个是 ⌘ 或 ⌃。";
"Knock on its own" = "让它自己敲";
"Every" = "每隔";
"%.1f s" = "%.1f 秒";
"Pace" = "节奏";
"Stop after 108 knocks, one turn of a mala" = "敲满 108 下就停,正好念珠一圈";
"Size" = "大小";
"Placement" = "位置";
"Above windows" = "浮在窗口上方";
"On the desktop" = "放在桌面上";
"Heard, not seen" = "只闻其声";
"Small" = "小";
"Medium" = "中";
"Large" = "大";
"Launch at login" = "登录时打开";

/* Settings: Skins */
"Skins" = "皮肤";
/* The iPhone's palette button. */
"Skin" = "皮肤";
"Built In" = "内置";
"Your Skins" = "你的皮肤";
"No skins of your own yet." = "还没有你自己的皮肤。";
"Click a skin to wear it. One of your own can be a single image or a folder of frames; right-click it to export a .plinthskin to share." = "点一下就换上。自己的皮肤可以是一张图片,也可以是一组帧图的文件夹;右键点它,可以导出成 .plinthskin 分享给别人。";
"How to Make a Skin" = "怎样做皮肤";
"Add Skins…" = "添加皮肤…";
"Open Skins Folder" = "打开皮肤文件夹";
"Choose images, skin folders that contain idle.png, or .plinthskin files" = "选择图片、包含 idle.png 的皮肤文件夹,或 .plinthskin 文件";

/* Settings: Why a Fish */
Expand All @@ -69,9 +61,9 @@

/* Incense */
"Light Incense" = "点一炷香";
"Half a stick · 25 minutes" = "半炷香 · 25 分钟";
"One stick · 45 minutes" = "一炷香 · 45 分钟";
"Long incense · 60 minutes" = "长香 · 60 分钟";
"Half a stick" = "半炷香";
"One stick" = "一炷香";
"Long incense" = "长香";
"Put Out the Incense" = "熄香";
"Incense" = "香";

Expand Down
6 changes: 0 additions & 6 deletions App/Resources/zh-Hans.lproj/Skins.strings
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@
"pixel-fish" = "像素鱼";
"red-lacquer" = "朱漆";
"singing-bowl" = "铜磬";
"space-key" = "空格键";
"bamboo-block" = "竹节";
"moss-stone" = "苔石";
"piston" = "活塞";
"crt-terminal" = "CRT 终端";
"abacus" = "算盘";
"cloud-gong" = "云板";
"porcelain-fish" = "青花瓷鱼";
"bianzhong" = "编钟";
"seal" = "印章";
"stone-chime" = "石磬";
"fish-board" = "鱼板";
"mug" = "马克杯";
"temple-fish" = "古木鱼";
2 changes: 1 addition & 1 deletion CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- **Code** is released under the [MIT License](LICENSE).
- **Updates** use [Sparkle](https://sparkle-project.org), under the [MIT License](https://github.com/sparkle-project/Sparkle/blob/2.x/LICENSE), embedded in the app as `Sparkle.framework`.
- **Sprite artwork** (`App/Resources/Skins`, `mallet.png`, `impact.png`, `censer.png`) was AI-generated for this project, with the edits and effects below. It is dedicated to the public domain under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).
- **Sprite artwork** (`App/Resources/Skins`, `App/Resources/Retired`, `mallet.png`, `impact.png`, `censer.png`) was AI-generated for this project, with the edits and effects below. It is dedicated to the public domain under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).
- **Sprite effects and derived frames** are also CC0. The singing bowl's ripple is drawn with [`tools/draw_ripple.py`](tools/draw_ripple.py); the space key, bamboo block, moss stone, piston, CRT, abacus, cloud gong, bianzhong, stone chime, and temple fish pulses are drawn with [`tools/draw_skin_impacts.py`](tools/draw_skin_impacts.py). The pressed key, compressed piston, flicked abacus bead, swung cloud gong and bianzhong, and rocked stone chime frames are derived from their idle artwork, keeping their bases still. The seal's mallet head is its generated rosewood head recoloured to boxwood. The CRT's prompt and waveform are drawn over the same screen artwork, leaving its casing unchanged. The disk image's background (`App/DMGBackground.png`), with its ensō and seal, is drawn with [`tools/draw_dmg_background.py`](tools/draw_dmg_background.py). The app icon (`App/AppIcon.png`, and the iPhone app's in `iOS/Plinth/Assets.xcassets`) is the ink fish's idle artwork on the same rice paper, drawn with [`tools/draw_app_icon.py`](tools/draw_app_icon.py).
- **Knock sounds** are synthesized by the app as each knock is made (`Sources/PlinthCore/KnockSynth.swift`), not recorded. That synthesis is part of the MIT code.
- **Zen quotes** in `Sources/PlinthCore/Zen.swift` are quoted in the original Chinese from texts in the public domain: the Diamond Sutra, the Vimalakirti Sutra, the Platform Sutra, the Chan records (《景德传灯录》, 《碧岩录》, 《无门关》, 《五灯会元》), the Imperial Edition of Baizhang's Pure Rules, and poems by Wang Wei and Li Ao. The disk image's 「放下着」 is Zhaozhou's, from the same Chan records. Each line was checked against its source, the Buddhist texts against the [CBETA](https://cbetaonline.dila.edu.tw/) canon.
Expand Down
Loading