1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 21:39:57 +00:00
TiddlyWiki5/languages/zh-Hans/Misc.multids
Jeremy Ruston d455072f13
Add support for JSON-formatted tiddler store, and make it the default (#5708)
* Add support for JSON-formatted tiddler store, and make it the default

The change to `getTiddlersAsJson()` is to allow experimentation

* Move JSON tiddlers into their own store area, and fix support for encrypted tiddlers

Also add a dummy old-style store area for backwards compatibility

The current arrangement is that JSON tiddlers will always override old-style tiddlers.

* Use the deserialiser mechanism to decode the content

* Refactor $:/core/modules/deserializers.js before we start extending it

Cleaning up the helper function names and ordering

* Drop support for the "systemArea" div

It was only used in really old v5.0.x

* Update deserializer to support JSON store format and add some tests

* Life UI restrictions on characters in fieldnames

* Add another test case

* Correct mis-merge

* Remove toLowerCase() methods applied to fieldnames

* Insert line breaks in output of getTiddlersAsJson (#5786)

Rather than have the entire store on one line, insert a line break
after each tiddler.

* Refactor #5786 for backwards compatibility

* Only read .tiddlywiki-tiddler-store blocks from script tags

Prompted by @simonbaird's comment here: https://github.com/Jermolene/TiddlyWiki5/pull/5708#discussion_r648833367

* Clean up escaping of unsafe script characters

It seems that escaping `<` is sufficient

* Add docs from @saqimtiaz

Thanks @saqimtiaz

* Docs tweaks

* Remove excess whitespace

Thanks @simonbaird

* Fix templates for lazy loading

* Remove obsolete item from release note

* Clean up whitespace

* Docs for the jsontiddler widget

* Fix whitespace

Fixes #5840

* Comments

* Fix newlines in JSON store area

* Remove obsolete docs change

Co-authored-by: Simon Baird <simon.baird@gmail.com>
2021-07-14 09:15:30 +01:00

96 lines
5.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

title: $:/language/
AboveStory/ClassicPlugin/Warning: 您貌似要加载为 ~TiddlyWiki 经典版设计的插件。请注意,[[这些插件无法运行于 TiddlyWiki 5.x.x 版|https://tiddlywiki.com/#TiddlyWikiClassic]]。检测到 ~TiddlyWiki 经典版插件:
BinaryWarning/Prompt: 此条目包含二进制数据
ClassicWarning/Hint: 此条目以经典版 TiddlyWiki 标记格式撰写,不完全兼容新版 TiddlyWiki 的格式详细信息请参阅https://tiddlywiki.com/static/Upgrading。
ClassicWarning/Upgrade/Caption: 升级
CloseAll/Button: 全部关闭
ColourPicker/Recent: 最近︰
ConfirmCancelTiddler: 您确定要放弃对条目 "<$text text=<<title>>/>" 的更改?
ConfirmDeleteTiddler: 您确定要删除条目 "<$text text=<<title>>/>"
ConfirmOverwriteTiddler: 您确定要复写条目 "<$text text=<<title>>/>"
ConfirmEditShadowTiddler: 您即将要编辑默认条目,任何更改将会复盖默认的系统,使未来的升级不寻常。您确定要编辑 "<$text text=<<title>>/>"?
ConfirmAction: 是否要继续?
Count: 计数
DefaultNewTiddlerTitle: 新条目
Diffs/CountMessage: <<diff-count>> 个差异
DropMessage: 拖放到此处 (或按 ESC 键取消)
Encryption/Cancel: 取消
Encryption/ConfirmClearPassword: 您要清除密码吗?当保存此维基时,这将删除已套用的加密
Encryption/Username: 用户名称
Encryption/Password: 密码
Encryption/PromptSetPassword: 为此 TiddlyWiki 设置一个新密码
Encryption/RepeatPassword: 重复输入密码
Encryption/PasswordNoMatch: 密码不匹配
Encryption/SetPassword: 设定密码
Error/Caption: 错误
Error/Filter: 筛选器错误
Error/FilterRunPrefix: 筛选器错误:筛选器 run 的未知首码
Error/FilterSyntax: 筛选器运算式中的语法错误
Error/FormatFilterOperator: 筛选器错误:`format` 筛选器运算符的未知尾码
Error/IsFilterOperator: 筛选器错误︰'is' 筛选器运算符的未知操作数
Error/LoadingPluginLibrary: 加载插件程式库时,发生错误
Error/NetworkErrorAlert: `<h2>''网络错误''</h2>与服务器的连缐似乎已中断。这可能表示您的网络连缐有问题。请尝试恢复网路连缐才能继续。<br><br>''恢复连缐时,所有未保存的更改,将自动同步''。`
Error/PutEditConflict: 服务器上的文件已更改
Error/PutForbidden: 没有权限
Error/PutUnauthorized: 需要身分验证
Error/RecursiveTransclusion: 于 transclude 小部件中的递回嵌入错误
Error/RetrievingSkinny: 简要条目清单撷取错误
Error/SavingToTWEdit: 保存到 TWEdit 时,发生错误
Error/WhileSaving: 保存时,发生错误
Error/XMLHttpRequest: XMLHttpRequest 错误代码
InternalJavaScriptError/Title: 内部的 JavaScript 错误
InternalJavaScriptError/Hint: 喔,真是令人尴尬。建议刷新您的浏览器,重新启动 TiddlyWiki
LayoutSwitcher/Description: 打开布局切换器
LazyLoadingWarning: <p>正在从 ''<$text text={{!!_canonical_uri}}/>'' 加载外部内容 ...</p><p>如果此信息未消失,可能是条目内容类型与外部内容的类型不匹配,或是您可能正在使用的浏览器,不支援单文件式维基的外部内容。请参阅 https://tiddlywiki.com/#ExternalText</p>
LoginToTiddlySpace: 登录 TiddlySpace
Manager/Controls/FilterByTag/None: (无)
Manager/Controls/FilterByTag/Prompt: 依标签筛选︰
Manager/Controls/Order/Prompt: 反向顺序
Manager/Controls/Search/Placeholder: 搜寻
Manager/Controls/Search/Prompt: 搜寻︰
Manager/Controls/Show/Option/Tags: 标签
Manager/Controls/Show/Option/Tiddlers: 条目
Manager/Controls/Show/Prompt: 显示︰
Manager/Controls/Sort/Prompt: 排序︰
Manager/Item/Colour: 颜色
Manager/Item/Fields: 字段
Manager/Item/Icon/None: (无)
Manager/Item/Icon: 图标
Manager/Item/RawText: 原始文字
Manager/Item/Tags: 标签
Manager/Item/Tools: 工具
Manager/Item/WikifiedText: Wikified 文字
MissingTiddler/Hint: 佚失条目 "<$text text=<<currentTiddler>>/>" - 点击 {{||$:/core/ui/Buttons/edit}} 可创建此条目
No: 否
OfficialPluginLibrary: ~TiddlyWiki 官方插件程式库
OfficialPluginLibrary/Hint: 此为在 tiddlywiki.com 的 ~TiddlyWiki 官方插件程式库。由核心团队维护的插件、主题和语言包。
PageTemplate/Description: 默认的 ~Tiddlywiki 布局
PageTemplate/Name: 默认的 ~PageTemplate
PluginReloadWarning: 请保存 {{$:/core/ui/Buttons/save-wiki}} 并刷新页面 {{$:/core/ui/Buttons/refresh}} ,使 ~JavaScript 插件的更改生效
RecentChanges/DateFormat: YYYY年0MM月0DD日
Shortcuts/Input/Accept/Hint: 接受选取的项目
Shortcuts/Input/AcceptVariant/Hint: 接受选取项目 (变种)
Shortcuts/Input/AdvancedSearch/Hint: 从侧边栏搜寻字段内打开[[进阶搜寻|$:/AdvancedSearch]]面板
Shortcuts/Input/Cancel/Hint: 清除输入字段
Shortcuts/Input/Down/Hint: 选择下一个项目
Shortcuts/Input/Tab-Left/Hint: 选择上一个页签
Shortcuts/Input/Tab-Right/Hint: 选择下一个页签
Shortcuts/Input/Up/Hint: 选择前一个项目
Shortcuts/SidebarLayout/Hint: 更改侧边栏布局
Switcher/Subtitle/theme: 切换布景主题
Switcher/Subtitle/layout: 切换布局
Switcher/Subtitle/language: 切换语言
Switcher/Subtitle/palette: 切换调色板
SystemTiddler/Tooltip: 此为系统条目
SystemTiddlers/Include/Prompt: 包括系统条目
TagManager/Colour/Heading: 颜色
TagManager/Count/Heading: 计数
TagManager/Icon/Heading: 图标
TagManager/Icons/None: 无
TagManager/Info/Heading: 信息
TagManager/Tag/Heading: 标签
Tiddler/DateFormat: YYYY年0MM月0DD日 0hh:0mm
UnsavedChangesWarning: 在此 TiddlyWiki 您有尚未保存的变更
Yes: 是