From ab9572e80fd79713a6c5f10c457cf00d872557fd Mon Sep 17 00:00:00 2001 From: linonetwo Date: Tue, 6 Feb 2024 21:00:30 +0800 Subject: [PATCH] docs: more tiddlyweb l10n --- .../tiddlyweb/language/en-GB/Translations.multids | 7 ++++++- .../tiddlyweb/language/zh-Hans/Translations.multids | 9 ++++++++- .../tiddlywiki/tiddlyweb/syncer-actions-login-status.tid | 2 +- plugins/tiddlywiki/tiddlyweb/syncer-actions-login.tid | 2 +- plugins/tiddlywiki/tiddlyweb/syncer-actions-logout.tid | 2 +- .../tiddlyweb/syncer-actions-save-snapshot.tid | 2 +- 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/plugins/tiddlywiki/tiddlyweb/language/en-GB/Translations.multids b/plugins/tiddlywiki/tiddlyweb/language/en-GB/Translations.multids index ac6498f9a..5d56a137e 100644 --- a/plugins/tiddlywiki/tiddlyweb/language/en-GB/Translations.multids +++ b/plugins/tiddlywiki/tiddlyweb/language/en-GB/Translations.multids @@ -2,4 +2,9 @@ title: $:/plugins/tiddlywiki/tiddlyweb/language/en-GB/ ConfigOfficialPluginLibrary: The official plugin library is disabled when using the client-server configuration. Instead, plugins should be installed via the `tiddlywiki.info` file, as described [[here|https://tiddlywiki.com/#Installing%20a%20plugin%20from%20the%20plugin%20library]]. GettingStartedStep1: Step 1
Syncing -CopySyncerLogs: Copy syncer logs to clipboard \ No newline at end of file +CopySyncerLogs: Copy syncer logs to clipboard +LoginAs: You are logged in<$reveal state="$:/status/UserName" type="nomatch" text="" default=""> as <$text text={{$:/status/UserName}}/> +Readonly: <$reveal state="$:/status/IsReadOnly" type="match" text="yes" default="no"> (read-only) +Login: Login +Logout: Logout +SaveSnapshot: Save snapshot for offline use diff --git a/plugins/tiddlywiki/tiddlyweb/language/zh-Hans/Translations.multids b/plugins/tiddlywiki/tiddlyweb/language/zh-Hans/Translations.multids index f49324b82..0c2b489d4 100644 --- a/plugins/tiddlywiki/tiddlyweb/language/zh-Hans/Translations.multids +++ b/plugins/tiddlywiki/tiddlyweb/language/zh-Hans/Translations.multids @@ -1,3 +1,10 @@ title: $:/plugins/tiddlywiki/tiddlyweb/language/zh-Hans/ -ConfigOfficialPluginLibrary: 使用客户端-服务器配置时,官方插件库将被禁用。取而代之的是,应按照[[here|https://tiddlywiki.com/#Installing%20a%20plugin%20from%20the%20plugin%20library]]所述,通过 "tiddlywiki.info" 文件安装插件。 \ No newline at end of file +ConfigOfficialPluginLibrary: 使用客户端-服务器配置时,官方插件库将被禁用。取而代之的是,应按照[[here|https://tiddlywiki.com/#Installing%20a%20plugin%20from%20the%20plugin%20library]]所述,通过 "tiddlywiki.info" 文件安装插件。 +GettingStartedStep1: 第一步
同步 +CopySyncerLogs: 将同步器日志复制到剪贴板 +LoginAs: 您目前已登录<$reveal state="$:/status/UserName" type="nomatch" text="" default="">为<$text text={{$:/status/UserName}}/> +Readonly: <$reveal state="$:/status/IsReadOnly" type="match" text="yes" default="no">(只读) +Login: 登录 +Logout: 登出 +SaveSnapshot: 保存快照以供离线使用 diff --git a/plugins/tiddlywiki/tiddlyweb/syncer-actions-login-status.tid b/plugins/tiddlywiki/tiddlyweb/syncer-actions-login-status.tid index ad95d1ab7..e87c87516 100644 --- a/plugins/tiddlywiki/tiddlyweb/syncer-actions-login-status.tid +++ b/plugins/tiddlywiki/tiddlyweb/syncer-actions-login-status.tid @@ -5,7 +5,7 @@ tags: $:/tags/SyncerDropdown <$reveal state="$:/status/IsLoggedIn" type="match" text="yes">
-You are logged in<$reveal state="$:/status/UserName" type="nomatch" text="" default=""> as <$text text={{$:/status/UserName}}/><$reveal state="$:/status/IsReadOnly" type="match" text="yes" default="no"> (read-only) +<><>

diff --git a/plugins/tiddlywiki/tiddlyweb/syncer-actions-login.tid b/plugins/tiddlywiki/tiddlyweb/syncer-actions-login.tid index 27acdf5b6..f0648c70c 100644 --- a/plugins/tiddlywiki/tiddlyweb/syncer-actions-login.tid +++ b/plugins/tiddlywiki/tiddlyweb/syncer-actions-login.tid @@ -5,6 +5,6 @@ tags: $:/tags/SyncerDropdown <$reveal state="$:/status/IsLoggedIn" type="nomatch" text="yes"> <$button message="tm-login" class="tc-btn-invisible"> -{{$:/core/images/unlocked-padlock}} Login +{{$:/core/images/unlocked-padlock}} <> diff --git a/plugins/tiddlywiki/tiddlyweb/syncer-actions-logout.tid b/plugins/tiddlywiki/tiddlyweb/syncer-actions-logout.tid index 57b32eb2c..861007f2b 100644 --- a/plugins/tiddlywiki/tiddlyweb/syncer-actions-logout.tid +++ b/plugins/tiddlywiki/tiddlyweb/syncer-actions-logout.tid @@ -5,6 +5,6 @@ tags: $:/tags/SyncerDropdown <$reveal state="$:/status/IsLoggedIn" type="match" text="yes"> <$button message="tm-logout" class="tc-btn-invisible"> -{{$:/core/images/cancel-button}} Logout +{{$:/core/images/cancel-button}} <> diff --git a/plugins/tiddlywiki/tiddlyweb/syncer-actions-save-snapshot.tid b/plugins/tiddlywiki/tiddlyweb/syncer-actions-save-snapshot.tid index a6cf986e4..e0eea1994 100644 --- a/plugins/tiddlywiki/tiddlyweb/syncer-actions-save-snapshot.tid +++ b/plugins/tiddlywiki/tiddlyweb/syncer-actions-save-snapshot.tid @@ -7,5 +7,5 @@ tags: $:/tags/SyncerDropdown <$wikify name="site-title" text={{$:/config/SaveWikiButton/Filename}}> <$action-sendmessage $message="tm-download-file" $param={{$:/config/SaveWikiButton/Template}} filename=<>/> -{{$:/core/images/download-button}} Save snapshot for offline use +{{$:/core/images/download-button}} <>