[HOTFIX] [MERGE NOW!] Fix bugs for #926 (#928)

* Attempt to rework Zictionary scene

* Rearrange the layout and handling most of thing

* Remove ALPHA key, done keyboard handling, changed some key's behavior

* Add Help text

* Update Help text & fix some bugs

* Update help text

* Edit help text

* Support gamepad

* small changes in help text

* small changes

* Fix copy bug

* small change

* Add hint text to open Hint

* Fix a bug that item accidentally selected when scrolling

* Clean up a dumb function
(Forget to cleanup in previous commit)

* add backup solution, just in case

* fix another bug

* fix touch bug

* Refix the scroll bug when touch

* small code changes

* small change in English file

* Fix bugs, change text, adjust a icon

* Change English text

* Add Vietnamese translation

* Add Chinese, adjust English & Vietnamese

* Small change in secret Easter egg

* Fix spelling mistake
This commit is contained in:
C6H12O6 + NaCl + H2O
2023-08-01 23:38:30 +07:00
committed by GitHub
parent 9d3fb33d10
commit 5061cad389
4 changed files with 147 additions and 53 deletions

View File

@@ -379,6 +379,43 @@ return {
sha2 [Egor Skriptunoff]
]],
support="支持作者",
dict={ -- Message from Sea: credit to User670 for helping me out this part.
sizeChanged="已更改字号为$1",
sizeReset="字号已重置",
helpText=
[[
小Z词典操作说明
鼠标与触摸屏:
点击 [$13] 显示帮助。
拖动或使用鼠标滚轮以滚动文本。
点击左侧列表中的项目以选择词条,点击 [$16] 或 [$17] 快速滚动列表。
点击 [aA] 显示字号控制,然后点击 [a] 缩小字号,[A] 增大字号。要重置字号为默认大小,稍等片刻直到 [100%] 按钮显示,然后点击 [100%]。
点击 [$14] 复制词条文本。
点击 [$15] 打开词条中的链接(如有)。
点击右上角的返回按钮退出小Z词典。
键盘:
按 [F1] 显示帮助。
按 [$1] 或 [$2] 滚动文本。
按 [$3] 打开上一词条,按 [$4] 打开下一词条。使用 [Ctrl + $3] 或 [Ctrl + $4] 快速滚动列表。
按 [Ctrl + 减号键] 缩小字号,[Ctrl + 等号键] 增大字号,[Ctrl + 0] 恢复默认字号。
按 [Ctrl + C] 复制词条文本。
按 [$18] (上下文菜单键,应用程序键)打开词条中的链接(如有)。
按 [Esc] 退出小Z词典。
游戏手柄:
按 $10 显示帮助。
按 $5 或 $6 滚动文本。
按 $7 打开上一词条,按 $8 打开下一词条。按住 $11 并按 $7 或 $8 快速滚动列表。
按住 $11 并按 $6 缩小字号,或 $5 增大字号。
按 [BACK] 退出小Z词典。
]]
-- 1-4: Up, Down, Left, Right
-- 5-8: Up, Down, Left, Right but D-Pad
-- 9-12: X, Y, A, B
-- 13-18: Help, Copy, Open, Forward, Backward, MENU
},
WidgetText={
main={
offline="单机游戏",